Jump to content

Search the Community

Showing results for tags 'Pixelsearch laptop not workin'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • Forum FAQ
  • AutoIt

Calendars

  • Community Calendar

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. I'm not sure, why, but it seems that Pixelsearch isn't working on my laptop. I tested it just to make sure, and it's definitely not working. Any idea if there's a function or something that will make the laptop recognize Pixelsearch or a different approach at pixelsearch? Here's the two codes I made to test it out. First Code: If Pixel at X location is X color, MsgBox popup and function endloop. HotKeySet("{1}","Start") HotKeySet("{2}","Stop") dim $i dim $pos[2] dim $check Func Start() MsgBox(0,"Started","Started") for $i = 1 to 9999999999 $check = PixelGetColor(345,344) if not @Error Then if $check = 16756425 Then MsgBox(0,"Worked","Worked") ExitLoop EndIf EndIf Next MsgBox(0,"Done","Done") EndFunc Func Stop() Exit EndFunc While 1 Sleep(10) WEnd Second Code: If area around Pixel at X location is X color then MsgBox popup and function endloop.<-Doesn't work on laptop at all. HotKeySet("{1}","Start") HotKeySet("{2}","Stop") dim $i dim $pos[2] dim $check Func Start() MsgBox(0,"Started","Started") for $i = 1 to 9999999999 $check = PixelSearch(300,400,300,400,16756425) if not @Error Then if $check = 16756425 Then MsgBox(0,"Worked","Worked") ExitLoop EndIf EndIf Next MsgBox(0,"Done","Done") EndFunc Func Stop() Exit EndFunc While 1 Sleep(10) WEnd
×
×
  • Create New...