• 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: Requesting help with illustrator CS6
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Requesting help with illustrator CS6


  • Subject: Re: Requesting help with illustrator CS6
  • From: Shane Stanley <email@hidden>
  • Date: Tue, 07 Jul 2015 17:00:22 +1000

On 7 Jul 2015, at 4:53 pm, Brian Christmas <email@hidden> wrote:

However, we’re upgrading to Adobe CC 2015 on the basis of the message stating some information may be lost when importing, but I’ll mentally file your suggestion for future reference.

It's something you probably need to do in *every* version. Have you read the Illustrator scripting guide? There's a section on precisely this issue, and it's used repeatedly in sample code.

My question still remains, tho, why doesn’t this code work, if anyone knows please?

It's impossible to tell, in isolation. This code does work:

tell application id "com.adobe.illustrator" -- Adobe Illustrator
tell document 1
set theCount to count of artboards
repeat with i from 1 to theCount
set {x1, y1, x2, y2} to artboard rectangle of artboard i
set y1 to y1 + 20 -- however much you want to add at top
-- place item based on the bounds
set artboard rectangle of artboard i to {x1, y1, x2, y2}
end repeat
end tell
end tell


-- 
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>

 _______________________________________________
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: Requesting help with illustrator CS6
      • From: Brian Christmas <email@hidden>
References: 
 >Requesting help with illustrator CS6 (From: Brian Christmas <email@hidden>)
 >Re: Requesting help with illustrator CS6 (From: Stan Cleveland <email@hidden>)
 >Re: Requesting help with illustrator CS6 (From: Brian Christmas <email@hidden>)
 >Re: Requesting help with illustrator CS6 (From: Shane Stanley <email@hidden>)
 >Re: Requesting help with illustrator CS6 (From: Brian Christmas <email@hidden>)
 >Re: Requesting help with illustrator CS6 (From: Shane Stanley <email@hidden>)
 >Re: Requesting help with illustrator CS6 (From: Brian Christmas <email@hidden>)

  • Prev by Date: Re: Requesting help with illustrator CS6
  • Next by Date: Re: Requesting help with illustrator CS6
  • Previous by thread: Re: Requesting help with illustrator CS6
  • Next by thread: Re: Requesting help with illustrator CS6
  • Index(es):
    • Date
    • Thread