To use a script, select Start recording option from the Script menu at the Workstation Login screen (ALT+S), and then start to build the script by doing operation entries. When you are done, select the Stop recording option from the Script menu.
Use the Play script option to run the script. You can define how many time you want to run the script in a loop.