Re: Lost properties
Re: Lost properties
Thanks, Shane,
This particular problem is resolved and is not related to properties.
I assumed it was because SD wasn't displaying the property values and
everything else in the failing commands was working a few lines
earlier in the script.
(This part of the script has just filled a table cell with new text
and is about to apply a character style to part of the text)
Here's the failing command, from inside a ID CS2 Tell:
set applied character style of characters 1 thru (titleSize) of
myCell to titleStyle
titleStyle is a property whose value is a character style gotten from
the document
it's value was set here:
set titleStyle to character style "{71}Grid titles"
And using the command in that form had been working (and still works
in other contexts)
But I replaced that with:
set titleStyle to "{71}Grid titles"
and now this line works:
set applied character style of characters 1 thru (titleSize) of myCell
to character style titleStyle
Unfortunately I'm locked in to CS2 due to a couple of third party
extensions that have not been updated for newer versions, but I've had
to upgrade to SL because other scripts have been breaking. (Although
not as many as I feared).
ES
On 15/9/09 3:16 PM, "email@hidden" <email@hidden> wrote:
"/Applications/Adobe InDesign CS2/Presets/Scripts"
Using CS2 might be the problem. As I recall that means using Rosetta
because
it's not Intel native, and there might be something happening in its
handling of scripts. CS2 was written a long time ago...
_______________________________________________
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