From what I remember using AS in Photoshop and Illustrator, you can get every "document". You can also get the "current" document and that is the front most.
FYI, if you have the Script Debugger app, it is really easy to open a dictionary for the current app, search it and get info about the commands you need.
Hope this helps, Alex
Sent from my iPad. Please pardon typos.
On Oct 22, 2014, at 10:36 AM, Jeremy Roussak < email@hidden> wrote: Is there a straightforward way in AS to obtain a pointer to a non-scriptable application's frontmost window and to set its "dirty" flag (so the dot appears in the close button)? I suspect this might be one for Shane but I'll happily accept help from anyone!
Jeremy
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
|