Problems with 'Launch <doc> with <app>'
JonathanC at ag.nsw.gov.au
JonathanC at ag.nsw.gov.au
Thu Apr 8 01:26:32 EDT 2004
Paste this into the (multi-line) message box and press enter:
answer file "Choose app" of type "APPL"
if it="" then exit to top
launch it
The chosen app should launch.
(However, if it was running already, the result will be: "process is
already open" - see below*.)
Quit the app.
Now paste this into the message box and press enter:
answer file "Choose app" of type "APPL"
if it="" then exit to top
put it into ap
answer file "Choose doc" of type "TEXT"
if it="" then exit to top
launch it with ap
According to the Transcript Dictionary, the app should launch and chosen
doc should open in it.
However, the result for me is "no such program".
I'm using Rev 2.1.2 on Mac OS X 10.2.8 (PowerBook G4 500MHz).
* In HyperCard the equivalent "open [<doc> with] <app>" command would
bring app to the front even if it was already running, which was VERY
useful. Is there a way to do this in Rev?
Regards,
Jonathan Cooper
Manager of Information / Website
Art Gallery of New South Wales
Sydney, Australia
http://www.artgallery.nsw.gov.au
More information about the use-livecode
mailing list