Macro Recording
Use macro recording to record actions in a script. Play the script back to automate the process or view the script to learn the Lua-based scripting language by example. Macro recording allows you to perform repetitive actions faster and with less effort.
On the Home tab, in the Scripting group, click the Record macro icon.