Best way to launch other applications
kray at sonsothunder.com
Wed Dec 12 17:54:00 EST 2001
You can use either "open process" or "shell()". Shell is useful when you
want Rev to stop in mid-stream and wait until the program is finished. For
set the hideConsoleWindows to true
answer "Thank you!"
This will launch the application associated with .pdf files (Acrobat Reader
or Acrobat) and then wait until that application is closed, effectively
"pausing" the Rev app. Once the app is closed, it goes on to the next line
and answers "Thank you!".
"Open process" comes back after it has executed and moves on (it doesn't
Hope this helps,
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/
----- Original Message -----
From: "Houdek, Ritch (MED)" <Ritch.Houdek at med.ge.com>
To: <use-revolution at lists.runrev.com>
Sent: Wednesday, December 12, 2001 4:24 PM
Subject: Best way to launch other applications
> What is the best way to launch other applications on a Windows platform?
> I have used "launch filename with appname" with limited success.
> The problems with it are:
> - Only 1 document can be opened at a time per application. In order to
> a 2nd document, you must quit the entire application and relaunch it.
> - I can't launch Excel files this way after building a distribution.
> They launch
> within the Revolution IDE but not after a distribution is built.
> Thanks in advance,
> Ritch Houdek
> use-revolution mailing list
> use-revolution at lists.runrev.com
More information about the Use-livecode