• 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: unable to execute javascript via applescript in acrobat - result "undefined"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: unable to execute javascript via applescript in acrobat - result "undefined"


  • Subject: Re: unable to execute javascript via applescript in acrobat - result "undefined"
  • From: Stephan Peterson <email@hidden>
  • Date: Wed, 4 Feb 2009 19:10:41 -0600

Yeah, I knew about the missing double-quote. That's not the issue. I'm
thinking it's something weird about Acrobat 8. I'm running 10.5.6 on
an old G4. A co-worker is running Acrobat 8 on 10.4.11. I'm not sure
if it's PPC or Intel off the top of my head and can't check it at the
moment.

Stephan

On Wed, Feb 4, 2009 at 5:15 PM, Philip Aker <email@hidden> wrote:
> On 2009-02-04, at 14:00:44, Stephan Peterson wrote:
>
> I'm unable to execute even the simplest of javascript in Acrobat:
>      tell application "Adobe Acrobat Professional"
>           do script "app.alert('hello world');
>      end tell
> Acrobat doesn't display the dialog window and Script Editor displays
> "undefined" as the result.
>
> Not an Acrobat user but it looks like you're missing a closing double-quote:
> do script "app.alert('hello world');"
> Philip Aker
> echo email@hidden@nl | tr a-z@. p-za-o.@
>
> Democracy: Two wolves and a sheep voting on lunch.
>
>
 _______________________________________________
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: unable to execute javascript via applescript in acrobat - result "undefined"
      • From: Rob Stott <email@hidden>
References: 
 >unable to execute javascript via applescript in acrobat - result "undefined" (From: Stephan Peterson <email@hidden>)

  • Prev by Date: unable to execute javascript via applescript in acrobat - result "undefined"
  • Next by Date: Finding and shelling out to a sh script in the same directory as the AppleScript
  • Previous by thread: unable to execute javascript via applescript in acrobat - result "undefined"
  • Next by thread: Re: unable to execute javascript via applescript in acrobat - result "undefined"
  • Index(es):
    • Date
    • Thread