• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
TRIGGERcmd
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

problems typing keys with nircmd

Windows
nircmd keys bat typing
2
3
1.0k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F
    fmaick93
    last edited by Jun 12, 2023, 2:36 PM

    I followed the steps shown in the video https://www.youtube.com/watch?v=xub4pjenLVs but when I run the .bat, nothing happens. my test code is as follows:

    nircmd sendkey press f1

    does nircmd still work?
    is there another more practical way to type keys? I searched here on the forum and found nircmd which can hold keys down and press others. example ctrl + alt + del. I need an option that allows creating key combinations

    R 1 Reply Last reply Jun 12, 2023, 11:21 PM Reply Quote 0
    • R
      Russ @fmaick93
      last edited by Jun 12, 2023, 11:21 PM

      @fmaick93, yes, nircmd still works. You're almost there. Just remove the space between sendkey and press, like this:

      nircmd sendkeypress f1
      

      Russell VanderMey

      F 1 Reply Last reply Jun 26, 2023, 8:52 PM Reply Quote 0
      • F
        fmaick93 @Russ
        last edited by Jun 26, 2023, 8:52 PM

        @Russ hello. I was able to run the sendkeypress command, but I'm trying to do several commands in the same file and only the first command is executed. I wrote the list of commands below and only the command "nircmd sendkeypress ctrl+shift+esc" is executed, the other commands are not executed. What can it be?

        nircmd sendkeypress ctrl+shift+esc
        nircmd wait 1000
        nircmd setcursor 1055 615
        nircmd wait 1000
        nircmd sendmouse left down
        nircmd wait 1000
        nircmd sendkeypress alt+f4

        1 Reply Last reply Reply Quote 0
        • First post
          Last post