I need to use Spacebar key for some operations (like start & stop).
in card's script i have construction like this:
Code: Select all
set acceleratorKey of btn "TimerButton" to ...
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Code: Select all
set acceleratorKey of btn "TimerButton" to ...
Code: Select all
on keydown tKey
if tKey = SPACE then
send "mouseup" to btn "you know which one..."
## or do whatever you need to do here...
else
pass keydown
end if
end keydown