When writing a script, you might use mouse action for every occasion. But we do not recommend that behavior. If you can use the keyboard to finish an action, please do not use the mouse. Keyboard action is more stable than mouse action for some conditions. Let's make better use of keyboard shortcuts.
1. Minimize, Maximize, and Close a Window
When you have to perform some actions for your application window, some people will use the mouse to click the button on the title bar, such as Minimize/Maximize/Close Buttons. But have you realized that those buttons are too small and might cause Image Analysis to fail? Do you know there are keyboard shortcuts to perform those functions?
We suggest you use Key Stroke Action for those functions to perform the keyboard shortcut.
Minimize = [Win] + [arrow Down]
Maximize = [Win] + [arrow Up]
Close Window = [Alt] + [F4]
Use mouse click to click the maximize button:
Use keystroke instead:
2. Filling out a Login form
When filling out a login form, you can jump from the Username field to the Password field using the “Tab” and finish it with “Enter” to click the Login button.
Use Tab to jump to the second text field, then Type the value: