I'm wondering how / if I can change a button label just by holding, say, the command key. I have a button script along these lines:
It would be much neater to have the button label change from 'do something' to 'do something to all' whenever the command key is pressed. But I can't find a way, other than using a 'on idle' handler (which is not recommended) or some kind of timer with 'send'.on mouseUp
if the eventCommandKey is up then
do something on the current card
else do the same thing on all cards
end mouseUp
Can one trap the pressing of the command key alone?