Re: How do I loop through Indesign Button behaviors?
Re: How do I loop through Indesign Button behaviors?
- Subject: Re: How do I loop through Indesign Button behaviors?
- From: Shane Stanley <email@hidden>
- Date: Wed, 06 Sep 2006 14:05:14 +1000
- Thread-topic: How do I loop through Indesign Button behaviors?
On 6/9/06 11:18 AM, "Patrik B." <email@hidden> wrote:
> any ideas?
Where is your script failing? I'd be more inclined to try something like
(untested):
Tell app "Indesign CS"
set myselections to selection of document 1 -- I have 10 buttons selected
repeat with i from 1 to count of items of myselections
repeat with j from 1 to count of behaviors of item i of myselections
set mybehavior to properties of behavior j of item i of myselections
--then I will add a handler here that changes the existing path mine
tell behavior j of item i of myselections
set properties to {file path:mynewpath}--mynewpath is defined in the handler
end repeat
end repeat
end tell
--
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