open file with application

Richmond Mathewson geradamas at yahoo.com
Sun Oct 14 16:41:35 EDT 2007


Well, I've just managed this under MacOS X:

on mouseUp
 open process
"/Applications/Calculator.app/Contents/MacOS/Calculator"
end mouseUp

because I'm a bit "thick" it took me a few minutes to
realise that because Macintosh X 'prgrams' are really
directories with things inside I had to type the above
rather than:

on mouseUp
 open process "/Applications/Calculator"
end mouseUp

Now how one opens a specific document with the program
one has opened . . . .

love, Richmond




____________________________________________________________

A Thorn in the flesh is better than a failed Systems Development Life Cycle.
____________________________________________________________


      ___________________________________________________________ 
Want ideas for reducing your carbon footprint? Visit Yahoo! For Good  http://uk.promotions.yahoo.com/forgood/environment.html



More information about the use-livecode mailing list