Jump to content

Recommended Posts

Posted

$Input1 = GUICtrlCreateCombo("5000", 0, 20, 50, 21)
GUICtrlSetData(-1, "5000|5100|5200|5300|5400|5500|5600|5700|5800|5900|6000|6100|6200|6300|6400|6500")

"5000" = PixelSearch(471, 482, 471, 482, 13921636, 50) 

    Do(GUICtrlRead($Input1)
        Until Not @error
    Send("{UP}")
        Do(GUICtrlRead($Input2)
        Until Not @error
    Send("{UP}")

(79,8) : ERROR: syntax error

"5000"

~~~~~~~^

i assume i need to call these as functions just not sure what im missing

Posted

$Input1 = GUICtrlCreateCombo("5000", 0, 20, 50, 21)
GUICtrlSetData(-1, "5000|5100|5200|5300|5400|5500|5600|5700|5800|5900|6000|6100|6200|6300|6400|6500")

"5000" = PixelSearch(471, 482, 471, 482, 13921636, 50) 

    Do(GUICtrlRead($Input1)
        Until Not @error
    Send("{UP}")
        Do(GUICtrlRead($Input2)
        Until Not @error
    Send("{UP}")

(79,8) : ERROR: syntax error

"5000"

~~~~~~~^

i assume i need to call these as functions just not sure what im missing

You Must write a variable name like $_PixelSearch !

"5000" can't be a variable and can't give you a result !

See PixelSearch function in helpfile Posted Image

AutoIt 3.3.18.0 X86 - SciTE 4.4.6.0WIN 11 24H2 X64 - Other Examples Scripts

Posted

Input1 = GUICtrlCreateCombo("5000", 0, 20, 50, 21)
GUICtrlSetData(-1, "$5000|$5100|$5200|$5300|$5400|$5500|$5600|$5700|$5800|$5900|$6000|$6100|$6200|$6300|$6400|$6500")

$5000= PixelSearch(471, 482, 471, 482, 13921636, 0)


Do
    $coord = PixelSearch(guictrlread($Input1),guictrlread($Input1),Guictrlread($Input1),Guictrlread($Input1),Guictrlread($Input1),Guictrlread($Input1))
        Until Not @error
    Send("{UP}")

is what i have now, and another issue as arrived it seems its not reading the pixelsearch values off this method

Posted

is what i have now, and another issue as arrived it seems its not reading the pixelsearch values off this method

Hi, what you have here does not make a lot of sense?

Can you explain what you want to do with the Data in the set because they do not look like coordinates?

What is the "Up" suppose to do?

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
×
×
  • Create New...