Ways to get the IDs of two already scripted buttons?

Kresten Bjerg Kresten.Bjerg at psy.ku.dk
Mon Jan 2 17:45:59 EST 2012


Thanks for replies
John: if a mouseenter can do the job, I guess that would be OK, -does this suggestion imply, that Altclick cannot be used ?
Craig: Unfortunately modifying button scripts is out of the question
I am afraid, that I need a step by step, line by line, guidance in this
I paste my latest naïve attempt as a starting point -which evidently doesn't achieve anything !!!!
on lineconnect
Answer "select the first textbutton of a pair by holding alt- button down and click it."  with  "Yes" or "Escape" titled "Step one in establishing a line connecting two buttons"
wait 10 seconds
wait until object is selected
put the ID of  the selectedobject into firstbuttonID
(continued in next posting)





More information about the use-livecode mailing list