Jump to content

quick help with a small issue


Recommended Posts

$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

Link to comment
Share on other sites

$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.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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?

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