Hello,
Back in 2014 I requested functions for determining the title of text windows which Wayne promptly added:
getInfo("window.name")
getInfo("window.title")
I noticed now that these two functions are not mentioned on the Macro Functions documentation page, so it should be updated.
The functions still work as expected.
Stein
>On Jul 1, 2014, at 12:51 PM, Michael Schmid wrote:
>> Hi Stein,
>>
>> currently, the ImageJ macro language has a command
>> getInfo("window.type")
>> which returns ("Image", "Text", "ResultsTable", "Editor", "Plot", "Histogram", etc.
>>
http://rsb.info.nih.gov/ij/developer/macro/functions.html#getInfo-label>>
>> As far as I know, there is no function like
>> getInfo("window.name")
>> which gives you the name of the current Text Window; we only have getTitle() for image windows.
>>
>> If Wayne reads this, maybe he will add such a function?
>The latest ImageJ daily build (1.49d6) adds a getInfo
--------------------------------------------------------------------------------
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html