Re: SCRIPTING INDESIGN: Question About Labels
Re: SCRIPTING INDESIGN: Question About Labels
- Subject: Re: SCRIPTING INDESIGN: Question About Labels
- From: Shane Stanley <email@hidden>
- Date: Mon, 16 Oct 2006 20:25:05 +1000
- Thread-topic: 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:
This email sent to email@hidden