Re: Macro shortcuts

Posted by heshamza on
URL: http://imagej.273.s1.nabble.com/Macro-shortcuts-tp3686534p3686536.html

thanks Michael!!

On Oct 29, 2010, at 12:05 PM, Michael Schmid wrote:

> Hi anonymous,
>
> did you have a look at the documentation?
>   http://rsb.info.nih.gov/ij/developer/macro/macros.html
>
> e.g. for shortcut 'a'
>     macro "Macro 1 [a]" {
>         print("The user pressed 'a'");
>     }
>
> Installing the macro is ok, you need that to get the shortcut working.
>
> If you want to have your macro available all the time (without  
> installing), add it to the StartupMacros.txt file in the ImageJ/
> macros directory.
>
> Michael
> ________________________________________________________________
>
> On 28 Oct 2010, at 22:13, heshamza wrote:
>
>> Im trying to create a shortcut out of a macro that I have created.
>>
>> I have installed the macro, and am able to run it from imagej, but  
>> whenever
>> I try to create a shortcut, my macro does not appear in the list of
>> available options...
>>
>> any ideas?