The following macro simplifies and automates the generation of mouse positioning macros.
Say 'mouse position macro' and the following dialog box allows the selection of a number of options.
Once you are are happy with your settings DNS' Add New Command dialog is launched.
The advanced script code to position and optionally click the mouse is generated and ready from naming.
Here is a screen shot of the Add New Command dialog with generated code using the settings from the dialog above.