Dear,
I want to assign 2 plugins and one macro to a small action bar consisting of 3 buttons, just for the ease of use for operators. I want this action bar start during the start up of Image J so that operators not need to look for it. I have already made some action bars with macro's so that's not the problem. I have read the pdf file from Jerome Mutterer, but I couldn't find any info how to include plugins although it is mentioned that plugins can be assigned. Can someone help me with this issue please ? Kindest regards, Martin. ::DISCLAIMER:: This e-mail is confidential and intended for use by the addressee only. If you are not the intended recipient, please notify us immediately and delete this e-mail, as well as any attachment. -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Dear Martin,
Using the macro recorder, record the command that starts your plugin of interest. What you get is what you can use in your button's code to start this plugin. For example, this run statement starts the Bio-Formats importer: run("Bio-Formats Importer", ""); Some plugins also provide methods that can be accessed from macros using the 'call' macro function explained here https://imagej.nih.gov/ij/macros/CallJavaDemo.txt Sincerely, Jerome. Le mer. 27 févr. 2019 à 07:33, Braekevelt Martin < [hidden email]> a écrit : > Dear, > > I want to assign 2 plugins and one macro to a small action bar consisting > of 3 buttons, just for the ease of use for operators. I want this action > bar start during the start up of Image J so that operators not need to look > for it. > I have already made some action bars with macro's so that's not the > problem. > I have read the pdf file from Jerome Mutterer, but I couldn't find any > info how to include plugins although it is mentioned that plugins can be > assigned. > Can someone help me with this issue please ? > > Kindest regards, > Martin. > > ::DISCLAIMER:: This e-mail is confidential and intended for use by the > addressee only. If you are not the intended recipient, please notify us > immediately and delete this e-mail, as well as any attachment. > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Dear Jerome,
Thanks a lot it is working perfectly. One more question if I may. How can I have the action bar opened when ImageJ is starting up ? Thanks in advance. Kindest regards, Martin. -----Original Message----- From: ImageJ Interest Group <[hidden email]> On Behalf Of Jerome Mutterer Sent: Wednesday, February 27, 2019 8:31 AM To: [hidden email] Subject: Re: action bar Dear Martin, Using the macro recorder, record the command that starts your plugin of interest. What you get is what you can use in your button's code to start this plugin. For example, this run statement starts the Bio-Formats importer: run("Bio-Formats Importer", ""); Some plugins also provide methods that can be accessed from macros using the 'call' macro function explained here https://imagej.nih.gov/ij/macros/CallJavaDemo.txt Sincerely, Jerome. Le mer. 27 févr. 2019 à 07:33, Braekevelt Martin < [hidden email]> a écrit : > Dear, > > I want to assign 2 plugins and one macro to a small action bar > consisting of 3 buttons, just for the ease of use for operators. I > want this action bar start during the start up of Image J so that > operators not need to look for it. > I have already made some action bars with macro's so that's not the > problem. > I have read the pdf file from Jerome Mutterer, but I couldn't find any > info how to include plugins although it is mentioned that plugins can > be assigned. > Can someone help me with this issue please ? > > Kindest regards, > Martin. > > ::DISCLAIMER:: This e-mail is confidential and intended for use by the > addressee only. If you are not the intended recipient, please notify > us immediately and delete this e-mail, as well as any attachment. > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Dear Martin,
> How can I have the action bar opened when ImageJ is starting up ? Does this link help: http://imagejdocu.tudor.lu/doku.php?id=plugin:utilities:action_bar:start#how_to_have_one_or_more_action_bars_showing_at_startup_time ? Cheers Jan On 28.02.2019 06:05, Braekevelt Martin wrote: > Dear Jerome, > > Thanks a lot it is working perfectly. One more question if I may. > How can I have the action bar opened when ImageJ is starting up ? > Thanks in advance. > > Kindest regards, > Martin. > > -----Original Message----- > From: ImageJ Interest Group <[hidden email]> On Behalf Of Jerome Mutterer > Sent: Wednesday, February 27, 2019 8:31 AM > To: [hidden email] > Subject: Re: action bar > > Dear Martin, > Using the macro recorder, record the command that starts your plugin of interest. What you get is what you can use in your button's code to start this plugin. > For example, this run statement starts the Bio-Formats importer: > run("Bio-Formats Importer", ""); > Some plugins also provide methods that can be accessed from macros using the 'call' macro function explained here https://imagej.nih.gov/ij/macros/CallJavaDemo.txt > Sincerely, > Jerome. > > Le mer. 27 févr. 2019 à 07:33, Braekevelt Martin < [hidden email]> a écrit : > >> Dear, >> >> I want to assign 2 plugins and one macro to a small action bar >> consisting of 3 buttons, just for the ease of use for operators. I >> want this action bar start during the start up of Image J so that >> operators not need to look for it. >> I have already made some action bars with macro's so that's not the >> problem. >> I have read the pdf file from Jerome Mutterer, but I couldn't find any >> info how to include plugins although it is mentioned that plugins can >> be assigned. >> Can someone help me with this issue please ? >> >> Kindest regards, >> Martin. >> >> ::DISCLAIMER:: This e-mail is confidential and intended for use by the >> addressee only. If you are not the intended recipient, please notify >> us immediately and delete this e-mail, as well as any attachment. >> >> -- >> ImageJ mailing list: http://imagej.nih.gov/ij/list.html >> > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Dear Jan,
I have tried, but no success, first of all i don't see the subfolder "Autorun" in the macro folder of ImageJ. So I don't know where and how to file the line from the link you have mentioned into the startupmacros text file. I have made a macro 'Action Bar' and copied the line inside that macro then added in the startupmacros text file : macro " Action Bar" {}, but the action bar isn't loaded. Thanks in advance for the help. Kindest regards, Martin. -----Original Message----- From: Jan Eglinger <[hidden email]> Sent: Thursday, February 28, 2019 9:02 AM To: [hidden email]; Braekevelt Martin <[hidden email]> Subject: Re: action bar Dear Martin, > How can I have the action bar opened when ImageJ is starting up ? Does this link help: http://imagejdocu.tudor.lu/doku.php?id=plugin:utilities:action_bar:start#how_to_have_one_or_more_action_bars_showing_at_startup_time ? Cheers Jan On 28.02.2019 06:05, Braekevelt Martin wrote: > Dear Jerome, > > Thanks a lot it is working perfectly. One more question if I may. > How can I have the action bar opened when ImageJ is starting up ? > Thanks in advance. > > Kindest regards, > Martin. > > -----Original Message----- > From: ImageJ Interest Group <[hidden email]> On Behalf Of Jerome > Mutterer > Sent: Wednesday, February 27, 2019 8:31 AM > To: [hidden email] > Subject: Re: action bar > > Dear Martin, > Using the macro recorder, record the command that starts your plugin of interest. What you get is what you can use in your button's code to start this plugin. > For example, this run statement starts the Bio-Formats importer: > run("Bio-Formats Importer", ""); > Some plugins also provide methods that can be accessed from macros > using the 'call' macro function explained here > https://imagej.nih.gov/ij/macros/CallJavaDemo.txt > Sincerely, > Jerome. > > Le mer. 27 févr. 2019 à 07:33, Braekevelt Martin < [hidden email]> a écrit : > >> Dear, >> >> I want to assign 2 plugins and one macro to a small action bar >> consisting of 3 buttons, just for the ease of use for operators. I >> want this action bar start during the start up of Image J so that >> operators not need to look for it. >> I have already made some action bars with macro's so that's not the >> problem. >> I have read the pdf file from Jerome Mutterer, but I couldn't find >> any info how to include plugins although it is mentioned that plugins >> can be assigned. >> Can someone help me with this issue please ? >> >> Kindest regards, >> Martin. >> >> ::DISCLAIMER:: This e-mail is confidential and intended for use by >> the addressee only. If you are not the intended recipient, please >> notify us immediately and delete this e-mail, as well as any attachment. >> >> -- >> ImageJ mailing list: http://imagej.nih.gov/ij/list.html >> > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Hi Martin,
You could do the following: go to *Edit>Options>Startup* here, enter the command that starts your ActionBar, eg: > run("Action Bar","/plugins/ActionBar/lambda_bar.txt"); If your ActionBar file has an underscore in it and is located in your plugins folder, you should also be able to start it using its own command, eg: > run("lambda bar"); Jerome. Le mer. 6 mars 2019 à 08:44, Braekevelt Martin < [hidden email]> a écrit : > Dear Jan, > > I have tried, but no success, first of all i don't see the subfolder > "Autorun" in the macro folder of ImageJ. So I don't know where and how to > file the line from the link you have mentioned into the startupmacros text > file. > I have made a macro 'Action Bar' and copied the line inside that macro > then added in the startupmacros text file : macro " Action Bar" {}, but > the action bar isn't loaded. > Thanks in advance for the help. > > Kindest regards, > Martin. > > -----Original Message----- > From: Jan Eglinger <[hidden email]> > Sent: Thursday, February 28, 2019 9:02 AM > To: [hidden email]; Braekevelt Martin <[hidden email]> > Subject: Re: action bar > > Dear Martin, > > > How can I have the action bar opened when ImageJ is starting up ? > > Does this link help: > > http://imagejdocu.tudor.lu/doku.php?id=plugin:utilities:action_bar:start#how_to_have_one_or_more_action_bars_showing_at_startup_time > ? > > Cheers > Jan > > > > On 28.02.2019 06:05, Braekevelt Martin wrote: > > Dear Jerome, > > > > Thanks a lot it is working perfectly. One more question if I may. > > How can I have the action bar opened when ImageJ is starting up ? > > Thanks in advance. > > > > Kindest regards, > > Martin. > > > > -----Original Message----- > > From: ImageJ Interest Group <[hidden email]> On Behalf Of Jerome > > Mutterer > > Sent: Wednesday, February 27, 2019 8:31 AM > > To: [hidden email] > > Subject: Re: action bar > > > > Dear Martin, > > Using the macro recorder, record the command that starts your plugin of > interest. What you get is what you can use in your button's code to start > this plugin. > > For example, this run statement starts the Bio-Formats importer: > > run("Bio-Formats Importer", ""); > > Some plugins also provide methods that can be accessed from macros > > using the 'call' macro function explained here > > https://imagej.nih.gov/ij/macros/CallJavaDemo.txt > > Sincerely, > > Jerome. > > > > Le mer. 27 févr. 2019 à 07:33, Braekevelt Martin < > [hidden email]> a écrit : > > > >> Dear, > >> > >> I want to assign 2 plugins and one macro to a small action bar > >> consisting of 3 buttons, just for the ease of use for operators. I > >> want this action bar start during the start up of Image J so that > >> operators not need to look for it. > >> I have already made some action bars with macro's so that's not the > >> problem. > >> I have read the pdf file from Jerome Mutterer, but I couldn't find > >> any info how to include plugins although it is mentioned that plugins > >> can be assigned. > >> Can someone help me with this issue please ? > >> > >> Kindest regards, > >> Martin. > >> > >> ::DISCLAIMER:: This e-mail is confidential and intended for use by > >> the addressee only. If you are not the intended recipient, please > >> notify us immediately and delete this e-mail, as well as any attachment. > >> > >> -- > >> ImageJ mailing list: http://imagej.nih.gov/ij/list.html > >> > > > > -- > > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > > > > -- > > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > > > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Hi Jerome,
Thanks it is working now. Kindest regards, Martin. -----Original Message----- From: ImageJ Interest Group <[hidden email]> On Behalf Of Jerome Mutterer Sent: Wednesday, March 6, 2019 8:51 AM To: [hidden email] Subject: Re: action bar Hi Martin, You could do the following: go to *Edit>Options>Startup* here, enter the command that starts your ActionBar, eg: > run("Action Bar","/plugins/ActionBar/lambda_bar.txt"); If your ActionBar file has an underscore in it and is located in your plugins folder, you should also be able to start it using its own command, eg: > run("lambda bar"); Jerome. Le mer. 6 mars 2019 à 08:44, Braekevelt Martin < [hidden email]> a écrit : > Dear Jan, > > I have tried, but no success, first of all i don't see the subfolder > "Autorun" in the macro folder of ImageJ. So I don't know where and how > to file the line from the link you have mentioned into the > startupmacros text file. > I have made a macro 'Action Bar' and copied the line inside that macro > then added in the startupmacros text file : macro " Action Bar" {}, > but the action bar isn't loaded. > Thanks in advance for the help. > > Kindest regards, > Martin. > > -----Original Message----- > From: Jan Eglinger <[hidden email]> > Sent: Thursday, February 28, 2019 9:02 AM > To: [hidden email]; Braekevelt Martin > <[hidden email]> > Subject: Re: action bar > > Dear Martin, > > > How can I have the action bar opened when ImageJ is starting up ? > > Does this link help: > > http://imagejdocu.tudor.lu/doku.php?id=plugin:utilities:action_bar:sta > rt#how_to_have_one_or_more_action_bars_showing_at_startup_time > ? > > Cheers > Jan > > > > On 28.02.2019 06:05, Braekevelt Martin wrote: > > Dear Jerome, > > > > Thanks a lot it is working perfectly. One more question if I may. > > How can I have the action bar opened when ImageJ is starting up ? > > Thanks in advance. > > > > Kindest regards, > > Martin. > > > > -----Original Message----- > > From: ImageJ Interest Group <[hidden email]> On Behalf Of > > Jerome Mutterer > > Sent: Wednesday, February 27, 2019 8:31 AM > > To: [hidden email] > > Subject: Re: action bar > > > > Dear Martin, > > Using the macro recorder, record the command that starts your plugin > > of > interest. What you get is what you can use in your button's code to > start this plugin. > > For example, this run statement starts the Bio-Formats importer: > > run("Bio-Formats Importer", ""); > > Some plugins also provide methods that can be accessed from macros > > using the 'call' macro function explained here > > https://imagej.nih.gov/ij/macros/CallJavaDemo.txt > > Sincerely, > > Jerome. > > > > Le mer. 27 févr. 2019 à 07:33, Braekevelt Martin < > [hidden email]> a écrit : > > > >> Dear, > >> > >> I want to assign 2 plugins and one macro to a small action bar > >> consisting of 3 buttons, just for the ease of use for operators. I > >> want this action bar start during the start up of Image J so that > >> operators not need to look for it. > >> I have already made some action bars with macro's so that's not the > >> problem. > >> I have read the pdf file from Jerome Mutterer, but I couldn't find > >> any info how to include plugins although it is mentioned that > >> plugins can be assigned. > >> Can someone help me with this issue please ? > >> > >> Kindest regards, > >> Martin. > >> > >> ::DISCLAIMER:: This e-mail is confidential and intended for use by > >> the addressee only. If you are not the intended recipient, please > >> notify us immediately and delete this e-mail, as well as any attachment. > >> > >> -- > >> ImageJ mailing list: http://imagej.nih.gov/ij/list.html > >> > > > > -- > > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > > > > -- > > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > > > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Free forum by Nabble | Edit this page |