• 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
Can't open pdf with Acrobat
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can't open pdf with Acrobat


  • Subject: Can't open pdf with Acrobat
  • From: Brian Christmas <email@hidden>
  • Date: Fri, 05 Oct 2012 14:03:07 +1000

G'day scripters

I'm having trouble with the trial version of Acrobat Pro X.

If I navigate to this particular pdf it opens, but dropping it on the Apps icon, or using this script, it doesn't open.

The weird part is that the display dialog shows after several seconds, as tho the pdf has opened.

The only thing I can think of is  the visible of the doc is false, but how can I set it to true while opening it please?

Regards

Santa



set theItem to ((path to desktop) & "This is a test.pdf") as text as alias
tell application "Adobe Acrobat Pro"
activate


open (theItem as alias)
repeat until exists active doc
delay 0.1
end repeat
display dialog theItem as alias as text
end tell

 _______________________________________________
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: Can't open pdf with Acrobat
      • From: Christopher Stone <email@hidden>
    • Re: Can't open pdf with Acrobat
      • From: Jan-Bultereys <email@hidden>
  • Prev by Date: Re: Out of Control Aliases?
  • Next by Date: Re: Can't open pdf with Acrobat
  • Previous by thread: Re: AppleScript-Users Digest, Vol 9, Issue 394
  • Next by thread: Re: Can't open pdf with Acrobat
  • Index(es):
    • Date
    • Thread