ali4533 Posted October 6, 2009 Share Posted October 6, 2009 hi I have a crazy problem in all windows but 7 (like xp, vista)!!! if i use any win... functions (like winactivate or winmove) in my script, after that , MouseMove and MouseClick didnt work. but in windows 7 i havent any problem. this script works fine any where : MouseClick ("main",100,200,1,1) but these not : ;sample 1 WinActivate("[CLASS:MSPaintApp]") dim $a=250 While 1 $a = $a + 1 MouseClick ("main",$a,200,1) if $a=300 Then Exit EndIf WEnd ;sample 2 WinActivate("Untitled - Paint") MouseClick ("main",100,200,1,1) how can i fix it? Link to comment Share on other sites More sharing options...
jvanegmond Posted October 6, 2009 Share Posted October 6, 2009 WinWaitActive? github.com/jvanegmond Link to comment Share on other sites More sharing options...
ali4533 Posted October 6, 2009 Author Share Posted October 6, 2009 WinWaitActive?WinWaitActive too. Link to comment Share on other sites More sharing options...
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