Christophe,
You can use the Plot.getValues(x,y); macro function that retrieves the x and
y values from a profile plot window.
To handle multiple Results tables, use the IJ.renameResults(newName)
function that renames the currently selected result table. Still there is
only one active results table. So to send a new measurement to a given
table, you should rename it 'Results'.
Jerome
On Tue, Jan 11, 2011 at 6:25 PM, Christophe Leterrier <
[hidden email]> wrote:
> Hi,
>
> I'm currently writing a macro and working with intensity profiles. I'm
> trying to dump profiles into a text file using a column for each profile.
> I've tried different ways but I've failed so far because some functions are
> not usable in a macro, and are not recorded when using the macro recorder.
>
> - The List... and Save... buttons in a profile plot window are not recorded
> by a macro.
> - Trying to manually use the Results table to put profile, I dicovered that
> the FIle>Duplicate command in the Results Table is also not recorded. This
> is not strictly necessary for just dumping the profiles but that would be
> nice to be able to work with several successive Results Tables.
>
> Would it be possible to access these commands from a macro ?
>
> Thanks,
>
> Christophe Leterrier
>