brettr
asked on
Simple macro recorder that can be scheduled
I need a macro recorder that can run on Windows Server 2008. All I need is for it to click a button in a specific window. But it needs to do this every x minutes. Any ideas?
I would look into AutoIT. There are lots of examples on the web and it can do basically any automated task. It is good and clicking on the actual button (not just screen coordinates) so if the window moves, it still gets it.
ASKER
I'm looking for something GUI based. Not scripts.
This would be perfect http://www.winautomation.com but to high at $150.
This would be perfect http://www.winautomation.com but to high at $150.
Well, Windows Task scheduler can do the scheduling for you. Then you just need an application that can click the button. Will the button always be in the same place on the screen? What does the button do? Can you push the button from the command prompt?
ASKER
The macro program would do better to recognize the window then x/y coordinates of the button within that window, rather than depending on the window always being in the same location.
It can't be done from a command prompt.
Yes - windows task scheduler is probably fine.
It can't be done from a command prompt.
Yes - windows task scheduler is probably fine.
It would be a one-line "script" in AutoIT
ControlClick("window title","","[TEXT:button text]")
You would just save the "script" as a .exe and call it from the Task Scheduler
ControlClick("window title","","[TEXT:button text]")
You would just save the "script" as a .exe and call it from the Task Scheduler
ASKER
I gave it a try. It only works if the window is in the foreground. If I click another window, it doesn't work. Even if the target window is completely visible. Does this program have a way to handle a window that isn't in the foreground?
ASKER
Ok, I see one issue with AutoIT. Since it doesn't use the mouse, it doesn't create any activity on the machine. This means the display and sleep will engage. I need a recorder that can record mouse moves and also has the ability to still click a button in the target window.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.