Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SCRIPTING INDESIGN: Question About Labels



I have a couple of questions concerning the use of labels in InDesign scripts. CS and CS2 are capable of creating and accessing multiple labels using the (AppleScript) syntax... 

TO CREATE A KEY AND SET ITS VALUE: 
	insert label key <KEYNAME_AS_STRING> value <VALUE_AS_STRING>

...and...

TO ACCESS THE VALUE OF A KEY: 
	set <SOME_VARIABLE> to extract label key

...but...

1) How do you delete keys and their associated values? There does not appear to be a delete label key command.

2) Why does this appear to be completely separate from the label string (unkeyed) that is accessible through the Script Labels palette or through the syntax...

	set label to <VALUE_AS_STRING>

...and...

	get label

3) Why do the keys not show up as a property value of the object(s) to which they're associated with?

-- 
 
___________________________________________________

RICK GORDON
EMERALD VALLEY GRAPHICS AND CONSULTING
___________________________________________________

WWW:   http://www.shelterpub.com
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.