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

run a key press simulation

General Discussion
4
7
716
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.
  • M
    marcott
    last edited by Jan 20, 2022, 12:49 AM

    I'm trying to get triggercmd to run a keypress command but I can't seem to figure it out!

    what I would like to do is to have the command press ctrl+shit+alt+b
    on a windows 10

    thank you

    R F 2 Replies Last reply Jan 20, 2022, 1:17 AM Reply Quote 0
    • R
      Russ @marcott
      last edited by Jan 20, 2022, 1:17 AM

      @marcott, please try this as a .bat file script:

      nircmd sendkey shift down
      nircmd sendkey ctrl down
      nircmd sendkey alt down
      nircmd sendkey b press
      nircmd sendkey shift up
      nircmd sendkey ctrl up
      nircmd sendkey alt up
      

      If you don't have nircmd yet, this video shows how to install it.

      This is the relevant nircmd documentation page: https://nircmd.nirsoft.net/sendkey.html

      Russell VanderMey

      P F 2 Replies Last reply Dec 7, 2022, 7:53 PM Reply Quote 0
      • T tuicemen referenced this topic on Jan 23, 2022, 5:11 PM
      • P
        Pedro Paulo 0 @Russ
        last edited by Dec 7, 2022, 7:53 PM

        @Russ I was trying to run a .bat file to press Ctrl+Insert but when triggercmd runs it the cmd window stay opened. While when i started it manually the cmd window close automatically. What can i do to fix it?

        R 1 Reply Last reply Dec 7, 2022, 9:51 PM Reply Quote 0
        • R
          Russ @Pedro Paulo 0
          last edited by Dec 7, 2022, 9:51 PM

          @Pedro-Paulo-0 can you show me your .bat file?

          Russell VanderMey

          1 Reply Last reply Reply Quote 0
          • F
            fmaick93 @marcott
            last edited by Jun 12, 2023, 2:26 PM

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • F
              fmaick93 @Russ
              last edited by Jun 12, 2023, 2:29 PM

              @Russ I followed the steps shown in the video but when I run the .bat, nothing happens. my code is the following:
              nircmd sendkey press f1
              does nircmd still work?

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

                @fmaick93, please try this command (no space in sendkeypress):

                nircmd sendkeypress f1
                

                Russell VanderMey

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