1a.) So, I like to know how can I test Shift key status?
1b.) ...or how to use a Unicode function to test if a character is capital?
2.) Why LUA not distinguish hotkey capitals?
3.) Is there a more elegant way to bring up 'Fast find' dialog?
This ugly code not works for international characters:
Code: Select all
local function my_key ()
if (akey(0) < 96) -- capital (works only for ASCII)
then
Keys "Alt? BS" -- brings up 'Fast find'
end
Keys "Akey"
end