Re: implementing AS in Cocoa: how to specify a document to close

2012-05-14 Thread jonat...@mugginsoft.com
On 14 May 2012, at 21:51, Donald Hall wrote: > This is probably a dumb question but in the following AS Dictionary statement: What application are you targeting? > > close specifier : the document(s) or window(s) to close > > what can I use for "specifier"? The usual element specifiers are nam

implementing AS in Cocoa: how to specify a document to close

2012-05-14 Thread Donald Hall
This is probably a dumb question but in the following AS Dictionary statement: close specifier : the document(s) or window(s) to close what can I use for "specifier"? "close document 1" works fine, but I want to be able to specify a particular document whose position is unknown. I know the docu