http://imagej.273.s1.nabble.com/Command-to-see-whats-happening-in-my-macro-tp5000523p5000555.html
macro' and then step through the macro with ctrl-E (command-E on Macs). On
menu is gone.
> Hi Pariksheet,
> I have tried both of these, but it comes up with the error;
> 'Number or numeric function expected in line 10'
>
> Is there a certain place it should go? I tried both at the top (as below)
> with the other general bits, but I did also try it before and after the
> run(Find Maxima .....) command too.
>
> Do you have any suggestions?
> Many thanks,Rose
>
> // Ask user for source and destination directories
> dir = getDirectory("Roses Source Directory");
> dest1 = getDirectory("Roses Destination Directory");
> dest2 = getDirectory("Roses Destination2 Directory");
>
> list = getFileList(dir);
> setBatchMode(true);
> IJ.log()
>
> for (i=0; i<list.length; i++) {
> name = list[i];
> path = dir + name;
>
> // Open image
> open(path);
> // Macro
> run("Find Maxima...", "noise=55 output=[Maxima Within Tolerance]");
> run("Close-");
> //run("Threshold...");
> setThreshold(255, 255);
> run("Convert to Mask");
> run("Analyze Particles...", "size=3000-Infinity pixel
> circularity=0.00-1.00 show=Outlines display exclude");
> //
> saveAs("Tiff", dest1+name);
> close();
> close();
>
> Rosemary Wilson
> Department of Biology,
> University of York,
> Heslington,
> York,
> YO10 5YW
> Tel: +44 (0)1904 328569
> Email:
[hidden email]
>
> EMAIL DISCLAIMER
http://www.york.ac.uk/docs/disclaimer/email.htm>
>
>
>
> On 26 Oct 2012, at 12:45, Pariksheet Nanda [via ImageJ] wrote:
>
>> On Thu, Oct 25, 2012 at 11:29 AM, Rose Wilson <[hidden email]> wrote:
>> > When I made the macro initially I also used a command that showed on
>> the
>> > screen the progress of the macro, ie the individual steps but I have
>> now
>> > forgotten what it was!
>> >
>>
>> Perhaps you were using IJ.log() or showProgress()
>>
>>
>> > Rose
>>
>> Pariksheet
>>
>> --
>> ImageJ mailing list:
http://imagej.nih.gov/ij/list.html>>
>>
>> If you reply to this email, your message will be added to the discussion
>> below:
>>
http://imagej.1557.n6.nabble.com/Command-to-see-whats-happening-in-my-macro-tp5000523p5000543.html>> To unsubscribe from Command to see whats happening in my macro?, click
>> here.
>> NAML
>
>
>
>
>
> --
> View this message in context:
>
http://imagej.1557.n6.nabble.com/Command-to-see-whats-happening-in-my-macro-tp5000523p5000545.html> Sent from the ImageJ mailing list archive at Nabble.com.
>
> --
> ImageJ mailing list:
http://imagej.nih.gov/ij/list.html>