comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: recording macros
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: recording macros [message #35479 is a reply to message #35475] Thu, 19 June 2003 12:07 Go to previous message
Liam E. Gumley is currently offline  Liam E. Gumley
Messages: 378
Registered: January 2000
Senior Member
"Ben Tupper" <bentupper@bigelow.org> wrote in message
news:3EF20160.6030007@bigelow.org...
> Hi,
>
> We have an image processing/analysis package - it implements many of the
> methods described in the handy "Image Processing in IDL" book - plus
> other methods/tricks. The package can be run with or without a GUI and
> it is all object based. We have to process a stack of images (up to
> 7200 of 'em), but we only have to set up the image processing steps once
> for each stack.
>
> How might I record the steps the user takes in a macro-like way? I want
> to be able to save the macro to a file for use in later sessions. Has
> this approach been tried in IDL? Any tips or heads-up appreciated.

If it's run from the command line, could you use journalling, i.e.,

IDL> journal, 'my_commands.pro' ; start journalling
IDL> (user enters commands)
IDL> journal ; stop journalling

To replay the session:

IDL> @my_commands.pro

Cheers,
Liam.
Practical IDL Programming
http://www.gumley.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: recording macros
Next Topic: Re: Function Maximum

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 17:24:27 PDT 2025

Total time taken to generate the page: 0.00418 seconds