Estimize Posted October 15, 2015 Posted October 15, 2015 if I wanted to use this colour in a function would I just copy and paste what it says in the help window shown in the photo below?
Bert Posted October 15, 2015 Posted October 15, 2015 In your screenshot the "600" is the x and the 332 is the y. The color listed is in hex. The Vollatran project My blog: http://www.vollysinterestingshit.com/
Estimize Posted October 15, 2015 Author Posted October 15, 2015 what is x and isn't the x and y just the co-ordinates?
water Posted October 15, 2015 Posted October 15, 2015 Correct. Color is 0x000000. Which function do you want to use to change the color? Color of what? A GUI control, text in an editor ...? My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki
Estimize Posted October 15, 2015 Author Posted October 15, 2015 (edited) I don't need to change the colour I just need to make an if statement that checks what the colour is then makes a decision based on that information. and above I meant what is hex? Edited October 15, 2015 by Estimize
water Posted October 15, 2015 Posted October 15, 2015 Can you please describe exactly what you want to do? Automating a browser is something completely different than to automate a windows program. My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki
Estimize Posted October 15, 2015 Author Posted October 15, 2015 I just need to check the colour of the anywhere on the screen I will try format a bit of code.something likeFunc_1() while 1 if mouseclick("left" , x , y) = Red Then mouseclick("left" x ,y) wend endfunc
Estimize Posted October 15, 2015 Author Posted October 15, 2015 So would it be func_1() While 1 if PixelGetColour(x, y) = Red then mouseclick("left, x, y) wend endfunc
Developers Jos Posted October 15, 2015 Developers Posted October 15, 2015 (edited) Dog eat your helpfile?It would be nice when you open it every now and then to check syntax validity before asking the questions here. Also think about what you posting and try understanding it...eg: how will this script Func end?Jos Edited October 15, 2015 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now