Problems with 'Launch <doc> with <app>'

J. Landman Gay jacque at hyperactivesw.com
Tue Apr 13 13:18:03 EDT 2004


I'm posting the following for Jonathan while he works out problems 
accessing the list:

Date: Thu, 8 Apr 2004 15:26:32 +1000
From: JonathanC at ag.nsw.gov.au
Subject: Problems with 'Launch <doc> with <app>'
To: use-revolution at lists.runrev.com

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
-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



More information about the use-livecode mailing list