Re: installing macro to the toolbars

Posted by Michael Schmid on
URL: http://imagej.273.s1.nabble.com/installing-macro-to-the-toolbars-tp3692962p3692965.html

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