p2p2 Posted March 21, 2012 Share Posted March 21, 2012 I have a little Problem with colours... I want to create a bot that automatically adds the html-codes for a rainbow-colored text to a text in the clipboard. But my problem is: I want to cut the rainbow in 20 pieces And every letter has one of the 20 colours. (the Xth letter has the colour of the Xth piece) so I always have to calculate with the colours because I want to choose the colour with which it begins! (20 rainbow colours - the first one is the selected one)(I select the colour with _ChooseColor) With numbers as colour-codes it wouldn't be a problem! but for the HTML-code I need the colour-codes as RGB-HEX colours! how can I do that in AutoIt? p2 Link to comment Share on other sites More sharing options...
jvanegmond Posted March 21, 2012 Share Posted March 21, 2012 See the example given for the _ChooseColor function. It solves the problem you have described. github.com/jvanegmond Link to comment Share on other sites More sharing options...
p2p2 Posted March 31, 2012 Author Share Posted March 31, 2012 cool, thanx! haven't seen the example when searching for the solution. Link to comment Share on other sites More sharing options...
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