Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Cocoa Scripting: open command
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa Scripting: open command



on 2005-08-16 1:49 PM, Christopher Nebel at email@hidden wrote:

> The ASLG has been superseded in some places by the SIG < http://
> developer.apple.com/technotes/tn2002/tn2106.html#standard-commands>:
>
>      open
>
>          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.

Thanks for the clarification, Chris.

That means there are two more bugs in the Skeleton.sdef file than I
realized:

1. Skeleton.sdef requires a list for 'open', not allowing for a simple file.

2. Skeleton.sdef doesn't provide for a return value for 'open'.

I'll compare the SIG to Skeleton.sdef to see if there are others I haven't
noticed yet.

Shall I go ahead and file a bug report, or is Skeleton.sdef already lined up
for an upgrade?

--

Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com

PreFab Software - http://www.prefab.com/scripting.html
The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes


 _______________________________________________
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

References: 
 >Re: Cocoa Scripting: open command (From: Christopher Nebel <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.