Code: Select all
copy button ButtonName
paste
set the name of button ButtonName to "ButtonName1"
Thanks!
M-A
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Code: Select all
copy button ButtonName
paste
set the name of button ButtonName to "ButtonName1"
Code: Select all
on mouseUp
copy button "marko"
paste
set the name of it to "polo"
end mouseUp
Code: Select all
on cloneOneBtn pTargetName, pNewName
clone btn pTargetName
set the name of last btn to pNewName
end cloneOneBtn
Code: Select all
on cloneOneBtn pTargetName, pNewName
clone btn pTargetName AS pNewName
end cloneOneBtn