Jump to content
Sign in to follow this  
magician13134

String to hex (Not Hex())

Recommended Posts

magician13134

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
SmOke_N

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])?

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.

Share this post


Link to post
Share on other sites
smashly

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.