Recording keystrokes and mouse clicks?
apple Verified ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Greetings,
I need to be able to make scripts/macros by recording keystrokes and mouse clicks with location.
Is this possible with Automator?
Does anyone know of a way program to do this?
It seems so simple.
Thanks
6 replies
Sign in or join Beachball Help to reply.
- 0
Apple Support Community member ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Open Automator, select Automator Help from the Help menu, search for "record." The first article explains how to record actions.
- 0
Apple Support Community member ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
???
I do not see anything about recording the location of mouse clicks or recording keystrokes.
When I click record, they are not recorded.
- 0
Apple Support Community member ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Copied from the help file - did you find it?
Recording your actions
You can create automations by having Automator record what you do. Automator can record your keyboard and mouse events and create a custom action. This new action, called a “Watch Me Do” action, contains the recorded series of events. When you run your workflow, the recorded events are executed.
NOTE: For Automator to record your actions, “Enable access for assistive devices” must be selected in the Universal Access preferences.
Open Universal Access preferences
To have Automator record what you do:
Before you begin recording you should consider where the recorded actions should begin. You may need to set up the environment before you start to record. For instance, if you expect that an application would be open when the workflow is used, then you should open the application before you begin recording.
In an Automator workflow, click Record. The Automator:Recording message appears with the stop button.
Perform the series of steps that you want recorded.
When you have finished the steps you want recorded, click the Stop button.
Click Run to test your recorded actions.
You can adjust the settings of the action to change the way your recording performs:
■ If you want to remove an event from the list, select the event and type Delete.
■ If you want to set a timeout limit for user action, adjust the Timeout using the up and down arrows.
■ If you want to change the speed the recording plays back, adjust the playback speed using the slider.
- 0
Apple Support Community member ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Ohhh. Okay. I see. Thanks.
I also need it to record when I click and drag, but it isn't recording that it seems. I click and drag, but when I play it back it only clicks.
- 0
Apple Support Community member ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Can't help you with that, sorry.
- 0
Apple Support Community member ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Precisely the same problem. I drag the screen to top left but when I play back it clicks mouse then moves it - does not function correctly for drag recording.
Is there a short cut key sequence like the home function most apps have to get to top left corner to over come this - you want all macros to start at a known point.
Also the step button just runs the whole work flow not one step at a time and the shortcut CTL+. does not stop an out of control macro from excuting any further. These I would think would be basic functional requirements of a macro language (known start and stop and basic debugging). So far this tool is very disappointing. Only simplistic functions work reliably.