Ways to get the IDs of two already scripted buttons?

Kresten Bjerg Kresten.Bjerg at psy.ku.dk
Sun Jan 1 18:55:07 EST 2012


I am trying to script a handler guiding (through Answer dialogue) user of standalone to select first one arbitrary existing  button, to put its ID in a variable and (new answer-dialogue) then another existing button, to collect its Id into another variable,  - for(new answer-dialogue) connecting them with a line/ or erase line between them.
As these buttons are already scripted, and mouseups to them must be avoided, I hope that Alt clicking them might be a way to have them selected enough to get their IDs. But I cannot find my way to make it work. I have thought that there might be a way perhaps  through a "Wait until condition", but don't know how to formulate such script. I am also uncertain: Is the use of the ALT-click a realistic strategy to get hold of the button-IDs?
I cannot imagine that something like this should be impossible in livecode
Happy New Year
From
Kresten Bjerg



More information about the use-livecode mailing list