Re: problem with illustrator CS4
Re: problem with illustrator CS4
- Subject: Re: problem with illustrator CS4
- From: Brian Christmas <email@hidden>
- Date: Thu, 12 Feb 2009 16:08:22 +1100
On 12/02/2009, at 3:40 PM, Shane Stanley wrote: Are your scripts appearing like that all the time, using «class paPs» instead of position, and so forth? If so, that might point to a problem. FWIW, both your snippets work fine here. -- Shane Stanley < email@hidden> AppleScript Pro Florida, April 2009 < http://scriptingmatters.com/aspro>
Thanks Shane.
The normal nomenclature for the script got automatically changed when I first opened CS4.
I've found a suitable workaround though.
Regards
Santa
set PageBounds to «class aiVB» of document 1 set PageHeight to «class pSHh» of document 1 set PageOrigin to «class xxPO» of document 1 if item 2 of PageBounds > PageHeight - 40 then set item 2 of PageBounds to item 2 of PageOrigin
try make new «class cTXa» in document 1 with properties {«class pCNT»:TempAttachmentName, «class paPs»:{(item 1 of PageBounds) + 20, (item 2 of PageBounds) + 20}} set tempFont to the result set the «class cTXf» of text of the tempFont to «class cTXf» "IDAutomationHC39M" set the size of text of tempFont to 10 end try
|
_______________________________________________
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