Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: One more Batch File ?. Launch Shortcut Key sequence via Command Line?  (Read 3245 times)

0 Members and 1 Guest are viewing this topic.

AaronStarr

    Topic Starter


    Rookie

    One more Batch File Question:

    Can I trigger a shortcut key sequence from a batch file (command line), as if a key combination had been pressed (ex. CTRL+ALT+B)?

    Thanks Guys (and Gals). Appreciate it.

    Sidewinder



      Guru

      Thanked: 139
    • Experience: Familiar
    • OS: Windows 10
    Can I trigger a shortcut key sequence from a batch file (command line), as if a key combination had been pressed (ex. CTRL+ALT+B)?

    I don't think so. VBScript has a sendkeys method that may be helpful. Is this shortcut key sequence needed to launch a program? Let us know.

     8)

    The true sign of intelligence is not knowledge but imagination.

    -- Albert Einstein

    AaronStarr

      Topic Starter


      Rookie

      Basically, I was wanting to use hotkeys that I have set up (w/ my 'HotKeyControl' program) to trigger things. Some for starting programs, yes.

      Where's a good place to learn about VBScript? Is it difficult? And what type of (authoring/?compiling?) programs do you need for that?

      Thanks.

      AaronStarr

        Topic Starter


        Rookie

        Scratch the questions above about VBS Scripts. I found some info on the net.