Sign in to follow this  
Followers 0
magician13134

String to hex (Not Hex())

3 posts in this topic

When I use _ChooseFont the seventh array element is color, but it comes out as a string, so when I try to use it, I get an error... it's like trying to use "0xFFFFFF" instead of 0xFFFFFF... Any ideas?

Share this post


Link to post
Share on other sites



When I use _ChooseFont the seventh array element is color, but it comes out as a string, so when I try to use it, I get an error... it's like trying to use "0xFFFFFF" instead of 0xFFFFFF... Any ideas?

Execute($array[7])?

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

I didn't know I could use Execute to do that ...doh

Smoke_N you never stop amazing me, it's the little things that you post that open my limited mind in autoit

I used StringFormat() to do something similar to what magician13134 asked.

Cheers

Edited by smashly

Share this post


Link to post
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
Sign in to follow this  
Followers 0