Help Me With KeyBoard Control
-
Hello im new and just want some action like press a button when i say something .
I don't know if i can do this without script i want something like press 12 to save my game saying save game
help me thanx a lot
-
@p2p, cool idea. This command should work:
nircmd sendkeypress F12
That assumes you meant press the F12 key?
You'll need to install nircmd first.
-
@russ ok , i can do everything with keyboard touch or gamepad ?
I play emulation and would like to make some shortcut with my voice... i préfer so first things is to install this ?
And how can i do something like A button and B button at the same time or 2 other keyboard letters ?
sorry my english bad -
@p2p, I don't think nircmd can simulate a gamepad button, but it can simulate any keyboard press, so if you can control the game via keyboard, this should work.
https://nircmd.nirsoft.net/sendkey.html
https://nircmd.nirsoft.net/sendkeypress.html -
@russ thanks for your help ^^ i will try some tips
-
@russ hello, have you got any idea for how make the same thing with GAMEPAD buttons ?
And have you got a list for the input ? for keyboard up its uparrow or just up ? -
@p2p, this is the command to simulate pressing the up arrow button on your keyboard:
nircmd sendkeypress up
I don't know how to simulate gamepad buttons.
-
@russ thanks i would try to make some special trigger
i explain you, i will make a turn on action with alexa for turn on my computer and on the log screen my alexa will be type my password and click ENTER ...
Does it possible ? i don't see how to write numbers for triggercmd can you help me to make a automatic password like "test123" and then enter for automatic log on session?
thanks -
@p2p, this command will type out test123 and press enter:
nircmd sendkeypress t e s t 1 2 3 enter
-
@russ i must make it on background not foreground ? if i understand some other topic for use trigger command before log on service ?
-
@p2p, you should make it a foreground command.
If you're trying to have Windows automatically logon during boot, you should use this method instead.