Best way to launch other applications

Ken Ray kray at sonsothunder.com
Thu Dec 13 12:14:02 EST 2001


Did you pass the parameters that Quake 3 needs? I'm assuming you're
launching it via a shortcut on the Start menu. If you get properties on the
shortcut, you can see the parameters that are being passed. You'll need to
make sure those same parameters are passed when you use "open process" or
"shell".

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: 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 9:30 PM
Subject: Re: Best way to launch other applications


> Well,
>     For instance, Quake 3: Arena. When I use any sort of opening of
program,
> it won't load all of the required DLL's. Try it at your house. Almost any
> game will give you a error message, With some few exceptions...
>
>
>  - Josh Dye
>
>
>
> ----- Original Message -----
> From: "Ken Ray" <kray at sonsothunder.com>
> To: <use-revolution at lists.runrev.com>
> Sent: Wednesday, December 12, 2001 5:48 PM
> Subject: Re: Best way to launch other applications
>
>
> > 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
> > >
> >
> > _______________________________________________
> > 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