Launch another application?
Klaus Major
k_major at osnabrueck.netsurf.de
Wed Mar 27 12:21:00 EST 2002
Dag Magnus,
> Hello
>
> I want to start Excel from a button in a standalone on Windows. (I know
> that this has been an issue before,) but I have tried every possible
> solution:
>
> on mouseUp
> launch "Acrobat Reader 5.0"
> end mouseUp
>
> on mouseUp
> open process "Acrobat Reader 5.0" for neither
> end mouseUp
>
> and the tip from Ken Ray:
>
>> on mouseUp
>> set the hideConsoleWindows to true
>> get shell("C:\myfile.pdf")
>> answer "Thank you!"
>> end mouseUp
>>
> But nothing seems to work. Every help will be very nice.
>
> /magnus
It should work, but you have to supply the full path to the app.
launch "C:/Program Files/Acrobat Reader 5.0.exe"
## Do not forget the suffix
Hope this helps...
Regards
Klaus Major
k_major at osnabrueck.netsurf.de
More information about the use-livecode
mailing list