when i put my script in group, i get the group name
Code: Select all
on mouseUp
answer the name of me
end mouseUp
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Code: Select all
on mouseUp
answer the name of me
end mouseUp
Code: Select all
on mouseUp
answer the name of the owner of the target
end mouseUp
Code: Select all
on mouseUp
put the ID of the target
end mouseUp
Code: Select all
on mouseUp
get the name of the target
set the itemDelimiter to " "
put it into DETAILS
put item 1 of DETAILS
end mouseUp
Code: Select all
...
put word 1 of the name of the target
...
Code: Select all
the short name of the target
Richmond wants to know the TYPE of the control.
Code: Select all
on mouseUp
answer the short name of me
pass mouseUp
end mouseUp
My bad... i was answering the original poster's question:
but then i noticed this as well from the OP:
For that to work you'd need to use 'the target' AND either not implement any mouseUp handlers in the specific message path or have them 'pass mouseUp' if any component does have a mouseUp handler.