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 9:15 PM, "Rick Gordon" <email@hidden> wrote:

>  So, short of a repeat loop running through each object, is there some way to
> seek out every object that has a key with some specific name?

No, but you can get all items' labels with one event:

tell application "Adobe InDesign CS2"
    tell all page items of document 1
        extract label key "Whatever"
    end tell
end tell

Then you could loop through the result.

-- 
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: 
 >Re: 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.