• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.
  • The forums have been upgraded with support for dark mode. By default it will follow the setting on your system/browser. You may override it by scrolling to the end of the page and clicking the gears icon.

Task scheduler issue - can’t get sendkeys to work

Joined
Jan 27, 2010
Messages
4,158 (0.74/day)
Location
USA
System Name ASUS ROG Zephrus M15
Processor AMD Rhyzen 7 4800HS
Memory 16GB
Video Card(s) Geforce RTX 2060
Storage 1TB
I am trying to set up some task scheduling stuff. However once I get it going I cannot get the keyboard shortcut to play the program.

I have in arguments - WshShell.SendKeys “^(A)”

CTRL+A is the command to play

What am I missing with this. As far as my research goes this is the correct command to get it to run.

2zh338w.jpg
 
How about:

WshShell.SendKeys "^A"

Yep tried that. I’ve tried almost every combo I can think of for this haha. Nothing seems to work. I am really confused as everything I read said this should work
 
Back
Top