installing macro to the toolbars

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

installing macro to the toolbars

donny008
hello

i have written few macros to add them to the ImageJ toolbar but at a time i
can see only one symbol in the tool bar but i need all of the symbols to be
present on the tool bar symultaneosly. is there any way by which i could
possibly attain this ????

thnks


--
Donny George
Reply | Threaded
Open this post in threaded view
|

Re: installing macro to the toolbars

Michael Schmid
See

http://rsb.info.nih.gov/ij/developer/macro/macros.html#tools

Michael
________________________________________________________________

On 14 Apr 2009, at 13:39, Donny George wrote:

> hello
>
> i have written few macros to add them to the ImageJ toolbar but at  
> a time i
> can see only one symbol in the tool bar but i need all of the  
> symbols to be
> present on the tool bar symultaneosly. is there any way by which i  
> could
> possibly attain this ????
>
> thnks
>
>
> --
> Donny George
Reply | Threaded
Open this post in threaded view
|

Re: installing macro to the toolbars

donny008
thankyou michael

i already have referred to this link to create the macro tool, but i really
didnt understand the part of the macro named startupmacros.txt though i
copied the macro tools into this file. but it doesnt seem to work. would
there any particular way in this i should add the macro tool to this file
_????


On Tue, Apr 14, 2009 at 2:49 PM, Michael Schmid <[hidden email]>wrote:

> See
>
> http://rsb.info.nih.gov/ij/developer/macro/macros.html#tools
>
> Michael
> ________________________________________________________________
>
>
> On 14 Apr 2009, at 13:39, Donny George wrote:
>
>  hello
>>
>> i have written few macros to add them to the ImageJ toolbar but at a time
>> i
>> can see only one symbol in the tool bar but i need all of the symbols to
>> be
>> present on the tool bar symultaneosly. is there any way by which i could
>> possibly attain this ????
>>
>> thnks
>>
>>
>> --
>> Donny George
>>
>


--
Donny George
Reply | Threaded
Open this post in threaded view
|

Re: installing macro to the toolbars

Michael Schmid
Hi Donny,

there is a StartupMacros.txt file in your "ImageJ/macros" Folder.
It comes with ImageJ; in case you have lost or overwritten it, get it  
from
   http://rsb.info.nih.gov/ij/macros/StartupMacros.txt

There, you can replace the existing tools with yours.
The file also shows you the proper syntax; e.g. tools must have "  
Tool -" in their name.

By clicking on the red double arrow symbol of the ImageJ panel  
(rightmost tool slot) you can force ImageJ to read the  
StartupMacros.txt again; then you should see your tools.
(restarting ImageJ does the same).
In case of problems, make sure that the opening and closing curly  
brackets match.
You can have up to 8 private tools.

Michael
________________________________________________________________

On 14 Apr 2009, at 15:07, Donny George wrote:

> thankyou michael
>
> i already have referred to this link to create the macro tool, but  
> i really
> didnt understand the part of the macro named startupmacros.txt  
> though i
> copied the macro tools into this file. but it doesnt seem to work.  
> would
> there any particular way in this i should add the macro tool to  
> this file
> _????
>
>
> On Tue, Apr 14, 2009 at 2:49 PM, Michael Schmid  
> <[hidden email]>wrote:
>
>> See
>>
>> http://rsb.info.nih.gov/ij/developer/macro/macros.html#tools
>>
>> Michael
>> ________________________________________________________________
>>
>>
>> On 14 Apr 2009, at 13:39, Donny George wrote:
>>
>>  hello
>>>
>>> i have written few macros to add them to the ImageJ toolbar but  
>>> at a time
>>> i
>>> can see only one symbol in the tool bar but i need all of the  
>>> symbols to
>>> be
>>> present on the tool bar symultaneosly. is there any way by which  
>>> i could
>>> possibly attain this ????
>>>
>>> thnks
>>>
>>>
>>> --
>>> Donny George
>>>
>>
>
>
> --
> Donny George
Reply | Threaded
Open this post in threaded view
|

Re: installing macro to the toolbars

donny008
hi michael,

thanku again, finally i made it. i just had to switch the positions in the
startup file since i guess there were already many startup macro tools
present.

cheers
donny

On Tue, Apr 14, 2009 at 3:25 PM, Michael Schmid <[hidden email]>wrote:

> Hi Donny,
>
> there is a StartupMacros.txt file in your "ImageJ/macros" Folder.
> It comes with ImageJ; in case you have lost or overwritten it, get it from
>  http://rsb.info.nih.gov/ij/macros/StartupMacros.txt
>
> There, you can replace the existing tools with yours.
> The file also shows you the proper syntax; e.g. tools must have " Tool -"
> in their name.
>
> By clicking on the red double arrow symbol of the ImageJ panel (rightmost
> tool slot) you can force ImageJ to read the StartupMacros.txt again; then
> you should see your tools.
> (restarting ImageJ does the same).
> In case of problems, make sure that the opening and closing curly brackets
> match.
> You can have up to 8 private tools.
>
> Michael
> ________________________________________________________________
>
> On 14 Apr 2009, at 15:07, Donny George wrote:
>
>  thankyou michael
>>
>> i already have referred to this link to create the macro tool, but i
>> really
>> didnt understand the part of the macro named startupmacros.txt though i
>> copied the macro tools into this file. but it doesnt seem to work. would
>> there any particular way in this i should add the macro tool to this file
>> _????
>>
>>
>> On Tue, Apr 14, 2009 at 2:49 PM, Michael Schmid <[hidden email]
>> >wrote:
>>
>>  See
>>>
>>> http://rsb.info.nih.gov/ij/developer/macro/macros.html#tools
>>>
>>> Michael
>>> ________________________________________________________________
>>>
>>>
>>> On 14 Apr 2009, at 13:39, Donny George wrote:
>>>
>>>  hello
>>>
>>>>
>>>> i have written few macros to add them to the ImageJ toolbar but at a
>>>> time
>>>> i
>>>> can see only one symbol in the tool bar but i need all of the symbols to
>>>> be
>>>> present on the tool bar symultaneosly. is there any way by which i could
>>>> possibly attain this ????
>>>>
>>>> thnks
>>>>
>>>>
>>>> --
>>>> Donny George
>>>>
>>>>
>>>
>>
>> --
>> Donny George
>>
>


--
Donny George