• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How do I loop through Indesign Button behaviors?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >How do I loop through Indesign Button behaviors? (From: "Patrik B." <email@hidden>)

  • Prev by Date: How do I loop through Indesign Button behaviors?
  • Next by Date: Re: JDF Files
  • Previous by thread: How do I loop through Indesign Button behaviors?
  • Next by thread: How do I loop through Indesign Button behaviors?
  • Index(es):
    • Date
    • Thread