Best way to launch other applications

Ken Ray kray at sonsothunder.com
Wed Dec 12 20:53:01 EST 2001


Josh,

Can you clarify what you mean about "opening Games that have to open Dll's"?
What game(s) are you thinking of and what DLLs?

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Website: http://www.sonsothunder.com/

----- Original Message -----
From: "Josh Dye" <Zzyzx at Relia.Net>
To: <use-revolution at lists.runrev.com>
Sent: Wednesday, December 12, 2001 6:03 PM
Subject: Re: Best way to launch other applications


> Sounds good. Is there a way to do that same exact thing with opening Games
> that have to open Dll's? Anything would be great Ken! :-)
>
>
>  - Josh Dye
>
>
>
> ----- Original Message -----
> From: "Ken Ray" <kray at sonsothunder.com>
> To: <use-revolution at lists.runrev.com>
> Sent: Wednesday, December 12, 2001 2:49 PM
> Subject: Re: Best way to launch other applications
>
>
> > Ritch,
> >
> > 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
> > example:
> >
> > on mouseUp
> >   set the hideConsoleWindows to true
> >   get shell("C:\myfile.pdf")
> >   answer "Thank you!"
> > end mouseUp
> >
> > 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
> > wait).
> >
> > Hope this helps,
> >
> > Ken Ray
> > 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
> > > open
> > > 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
> > > http://lists.runrev.com/mailman/listinfo/use-revolution
> > >
> >
> > _______________________________________________
> > use-revolution mailing list
> > use-revolution at lists.runrev.com
> > http://lists.runrev.com/mailman/listinfo/use-revolution
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>




More information about the use-livecode mailing list