Jump to content
Sign in to follow this  
ali4533

MouseMove not work after WinMove

Recommended Posts

ali4533

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?

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.