Pressing Two Buttons to execute one function
Posted: 29 Sep 2021, 00:49
Hi,
I am trying to make a Spanish Numpad for the special characters. All of the lowercase letters work fine but I want to make the Enter Key act as a shift key so when I press Enter and NUM9, it outputs a capital á. The code below, I thought would work, doesn't.
Button 13 is Enter and Button 101 is NUM9 which earlier in the code presses á. How could I get this concept to work?
elseif (button == 13 and button == 101) then lmc_send_keys ("%({NUM0}{NUM1}{NUM9}{NUM3})")
Thanks,
Brady
I am trying to make a Spanish Numpad for the special characters. All of the lowercase letters work fine but I want to make the Enter Key act as a shift key so when I press Enter and NUM9, it outputs a capital á. The code below, I thought would work, doesn't.
Button 13 is Enter and Button 101 is NUM9 which earlier in the code presses á. How could I get this concept to work?
elseif (button == 13 and button == 101) then lmc_send_keys ("%({NUM0}{NUM1}{NUM9}{NUM3})")
Thanks,
Brady