Hasher Posted January 10, 2007 Share Posted January 10, 2007 (edited) THANKS FOR LOOKING BUT I FOUND THE SOLUTION ON THE BOARD AT :http://www.autoitscript.com/forum/index.ph...n++screen++sizeTHANKS AGAIN!!!HiI have made a simple script that is in my startup folder to make a vote on a website each time my computer starts. As you can see from the source below its based on screen postions as the website is based on flash . This method works fine on the machine I coded and tested it on. When the script is run on another machine it clicks in the totally wrong places and the script fails. I know this is because of screen settings ........is there a coding way of getting around this probelm ?#include <IE.au3> ;Open website $oIE = _IECreate("http://www.monopoly.com.au/",0,1,1,1) ;maximize the window WinSetState("monopoly", "", @SW_MAXIMIZE) ;wait till website is loaded _IELoadWait ($oIE) ;Click the "skip intro" MouseClick("left", 1079, 696, 2) sleep(1000) ;Click on "Western Australia" link MouseClick("left", 268, 396, 1) sleep(1000) ;Click on "Cast my vote" MouseClick("left", 872, 654, 1) sleep(1000) ;Exit script _IEQuit ($oIE) sleep(2000)Any help is appricaited Paul Edited January 10, 2007 by Hasher Firefox's secret is the same as Jessica Simpson's: its effortless, glamorous style is the result of shhh extensions! Link to comment Share on other sites More sharing options...
Recommended Posts