• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Acrobat - active doc / front document
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Acrobat - active doc / front document
      • From: Wayne Melrose <email@hidden>
References: 
 >Acrobat - active doc / front document (From: waynemelrose <email@hidden>)
 >Re: Acrobat - active doc / front document (From: Shane Stanley <email@hidden>)
 >Re: Acrobat - active doc / front document (From: waynemelrose <email@hidden>)

  • Prev by Date: Re: Acrobat - active doc / front document
  • Next by Date: Re: Acrobat - active doc / front document
  • Previous by thread: Re: Acrobat - active doc / front document
  • Next by thread: Re: Acrobat - active doc / front document
  • Index(es):
    • Date
    • Thread