Coercing strings to symbols
Coercing strings to symbols
- Subject: Coercing strings to symbols
- From: "Houston, Brad" <email@hidden>
- Date: Fri, 15 Feb 2008 11:21:48 -0800
- Thread-topic: Coercing strings to symbols
Greetings gurus,
I'm creating a method to produce paragraph styles in an InDesign CS2 file
based on parameters listed in an Excel table. My problem is that many of the
parameters employ what I'll call "Symbols" (not sure what the official term
is). That is, a preset series of characters which are a value but not a
string. (Example: A value for "Alignment" might be center, not the string
"center"). Anyone know of a method to coerce the string coming in from Excel
into such an entity?
Currently, in each such case I'm using the string values as a test, that
when true then substitutes the hard-coded symbol, but the inefficiency is
annoying.
Thanks,
Brad
_______________________________________________
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