Keyboard macros provide a way to record and replay keyboard sequences. Keyboard macros are distinct from scripting and UI event replay. For a scripting solution for Eclipse, please see the Eclipse Advanced Scripting Environment (EASE), and for UI event replay see SWTBot.
A macro is recorded using Shift-Alt-M. A macro is replayed using Ctrl-Shift-M (or Cmd-Shift-M on OS X).
All keyboarded input is recorded. Where a key sequence initiates an Eclipse Command, the command is checked whether it is suitable for a macro; unsuitable commands will abort the macro recording. Most mouse input will abort the recording, except for where it triggers an Eclipse Command (e.g., from a menu item).
Commands are vetted as some commands exhibit non-determinism in the UI presented to the user, such that subsequent calls may result in very different orderings of data. For example, the Open Type dialog shows recent opened types at the top, which will change. Commands with an unknown status will prompt as to whether they should be allowed.
The plugin is currently hosted in the E4 incubator and the latest snapshot is available from the p2 repository at:
Contributing Fixes and Improvements
The source is available at:
Please submit bugs via Bugzilla against e4/UI with "[macros]" in the description (link).
Please direct questions to the e4-dev mailing list. More system documentation to follow!