• 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
Setting value of imprint in PDFpenPro
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Setting value of imprint in PDFpenPro


  • Subject: Setting value of imprint in PDFpenPro
  • From: Sweth Chandramouli <email@hidden>
  • Date: Mon, 3 Jul 2006 23:14:32 -0400
  • Mail-followup-to: Applescript Users <email@hidden>

I'm trying to use Applescript to fill in the values in a PDF form
using PDFpenPro; the following fails with an NSInternalScriptError,
though:

tell application "PDFpenPro"
	set aPage to page 1 of document 1
	set theField to (last imprint of aPage whose class is text field)
	set theField's value to "Foobar" as Unicode text
end tell

What am I doing wrong?

(Also, what exactly does NSInternalScriptError mean?  I can't find
any explanation Googling, nor does Matt Neuburg's book seem to address
it.  Similarly, if I us "the value of theField" instead of "theField's
value", I get an NSReceiverEvaluationScriptError; what does that mean?)

TIA,

Sweth.

--
Sweth Chandramouli
email@hidden - http://EthicalHomes.com/
Interested in property values in your neighborhood?  Ask me about how
to get regular email updates with the listing and final sales price of
every home that goes on the market or sells in your area.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Saving parts and settings
  • Next by Date: Re: Saving parts and settings
  • Previous by thread: Re: Apple Mail question
  • Next by thread: File types/creator codes
  • Index(es):
    • Date
    • Thread