Jump to content
Sign in to follow this  

help with an active program

Recommended Posts


I am a newbie and simply just not good with coding...

That being said, I am trying to get an active program to follow some steps:

Program startup

Script 1:

Run ("C:\CoRRedactionApp\CoRRedactionApp.exe")

WinWaitActive("InputAccel Server Login", "OK")


WinWaitActive("CoRRedaction", "Start")


This works like a charm.

Program Shutdown

Script 2:


ControlClick( ”[CLASS:WindowsForms10.BUTTON.app.0.2004eee2]”, “”, 917724)

WinWaitActive("CoRRedaction", "Stop")


;WinWaitActive("CoRRedaction", "Close")


It seems that no matter what I have tried I have not been able to get a button click sequence to stop and then close the running app.

Any suggestion would be welcomed, I have tried controlsend, mouseclicks and more but maybe I am missing something simple I always seem to get a syntax error of some sort.


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this