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

Home » Public Forums » archive » Re: IDL app launched from an icon
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: IDL app launched from an icon [message #13011 is a reply to message #13005] Fri, 25 September 1998 00:00 Go to previous message
hellman is currently offline  hellman
Messages: 4
Registered: September 1998
Junior Member
This is easy on MacOS. Write an AppleScript that looks like:

tell application "IDL"
do script " ignoredResult = anyIDLProcedure() "
end tell

compile and save as an application. You are done.
If you want the user to supply arguments (like an input file) try this:

set inputFile to choose file
tell application "IDL"
do script " ignoredResult = anyIDLProcedure( path to inputFile ) "
end tell

If you are not using a Mac, God help you.

- Olof

>
> do you know of a way to allow a user to simply double click on an icon on
> the desktop, which compiles and runs an idl procedure automatically without
> any further effort by the user?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Tab between fields
Next Topic: Re: Contributed Source: CW_selectaxes (Corrected and working!)

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

Current Time: Sat Oct 11 07:10:59 PDT 2025

Total time taken to generate the page: 0.87756 seconds