• 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
Coercing strings to symbols
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Coercing strings to symbols
      • From: has <email@hidden>
    • Re: Coercing strings to symbols
      • From: Skeeve <email@hidden>
  • Prev by Date: Dynamically change button cell image within a table view
  • Next by Date: Re: Coercing strings to symbols
  • Previous by thread: Re: Dynamically change button cell image within a table view
  • Next by thread: Re: Coercing strings to symbols
  • Index(es):
    • Date
    • Thread