computing
  • 0

Need Batch File Help Sending Keys

  • 0

I’m trying to write a batch file that will send keystrokes to notetab pro. What keys I need sent are to: Ctrl+Shift T > Copy all > Exit

Can someone help me with what commands you would need in the batch file to send those keys? Thanks.

Share

1 Answer

  1. Hi,

    “but you have to download something.”
    We do all time 🙂

    “Still trying to figure out how to send the keys to notetab pro.”
    Open notetad pro and sendkey after?

    @echo off
    start C:”Program Files”\NotetadPro\NotetadPro.exe
    nircmd.exe wait 5000
    nircmd.exe sendkey t press
    nircmd.exe wait 1000
    nircmd.exe sendkey h press
    nircmd.exe wait 1000
    nircmd.exe sendkey i press
    nircmd.exe wait 1000
    nircmd.exe sendkey s press
    nircmd.exe wait 1000
    nircmd.exe sendkey 0x20 press
    nircmd.exe wait 1000
    nircmd.exe sendkey i press
    nircmd.exe wait 1000
    nircmd.exe sendkey s press
    nircmd.exe wait 1000
    nircmd.exe sendkey 0x20 press
    nircmd.exe wait 1000
    nircmd.exe sendkey a press
    nircmd.exe wait 1000
    nircmd.exe sendkey 0x20 press
    nircmd.exe wait 1000
    nircmd.exe sendkey t press
    nircmd.exe wait 1000
    nircmd.exe sendkey e press
    nircmd.exe wait 1000
    nircmd.exe sendkey s press
    nircmd.exe wait 1000
    nircmd.exe sendkey t press
    msg * Script ended
    exit

    Virtual Key Code of space bar = 0x20

    (Virtual key codes) – http://www.kbdedit.com/manual/low_l…

    Regards,

    MUs

    Happy is ONE who says I am an OttoMAN.

    • 0