• 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
Script not working in InDesign CC 2015
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Script not working in InDesign CC 2015


  • Subject: Script not working in InDesign CC 2015
  • From: Bert Groeneveld <email@hidden>
  • Date: Tue, 19 Jan 2016 17:37:39 +0100

Hi, can anyone please help?

I have a script that works fine in InDesign CS6. I need to convert the script to be compatible with InDesign CC 2015 (2015.2 release). All I did was replace the line:

tell application "Adobe InDesign CS6"

with line

tell application "Adobe InDesign CC 2015"

The script compiles as it should. Unfortunately every time I run it, InDesign CC 2015 quits unexpectedly. Can anyone tell what goes wrong?

Thanks in advance for any help,

Bert.

Here is the script:

tell application "Adobe InDesign CC 2015"
set myPage to page 1 of document 1
set my_UpScaleMatrix to make transformation matrix with properties {horizontal scale factor:2.5, vertical scale factor:2.5} -- enlarge


tell myPage
my myTransform(myPage, my_UpScaleMatrix) -- enlarge
end tell
end tell


on myTransform(myPage, myTransformationMatrix)
tell application "Adobe InDesign CC 2015"
tell myPage
set layout rule to off -- scale -- object based
end tell
transform myPage in parent coordinates from center anchor with matrix myTransformationMatrix
end tell
end myTransform
 _______________________________________________
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: Script not working in InDesign CC 2015
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: [ASOC] returning by reference and converting script objects to descriptors?
  • Next by Date: Re: Arguments expected by .setProperty() method on JSA collections ? (has)
  • Previous by thread: Re: Arguments expected by .setProperty() method on JSA collections ?
  • Next by thread: Re: Script not working in InDesign CC 2015
  • Index(es):
    • Date
    • Thread