Are there some good tips about how to keep the mouseclick in the same place when the screen resolution changes? I write a program for my pc, but the mouseclicks are off when I run the program on my laptop. For example, automating the google preferences, where I say I want 100 items to display, and then I save the preferences.
Here's my code snippet, where I click on the "save" button, and then click on the modal dialog box to dismiss it.
oautoit.mousemove 918,839 'save
oautoit.mouseclick "left"
oautoit.mousemove 937,585 'modal
oautoit.mouseclick "left"
Works perfect on my pc, but is way off when I run the program on my laptop.