Jump to content

Need ur input


Recommended Posts

ok i need a loop hole what will continue until a new options pops up

Opt("WinWaitDelay",100)

Opt("WinTitleMatchMode",4)

Opt("WinDetectHiddenText",1)

Opt("MouseCoordMode",0)

WinWait("","")

If Not WinActive("","") Then WinActivate("","")

WinWaitActive("","")

Send("{ENTER}")

MouseMove(509,393)

MouseClick("left",509,393,2)

MouseMove(598,377)

MouseClick("left",598,377,2)

Send("{ENTER}")

MouseMove(520,389)

MouseDown("left")

MouseMove(520,388)

MouseUp("left")

Sleep(1000)

starts with Exceeded, then full, then normal, easy, right now its clicking over and over until it changes to full,normal,easy

need a funtion that will stop it and click on it when it sees, normal easy, or full and stop script

Link to comment
Share on other sites

Ok if i click on a button it will say exceed now if keep clicking on the button u will see it say full,normal,or easy, now im needing it to click on full,normal,easy, when these words popup....... FOR A SERVER.......

see im using a loop hole to click but need it to click on the word full when it pops up

Link to comment
Share on other sites

Ok so like this....

Opt("WinWaitDelay",100)

Opt("WinTitleMatchMode",4)

Opt("WinDetectHiddenText",1)

Opt("MouseCoordMode",0)

WinWait("BLAH","")

If Not WinActive("BLAH","") Then WinActivate("BLAH","")

WinWaitActive("BLAH","")

MouseMove(597,375)

MouseClick("left",597,375,2)

ContinueLoop [0]

$var = ControlGetText( "BLAH",1628708 )

Link to comment
Share on other sites

ControlGetText ( "title", "text", controlID )

>>>>>>>>>>> Mouse Details <<<<<<<<<<<

Screen: X: 645 Y: 338

Cursor ID: 0

>>>>>>>>>>> Pixel Color Under Mouse <<<<<<<<<<<

BGR: Hex: 0x5FE5EE Dec: 6284782

>>>>>>>>>>> Control Under Mouse <<<<<<<<<<<

Size: X: 0 Y: 0 W: 553 H: 671

Control ID: 1628708

ClassNameNN: ShImgVw:CZoomWnd1

Text:

>>>>>>>>>>> Status Bar Text <<<<<<<<<<<

>>>>>>>>>>> Visible Window Text <<<<<<<<<<<

am i doing this right

>>>>>>>>>>> Hidden Window Text <<<<<<<<<<<

Link to comment
Share on other sites

oh k here it is....

Channel-1(exceeded)

Channel-2(exceeded)

Channel-3(exceeded)

now if i keep clicking on them it will change to this

Channel-1(full)

Channel-2(exceeded)

Channel-3(full)

now i need to click on it when it says full.....

(FULL color is yellow) (Exceeded color is red) also when u click on the full it also changes to brown so that the mouse knows that uve clicked on it to select it..

any idea in doing this.........

Link to comment
Share on other sites

?????? I have already told you... ControlGetText()................................ Seeing as you have now mentioned colours. You COULD do a messy work around and use PixelGetColour(). Please don't as me for idea's that I have already provided that will/might work.

qq

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...