Jump to content

Search the Community

Showing results for tags 'color pixelgetcolor'.

  • 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

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Location


WWW


Interests

Found 2 results

  1. I plan to write an Au3 script to automatically install a PPT plug-in. Because the button on the installation wizard of the PPT plug-in is not a standard control, I consider writing a while loop to constantly judge the color of a specific location on the installation wizard. When the plug-in is successfully installed, a blue "Start Software" button will appear at this location, so that I can let the script close the installation wizard window. But when I used the PixelGetColor function, the script did not get the color of the button on the installation wizard. On the contrary, it went
  2. I have been busy elsewhere and today I dusted off AutoIt and decided to try something. This script will identify a color under the mouse and reply in human terms. I set the values to return on a scale of 0 to 10 and then using my best judgement I named the color. It could use some tweaks but it works. While 1 $pos = MouseGetPos() $ax = $pos[0] $ay = $pos[1] $var = PixelGetColor( $ax , $ay ) $color = Hex($var,6) $Redcv = Int(Dec(StringLeft ($color,2))/25.5) $Blucv = Int(Dec(StringRight ($color,2))/25.5) $Grncv = Int(Dec(StringMid ($color,3,2))/25.5) $cvalue = Get_Color ($Redc
×
×
  • Create New...