User9999 0 Posted January 16, 2011 Hello guys,I am really new to it, so here comes a newbie problem.My script does not work in a specific program ("x").I tryed activating it on the script, but the mouse doesn`t move and the clicks doesn`t work at this aplication, but if I alt+tab back to the SciTE screen, it will start clickingWhat could be happening?$count = 0doWinActivate("X")MouseClick("left",1100, 695,2) ;MouseClick("left",451, 492,6) ;MouseClick("left",186, 651,2) ; MouseClick("left",878, 682, 2) ; MouseClick("left",44, 279,2) ;MouseClick("left",622, 403,2) ;$count = $count + 1 Until($count>10) Share this post Link to post Share on other sites
somdcomputerguy 103 Posted January 16, 2011 Make sure 'X' is the exact, full title of the program you're automating, or set the WinTitleMatchMode option.Opt("WinTitleMatchMode", 1) ;1=start, 2=subStr, 3=exact, 4=advanced, -1 to -4=Nocase - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Share this post Link to post Share on other sites
User9999 0 Posted January 16, 2011 Make sure 'X' is the exact, full title of the program you're automating, or set the WinTitleMatchMode option. Opt("WinTitleMatchMode", 1) ;1=start, 2=subStr, 3=exact, 4=advanced, -1 to -4=Nocase It was not that, but thanks!! It had something to do with administrator permissions, I removed some security things on computer which always made to ask permission when performing changes to the aplication, and now it worked. Share this post Link to post Share on other sites