the background is that I'm trying to create some keyboard shortcuts, ideally, using an Alt key combination.
The following script works as expected with both the left 'Alt' key and the right 'Alt Gr' key giving the appropriate resonse
Code: Select all
on rawkeydown
if the altkey is down then
answer "Alt key"
end if
end rawkeydown
Code: Select all
on rawkeydown
if the altkey is down and 101 is in the keysdown then
answer "Alt key"
end if
end rawkeydown
I can't make sense of this to enable a fix.
(If I use the Ctrl key everything works as expected but is more tricky to implement due to clashes with system Ctrl shortcuts!
Just wanted to check if any windows users out there had any thoughts or ideas?
Many thanks,
Regards,
Glenn