Special characters ?
Posted: 01 Jul 2016, 04:48
Hi,
I already use a large number of macros triggered using combinations of regular and modifier keys, so I thought I'd find new combinations using ALT codes characters like
Alt 1 ☺
Alt 2 ☻
Alt 3 ♥
Alt 4 ♦
...
Alt 0254 þ
as the software I want to control is able to recognize them as Key Commands.
But when I script
LuaMacros 0.1.0.233 says
"[KEY] ERROR: Invalid KeyName"
Is there a way I can send these special Alt Keys ?
Thanks very much!
I already use a large number of macros triggered using combinations of regular and modifier keys, so I thought I'd find new combinations using ALT codes characters like
Alt 1 ☺
Alt 2 ☻
Alt 3 ♥
Alt 4 ♦
...
Alt 0254 þ
as the software I want to control is able to recognize them as Key Commands.
But when I script
Code: Select all
lmc_device_set_name('KEYB3', '3B18869E')
lmc_set_handler('KEYB3',function(button, direction)
if (direction == 1) then return end -- ignore down
if (button == string.byte('A')) then lmc_send_keys('☺')
else print('Not yet assigned: ' .. button)
end
end)
"[KEY] ERROR: Invalid KeyName"
Is there a way I can send these special Alt Keys ?
Thanks very much!