Mailing Lists: Apple Mailing Lists

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

Re: SCRIPTING INDESIGN: Question About Labels



On 16/10/06 7:54 PM, "Rick Gordon" <email@hidden> wrote:

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

Just set them to an empty string.
> 
> 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

Because it *is* completely separate from the label string. It's really a way
of storing data associated with an element. By allowing you to set a key,
you don't have to worry about other scripts accidentally deleting your data.
> 
> 3) Why do the keys not show up as a property value of the object(s) to which
> they're associated with?

Because they're not properties, they're objects.

-- 
Shane Stanley <email@hidden>


 _______________________________________________
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

References: 
 >SCRIPTING INDESIGN: Question About Labels (From: Rick Gordon <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.