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

Home » Public Forums » archive » Re: running IDL without the DE
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: running IDL without the DE [message #35175 is a reply to message #35174] Fri, 16 May 2003 12:23 Go to previous message
Craig Hamilton is currently offline  Craig Hamilton
Messages: 28
Registered: December 1996
Junior Member
Here's how I do it: (maybe there is a simpler way...)

Let's call your IDL program hello.pro, which has
a main routine named hello.

Create a 'launcher' pro file, named hellox.pro, which
contains:
.rnew c:\yourpath\hello.pro
hello
exit

Now, create a batch file, named hellox.bat which contains:
start /min c:\rsi\idl56\bin\bin.x86\idlde @c:\yourpath\hellox.pro

(adjust yourpath accordingly)

When you double click the batch file, it will launch your
program, with idlde minimized, so you don't notice it.

Hope this helps.

Craig Hamilton

"Eric Inazaki" <einazaki@mac.com> wrote in message
news:f5eacvo8vs4g92mki4glamr6dj795l9feq@4ax.com...
> I wanted to build a "hello world" script that I could
> launch w/o having to explicitly startup IDLDE (either
> double-clicking in Win2K's explorer or through
> CommandPrompt). It didn't work and I'd like to find
> out what I shoud be doing. The script itself looks like:
>
> pro hello_world
> print, 'Hello World'
> end
>
> I then followed the steps listed in the "Saving Compiled
> IDL Programs" section of the "Building IDL Applications"
> manual (this is for version 5.6). In particular, from the
> Run menu, I selected Compile All then Resolve Dependancies.
> Then I typed: "save, /routines, filename='hello_world.sav'.
>
> When I double-clicked on hello_world.sav it appeared that
> some program ran briefly but there was no output. The same
> thing happened when I tried to launch the program from the
> CommandPrompt.
>
> More generally, I'm trying to build "standalone" IDL apps
> which use stdin/stdout (a terminal window) as the user
> interface. (The machines on which these apps run will have
> either the IDL runtime or a full-up copy of IDL). Are there
> any examples of this sort of thing on the web or in third
> party books or even in the IDL supplied docs? (The IDL
> docs seem to IDLDE centric and there don't seem to be a
> lot of examples. Not a lot of good ones, anyway).
>
> TIA,
> eric
>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: read pixels
Next Topic: Re: bug(s) in IDL5.6?

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

Current Time: Wed Oct 08 17:42:29 PDT 2025

Total time taken to generate the page: 0.00447 seconds