Solved

Simple macro recorder that can be scheduled

Posted on 2013-01-14
8
301 Views
Last Modified: 2013-02-09
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?
0
Comment
Question by:brettr
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
8 Comments
 
LVL 37

Expert Comment

by:TommySzalapski
ID: 38775573
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.
0
 

Author Comment

by:brettr
ID: 38775678
I'm looking for something GUI based.  Not scripts.

This would be perfect http://www.winautomation.com but to high at $150.
0
 
LVL 37

Expert Comment

by:TommySzalapski
ID: 38775835
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?
0
Why You Need a DevOps Toolchain

IT needs to deliver services with more agility and velocity. IT must roll out application features and innovations faster to keep up with customer demands, which is where a DevOps toolchain steps in. View the infographic to see why you need a DevOps toolchain.

 

Author Comment

by:brettr
ID: 38775873
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.
0
 
LVL 37

Expert Comment

by:TommySzalapski
ID: 38776056
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
0
 

Author Comment

by:brettr
ID: 38776203
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?
0
 

Author Comment

by:brettr
ID: 38776348
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.
0
 
LVL 37

Accepted Solution

by:
TommySzalapski earned 500 total points
ID: 38787508
There are commands to activate a Window and to move the mouse in AutoIT.

I used to use Aldo's Macro recorder back in the day. It's just a recorder so it can't hook into the window handle like AutoIT, but if you want one that records your mouse movements and plays them back, it will.
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
active directory, exhange 12 62
internal SLA's for IT provision 6 39
Compatibility view list registry key 1 47
Notepad++ Question 11 28
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
IT certifications are a concrete representation of continual learning on the part of the candidate.  Continual learning is necessary for the long term success of an IT professional, but are IT certifications the right path for you?
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question