I have a Macro that spits out several lines of data to a Log window. The Macro loops and Keeps spitting data for each image analyzed into the same log. I would like to put an Empty Row, or a Return between the data sets so they are easily differentiated. Can someone tell me easiest way to do this? Thanks, Steve |
Can you just insert print("") before or after each of the printed datasets?
On Thu, Dec 11, 2014 at 11:54 AM, Steve R <[hidden email]> wrote: > I have a Macro that spits out several lines of data to a Log window. The > Macro loops and Keeps spitting data for each image analyzed into the same > log. I would like to put an Empty Row, or a Return between the data sets so > they are easily differentiated. Can someone tell me easiest way to do this? > Thanks, Steve > > > > -- > View this message in context: > http://imagej.1557.x6.nabble.com/Space-Between-Data-in-Log-Window-tp5010905.html > Sent from the ImageJ mailing list archive at Nabble.com. > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Thanks, that worked, I actually thought I had tried that. One more question, is there a way to make the Log window be on top of the other windows when macro is done? Let me know, Thanks, Steve From: George Patterson-2 [via ImageJ] [mailto:ml-node+[hidden email]]
Can you just insert print("") before or after each of the printed datasets?
If you reply to this email, your message will be added to the discussion below: http://imagej.1557.x6.nabble.com/Space-Between-Data-in-Log-Window-tp5010905p5010907.html
To unsubscribe from Space Between Data in Log Window,
click here. |
Hi Steve,
If you want the Log window on top when the macro is done, have you tried the command selectWindow("Log"); ? That works for me. Best, Christine -------------------------------------------- Christine Labno, Ph.D. Asst. Technical Director Light Microscopy Core University of Chicago Office of Shared Research Facilities KCBD 1250 900 E. 57th St. (773) 834-9040 (phone) -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Christine, Yeah, I did, but for some reason, it doesn’t seem to work for me. One of the images the macro generates comes up on top of the Log window. Not sure why, maybe it’s because the macro isn’t really done when I want the Log window to show up on top. I have a Do-While Loop, that has a pause (using a waitForUser command), at that point I want the Log window to be on top. The operator then checks the data &
hits ok, the macro closes all windows & then loops to beginning. I tried placing the selectWindow("Log"); command near the bottom right before the waitForUser command, but at the pause one of the macro generated images ends
up on top. Let me know if you have any idea’s, or if you think I’m doing something wrong, Thanks, Steve From: Christine Labno-2 [via ImageJ] [mailto:ml-node+[hidden email]]
Hi Steve, If you reply to this email, your message will be added to the discussion below: http://imagej.1557.x6.nabble.com/Space-Between-Data-in-Log-Window-tp5010905p5010910.html
To unsubscribe from Space Between Data in Log Window,
click here. |
Free forum by Nabble | Edit this page |