Re: Acrobat - active doc / front document
Re: Acrobat - active doc / front document
- Subject: Re: Acrobat - active doc / front document
- From: Wayne Melrose <email@hidden>
- Date: Tue, 08 Apr 2014 22:22:53 +1000
Ahh! Interesting, and perhaps a trigger for me to check some already implemented and potentially erroneous code tomorrow.
Thanks for an informative response Shane!
Sent from my iPhone
> On 8 Apr 2014, at 10:15 pm, Shane Stanley <email@hidden> wrote:
>
>> 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
_______________________________________________
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