Code: Select all
on mouseUp
if "btnSend" is in target then
answer "Send was clicked!"
else if "btnCancel" is in the target then
answer "Cancel was clicked!"
end if
end mouseUp
Code: Select all
on mouseUp
if "btnSend" is in target then
answer "Send was clicked!"
else if "btnCancel" is in the target then
answer "Cancel was clicked!"
end if
end mouseUp