I've just discovered Luamacros a few days ago. It is awesome. Thank you for your work.
I am having a problem that original keystrokes are still being sent to notepad++
For example, the code below blocks all keys, except in notepad++, where the keys are still being sent.
Code: Select all
lmc_assign_keyboard('MACRO')
lmc_set_handler('MACRO', function(button, direction)
end)
Code: Select all
lmc_assign_keyboard('MACRO')
lmc_set_handler('MACRO', function(button, direction)
if (direction == 0) then return
elseif (button == 97) then lmc_send_keys('xyz') end
end)