Win 7 - Task Scheduler Not working

Copenhagen69

Diamond Member
Feb 8, 2005
3,055
0
76
I am trying to set up some task scheduling stuff. However once I get the program 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
 

[DHT]Osiris

Lifer
Dec 15, 2015
16,496
15,324
146
I am trying to set up some task scheduling stuff. However once I get the program 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
A little confused here. Are you trying to launch a program/playlist/whatever with Ctrl-A? That's not how task scheduler works. What your existing setup will do will, under $trigger (can't tell as it's a different tab) it will launch "C:\Users\Desktop\test.mrf WshShell.SendKeys “^{A}”" which will likely fail catastrophically. More common usages of this setup would be to launch the program 'ping.exe' with an argument of '-t google.com' or something.

If you're looking for an option of macroing keys to actions, there's gobs of programs out there, as well as dedicated macro keyboards.
 
  • Like
Reactions: Copenhagen69

Copenhagen69

Diamond Member
Feb 8, 2005
3,055
0
76
So basically ... I am trying to schedule the program to be opened. The software is a mouse recording software that I have already built what I want it to do. So I was hoping to schedule the task to open the mouse recording software. Then the CTRL+A is the quick key command that will play my recorded mouse click file.

.... does that make more sense?? Ives never used any type of scheduler before so it is all new to me.


Sent from my iPhone using Tapatalk
 

[DHT]Osiris

Lifer
Dec 15, 2015
16,496
15,324
146
So basically ... I am trying to schedule the program to be opened. The software is a mouse recording software that I have already built what I want it to do. So I was hoping to schedule the task to open the mouse recording software. Then the CTRL+A is the quick key command that will play my recorded mouse click file.

.... does that make more sense?? Ives never used any type of scheduler before so it is all new to me.


Sent from my iPhone using Tapatalk
Understood, it won't follow a command with another command, doesn't quite work that way. It initiates a command with a parameter. 'ping.exe' with a parameter of '-t google.com' would be the example I gave. I suppose there might be some way of kludging together something to initiate the commands one after another, but I don't think it'd work right.

Your mouse recording software, does it have its own way of initiating tasks based on triggers aside from keystrokes? That might be easier to work with.

Alternatively there may be software which can simply initiate a keystroke based on a trigger, not utilizing windows task scheduler for it. So you could have the software up (or start it) then have a second piece of software initiate the keystroke.
 
  • Like
Reactions: Copenhagen69