Jump to content

MouseMove not work after WinMove


Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...