• 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: Lost properties
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Lost properties


  • Subject: Re: Lost properties
  • From: "email@hidden" <email@hidden>
  • Date: Tue, 15 Sep 2009 16:54:22 -0700

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
  • Follow-Ups:
    • Re: Lost properties
      • From: Shane Stanley <email@hidden>
References: 
 >Re: Lost properties (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Dialog Box
  • Next by Date: Re: Rép: Courier in 10.6
  • Previous by thread: Re: Lost properties
  • Next by thread: Re: Lost properties
  • Index(es):
    • Date
    • Thread