• 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
Acrobat - active doc / front document
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Acrobat - active doc / front document


  • Subject: Acrobat - active doc / front document
  • From: waynemelrose <email@hidden>
  • Date: Tue, 08 Apr 2014 07:08:22 +1000

Yesterday I made myself look a little silly when I corrected someone else’s code, only later to find out that I in fact broke it. :/

The line of code in question was

	tell application “Adobe Acrobat Pro”
		tell active doc
		—
		end tell
	end tell

Which I never thought would have compiled.

It will not accept ‘document’.

On the flip side …

	tell application “Adobe Acrobat Pro”
		tell front document
		—
		end tell
	end tell


will not accept ‘doc’

Does anyone know why there is a difference in these lines of code?

Thanks

Wayne
 _______________________________________________
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: Shane Stanley <email@hidden>
  • Prev by Date: Re: kMDItemWhereFroms
  • Next by Date: Re: Acrobat - active doc / front document
  • Previous by thread: Re: kMDItemWhereFroms
  • Next by thread: Re: Acrobat - active doc / front document
  • Index(es):
    • Date
    • Thread