How to Auto Run Keyboard Shortcuts at Windows Sartup after a pause

c627627

Golden Member
Jan 8, 2002
1,155
0
76
What .bat file command run at startup accomplishes the following:

1. Pause 60 seconds to give time for a program to auto start at Windows Startup.
2. Run combo key command CTRL and ` pressed simultaneously.
3. Pause 5 seconds.
4. Run key combo key command CTRL and Enter pressed simultaneously.

Thank you.
 

Ken g6

Programming Moderator, Elite Member
Moderator
Dec 11, 1999
16,242
3,830
75
I'm sure there's some way to do this with PowerShell. But since nobody's come up with one here, I'll suggest AutoIt. AutoIt can detect window names, so you can avoid sleep-and-guess. You should be able to set it as a scheduled task to run at startup.