Ways to get the IDs of two already scripted buttons?

dunbarx at aol.com dunbarx at aol.com
Mon Jan 2 19:21:29 EST 2012


Why is modifying button scripts out of the question?


You have good instincts, but need work learning the language. (wait until the object is selected)


This can work out. Keep posting. You will be amazed how much help will come.


Craig Newman



-----Original Message-----
From: Kresten Bjerg <Kresten.Bjerg at psy.ku.dk>
To: use-livecode <use-livecode at lists.runrev.com>
Sent: Mon, Jan 2, 2012 12:47 pm
Subject: Ways to get the IDs of two already scripted buttons?


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)


_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

 



More information about the use-livecode mailing list