Execute a program from Rev.

Paul Salyers ps1 at softseven.org
Sat Jan 15 19:12:11 EST 2005


At 05:31 PM 1/15/2005, you wrote:
>On 1/15/05 5:18 PM, "Paul Salyers" <ps1 at softseven.org> wrote:
>
> >
> >
> > on mouseUp
> >    shell("Program.exe")
> > end mouseUp
> >
> >
> > I have a pics of our Program.exe program & I want to execute it when I
> > click the image. This shell programs and programs to be run will be in the
> > same folder. I prefer not to have to use the full path, as some people
> > might want to move to a different folder. This version will be for Windows.
>
>Well, when ever you use a partial path, it assumes that it is relative to
>the defaultFolder, which when your main program starts is located at the
>folder that contains the standalone. So if you had an application called
>"MyProgram.exe" in the same folder as your standalone you could do any of
>the following (different methods of launching an app:
>
>   launch "MyProgram.exe"

Thanks I used launch and it worked.




Paul Salyers
PS1 - Senior Rep.
PS1 at softseven.org
Http://ps1.SoftSeven.org 



More information about the use-livecode mailing list