Hi Jonathan,

I haven't investigated this for a while, but I did some tests a while ago and found that the main problem was due to OS X's hidden .app extension on application bundles. At my web site, you can find a stack called "Launch.rev" which uses a combination of AppleScript and Transcript to get around this problem.

It can be easily extended to launch an app with a specified document.

Cheers,
Sarah
[EMAIL PROTECTED]
http://www.troz.net/Rev/

On 8 Apr 2004, at 3:27 pm, [EMAIL PROTECTED] wrote:

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
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution




_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to