About the cursor....

Is there a way to move the cursor from an AppleScript?

Is there a way to tell where it is in display coordinates?

There is the “Cursor Suite” in XTool:
http://www.osaxen.com/xtool.html

That’s a great tool, but it doesn’t always work. In the Energy Saver window, for example, the “move mouse” command places the cursor correctly over a check box, but the “mouse click” command does not change the state of the box. It appears that the move is not being recorded as an event by the Energy Saver gui although the cursor is in the right place, so the click is not “seen”. If I just move with the script but then push my own mouse button, the box toggles as it should. Interesting. I’ve written to the author about this.