you can write a little script yourself, similar to this one:
on mouseUp
lock screen
repeat for the number of buttons times
add one to x
if the short name of button x = "yes" then
set the name of button x to "1"
else if the short name of button x = "no" then
set the name of button x to "0"
end if
end repeat
end mouseUp
On Mar 29 2006, at 20:44, Ben Bock wrote:
I have a 15 card stack with 31 buttons per page (15 yes, 15 no, 1 Go
next card). When I made this stack I screw up and did not name the
buttons when copy& pasting them. I want the YES label buttons to be
named "1" and the NO label buttons named "0". Can I do this with a
script, preferably at the stack level?
My current effort is at the card level:
on openCard
put the number of btns into btnCount
repeat with x = 1 to btnCount
put the label of btn x into labelList
repeat for each line tGroup in labelList
if label of btn x is "YES" then
set the Name of btn label tGroup of cd x to "1"
end if
end repeat
end repeat
end openCard
I'm a newby to programming and Rev, & I'm learning Rev mostly from
this user list. If there is some dorky mistake in my attempt, please
excuse and school me properly.
Thanks
Ben
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution