User9999 Posted January 16, 2011 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)
somdcomputerguy Posted January 16, 2011 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.
User9999 Posted January 16, 2011 Author 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.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now