Hello
How can I type something while pressing another key ?
I'm using LuaMacros.
Is it possible with something like lmc_send_keys ("{F12 down}LOL{F12 up}") ?
Press F12 and then type LOL
Re: Press F12 and then type LOL
Have you read http://www.hidmacros.eu/forum/viewtopic.php?f=12&t=247 ?
Petr Medek
LUAmacros author
LUAmacros author
Re: Press F12 and then type LOL
Yes, I have, but I still don't know how to keep a key down, while in the same time : typing something else.
In some scripting language, we can do that.
The question is : is it possible to hold down a key with luamacros ?
Exemple :
In some scripting language, we can do that.
The question is : is it possible to hold down a key with luamacros ?
Exemple :
Code: Select all
elseif (button == string.byte('H')) then lmc_send_keys('{F10 Down}Hello world{F10 Up}')
-- This would Write Hello world while holding the F10 key down.
Re: Press F12 and then type LOL
Sorry, overlooked that in your first post.
No, it's currently not possible... wouldn't be that complicated probably, but not implemented now.
No, it's currently not possible... wouldn't be that complicated probably, but not implemented now.
Petr Medek
LUAmacros author
LUAmacros author