On Aug 15, 2005, at 3:02 PM, Bill Cheeseman wrote:
on 2005-08-15 4:22 PM, Mark Alldritt at email@hidden
Cocoa Scripting's implementation of the open command does not
reference to the newly created object. Returning a reference is
that I've always done in my scriptable apps. Does anyone know how
Cocoa scripting to do this? I've added a result to my sdef, and
left trying to figure out how to "fix" the open command.
The specification for the 'open' command in the AppleScript
says that it does not return a result. I suppose that isn't a
reason not to
return a result in your own app, but it makes the lawyer in me
The ASLG has been superseded in some places by the SIG < http://
open file | list of files
-- Returns a specifier to the created application object.
Opens the specified files, and returns the new application
objects for them – probably documents. The standard version is
designed for opening document files, but applications may apply open
to other objects and add additional parameters.
AppleScript and Automator Engineering
Do not post admin requests to the list. They will be ignored.
Applescript-implementors mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden