Re: Acrobat - active doc / front document
Re: Acrobat - active doc / front document
- Subject: Re: Acrobat - active doc / front document
- From: Shane Stanley <email@hidden>
- Date: Tue, 08 Apr 2014 22:15:04 +1000
On 8 Apr 2014, at 11:42 am, waynemelrose <email@hidden> wrote:
> So you could or SHOULD use this when you’re attempting to target a document rather than setting a variable for the front document? I can’t think of why else you’d need this? and if you do, then why aren’t all apps doing it?
When you say "front document" in AS, you're actually saying "document 1". But Acrobat follows the javascript indexing convention of calling the oldest open document document 1; it ignores front-to-back order. Hence the need for a simple way to refer to the frontmost document in the AS sense, and hence "active doc".
--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>
_______________________________________________
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