Launch Command

Ken Ray kray at sonsothunder.com
Sun Mar 16 23:17:00 EST 2003


Hang on, hang on... if you're running under OS X, applications are
really bundles, which are seen as "folders" to Rev; in fact, if you do a
simple:

  answer file "Pick TextEdit";put it

you get:

  /Applications/TextEdit.app/

pass that to the launch command:

  launch "/Applications/TextEdit.app/"

and it launches TextEdit. (BTW, it launches without the trailing slash
as well.)

In any time when you have a question about problems with file paths,
always do the "answer file...; put it" command to see what Rev thinks
the filename should be.

Try that and let us know if it works or not.

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

> -----Original Message-----
> From: use-revolution-admin at lists.runrev.com 
> [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of Roger Guay
> Sent: Sunday, March 16, 2003 7:27 PM
> To: use-revolution at lists.runrev.com
> Subject: Re: Launch Command
> 
> 
> Thanks  to all for your prompt reply, but nothing works!  I've tried:
> 
> 	Launch "/Hard Disk/Applications/TextEdit.app"
>     	Launch "/HD/Applications/TextEdit.app"
>      	Launch "/Macintosh HD/Applications/TextEdit.app"
>        	Launch "/Macintosh HD/Applications/GetIt/TextEdit.app"
>    	Launch "/HD/Applications/GetIt/TextEdit.app"
>      	Launch "/Hard Disk/Applications/GetIt/TextEdit.app"
> 
> I have assured myself that I do have a copy of TextEdit in the 
> Aplications folder.  I then tried putting a copy of TextEdit on the 
> desktop and one in the RunRev application Folder and tried:
> 
>      	Launch "TextEdit.app"
> 
> Nothing works.  Bummer!!!  Any other suggestions?
> 
> Cheers, Roger
> 
> 
> _______________________________________________
> 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