Login  Register

Re: macros

Posted by donny008 on Apr 09, 2009; 2:59pm
URL: http://imagej.273.s1.nabble.com/macros-tp3692993p3692997.html

hey there

i corrected, it was rather silly :=

thnku wayne


don


On Thu, Apr 9, 2009 at 4:52 PM, Donny George <[hidden email]> wrote:

> hey wayne
>
> thankyou very much, it was the waitForUser which i needed.
>
> but could you tell me how do i declare the strings. i used it this way
>
> string Proceed;
>     string Press OK;
>
>        waitForUser(Proceed, Press (OK));
>
> this is wrong as it returns error undefined variable string
>
> ???
>
> don
>
>
>
>
>
> On Thu, Apr 9, 2009 at 4:12 PM, Wayne Rasband <[hidden email]> wrote:
>
>> i am making up a macro using the record feature. i wanted to use "hit
>>> enter"
>>> in between each of the steps during execution. can someone help me with
>>> this. or a command or format for this requirement.
>>>
>>
>> You can use the macro debugger, available in ImageJ 1.42e and later. Press
>> ctrl-d *Debug>Debug Macro) to start executing the macro and ctrl-e
>> (Debug>Step) to execute the next statement.
>>   http://rsb.info.nih.gov/ij/developer/macro/macros.html#debugger
>>
>> You can also use the waitForUser() macro function to pause a macro.
>>   http://rsb.info.nih.gov/ij/developer/macro/functions.html#waitForUser
>>
>> -wayne
>>
>
>
>
> --
> Donny George
>



--
Donny George