Jump to content

Recommended Posts

Posted (edited)

Before I had this problem.

My scripts performed "send" very fast.

Then I close Notebook lid, then it went to sleep mode. (I used to set it to "Do nothing" after close lit but I forget it that I reinstalled Windows)

I run script again, It perform "Send" very slow.

I don't know why. Please help me. 

Ssorry for my bad English.

 

Finding where picture is, then get position and click then typing by use "Send"

Opt("SendKeyDelay", 0)
Opt("SendKeyDownDelay", 0)

$Match18 = _MatchPicture("XXXXXXX\Screenshot_18.png", 0.85,"",30)
$Match19 = _MatchPicture("XXXXXXX\Screenshot_19.png", 0.85,"",30)
If IsArray($Match18) Then
    MouseClick("left", $Match19[0] + 30, $Match19[1] + 30, 1, 0)
    Send("inform")
    Sleep($r)
EndIf

$check = _MatchPicture("XXXXXXX\check.png", 0.85,"",30) ;;; check
If IsArray($check) Then
    MouseClick("left", $check[0] + 10, $check[1] + 10, 1, 0)
    Sleep($r)
EndIf

$next = _MatchPicture("XXXXXXX\next.png", 0.85,"",30)  ;;;;next
If IsArray($next) Then
    MouseClick("left", $next[0] + 10, $next[1] + 10, 1, 0)
    Sleep($SleepNext)
EndIf

 

Edited by waritxx
insert code

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
  • Recently Browsing   0 members

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