get the origin from macro language

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

get the origin from macro language

Luis Isaac Ramos Garcia
    Dear Listers;

    I have to questions:
   
    First; Is there any way to get by macro language the origin and the
display range of a images, I mean the numbers under Image>Show info...?

    And second, It is possible to run and start an external program form
a macro?

    Many thanks,

--
Dr Luis Isaac Ramos Garcia
Departamento de Oncologia
Clinica Universidad de Navarra
Facultad de Medicina,Universidad de Navarra
Av. Pio XII nÂș36, 31008 Pamplona, Spain
Fax: +34 948255500
TEL: +34 948255400 (Ext. 4924)
E-mail: [hidden email]
Web Page: http://www.cun.es
Reply | Threaded
Open this post in threaded view
|

Re: get the origin from macro language

BenTupper
Hi,

On Jul 22, 2010, at 9:33 AM, Luis Isaac Ramos Garcia wrote:

>   Dear Listers;
>
>   I have to questions:
>     First; Is there any way to get by macro language the origin and  
> the display range of a images, I mean the numbers under Image>Show  
> info...?
>

Try the getImageInfo() macro function.


>   And second, It is possible to run and start an external program  
> form a macro?
>


Try the exec() macro function (see examples http://rsb.info.nih.gov/ij/macros/ExecExamples.txt)


Cheers,
Ben