Send Keys task not working - VisualCron - Forum

Community forum

Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.

Good morning,

I'm trying to set up a Send Keys task in a job and am having an issue.

I have the "Application Title" and "Class Name" populated for my target, along with the text to send.

When it executes, it only makes the window icon flash in the task bar because it doesn't have focus.

If I start the job and have a delay first, then swap to the target window, the send keys works as intended and send the text.

Execution Context is set for:
- Foreground Execution
- Execute on Any Session

I've tried to set it for Same User or Specified Desktop Session and neither helped. I thought it might have been the application (a CMD window running a Java app), but I've tested with just an empty Notepad window with the same behavior.

Once the job runs, the Tray Client stops and subsequent job runs fail. The only way to get back to the app title blinking (original state) is to stop/restart the VC service and manually start the Tray Client again.

Any ideas or suggestions? TIA!
Forum information
Rachel Gomez
Here is how you can do it:
Click Start, then head to Settings > System > Update & Security.
Click Troubleshoot > Additional troubleshooters.
Under Find and fix other problems, select Keyboard.
Select Run the troubleshooter to start the scan.

Rachel Gomez
Scroll to Top