• 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: Problem going from 10.4 to 10.6 in Indesign
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Problem going from 10.4 to 10.6 in Indesign


  • Subject: RE: Problem going from 10.4 to 10.6 in Indesign
  • From: "Mark Workman" <email@hidden>
  • Date: Fri, 16 Jul 2010 14:17:00 -0400
  • Thread-topic: Problem going from 10.4 to 10.6 in Indesign

I added line

set PPD to “Adobe PDF 9.0”

as the second line in the tell block. This fixed the problem, but wasn’t necessary in 10.4.

Thanks for the help.

 

Mark

 


From: Mark Workman
Sent: Friday, July 16, 2010 12:38 PM
To: 'email@hidden'
Subject: Problem going from 10.4 to 10.6 in Indesign

 

I migrated a script from 10.4.11 to 10.6.4 in Indesign CS4. I fixed several issues from the upgrade. I’m stuck on one item. Setting the page width when making a postscript file stops the script with an error. If I set it to auto it works but the postscript file is the wrong width. Here is the code and error. Thanks for any suggestions.

 

tell print preferences of active document

             set printer to postscript file

             set print file to "test.ps"

             set paper size to custom

             set paper height to v5a

             set paper width to docw

end tell --print preferences

 

error "Adobe InDesign CS4 got an error: Invalid value for set property 'paper width'. Expected auto or number or string, but received 25.0." number 30477

 _______________________________________________
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

References: 
 >Problem going from 10.4 to 10.6 in Indesign (From: "Mark Workman" <email@hidden>)

  • Prev by Date: Re: Rant Generator
  • Next by Date: Re: Rant Generator
  • Previous by thread: Problem going from 10.4 to 10.6 in Indesign
  • Next by thread: Script time out
  • Index(es):
    • Date
    • Thread