Press F12 and then type LOL

How can be this controlled in that simulator? Can HIDmacros be used with this application?
Post Reply
zqckfair
Posts: 2
Joined: 17 Apr 2016, 22:10

Press F12 and then type LOL

Post by zqckfair » 18 Apr 2016, 02:31

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}") ?

admin
Site Admin
Posts: 545
Joined: 01 Nov 2010, 13:00
Location: Prague, Czech republic
Contact:

Re: Press F12 and then type LOL

Post by admin » 18 Apr 2016, 08:03

Petr Medek
LUAmacros author

zqckfair
Posts: 2
Joined: 17 Apr 2016, 22:10

Re: Press F12 and then type LOL

Post by zqckfair » 18 Apr 2016, 13:16

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 :

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.

admin
Site Admin
Posts: 545
Joined: 01 Nov 2010, 13:00
Location: Prague, Czech republic
Contact:

Re: Press F12 and then type LOL

Post by admin » 19 Apr 2016, 07:33

Sorry, overlooked that in your first post.
No, it's currently not possible... wouldn't be that complicated probably, but not implemented now.
Petr Medek
LUAmacros author

Post Reply