Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

MouseMove () issue using IE10

$
0
0

I have a program to run mousemove that works fine on a machine running IE8 but some machines that have IE10 do not preform properly. I use the mousemove to scan over fields looking for a specific file then click on that file. As stated it works fine in 8 but it moves over the file in 10 and does not stop and left click the file name. Here is a portion of the script, earlier in the script it opens IE to a specific (internal company) page then runs this. Thanks!!

 

 
$mousex = 12
$mousey = 80
$error = 0
Do
$mousey = 80
Do
MouseMove ( $mousex, $mousey, 0 )
sleep (300)
$text = WinGetText ( "Home-Windows Internet Explorer" )
    If StringInStr ( $text, "file name" ) > 0 Then
MouseClick ( "left" , $mousex, $mousey )
$error = 1
$savemousey = $mousey
$savemousex = $mousex
$mousey = 240
$mousex = 372
Else
$mousey = $mousey + 10
EndIf
Until $mousey = 240
 
$mousex = $mousex + 30
Until $mousex = 402
 
If $error = 0 Then
MsgBox ( 0, "Error", "Message" )
exit
EndIf
 

 

 


Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>