How to launch an application (like "word" from a stack?
Klaus on-rev
klaus at major.on-rev.com
Thu Jun 17 07:20:41 EDT 2010
Bonjour, Andre.Bisseret:
> Bonjour,
>
> If I put the following handler in the script of a button:
>
> on mouseUp
> launch "/Applications/Microsoft Office 2008/Microsoft Word/"
> answer the result
> end mouseUp
>
> I get "no such program"
You supply a path to a FOLDER here, is that correct?
Shouldn't it be:
...
launch "/Applications/Microsoft Office 2008/Microsoft Word.app"
...
?
> I was quite sure that I had have this working well before (Actually, I just replace 2004 with 2008 in an old handler which used to work)
> I get the same result with rev 4.0 and rev 4.5 dp 3
> Did not find any insight in the archives.
> What am I missing?
> Thanks a lot in advance
>
> Best regards from Grenoble
>
> André
Best
Klaus
--
Klaus Major
http://www.major-k.de
klaus at major.on-rev.com
More information about the use-livecode
mailing list