Send Keys task not working - VisualCron - Forum

Community forum

SickPup404
2023-01-25T15:48:48Z
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!
Steve
Sponsor
Forum information
Scroll to Top