Jump to content
Sign in to follow this  
MPlb

Symbols in AutoIT

Recommended Posts

MPlb

How can I put symbols in commands such as:

GUICtrlCreateLabel ("Some text", 10, 60)

or

MsgBox (48,"Test","Some more text")

For example I'd like to put a wingding symbol before the word "Some

Using the CHR command I can't seem to find the characters in wingdings, just the standard fonts etc.

Thanks

Share this post


Link to post
Share on other sites
Prophet

CHR only supports the normal ASCI (from 1 to 256)

Try ChrW()

$text = ""
For $i = 256 to 512
    $text = $text & ChrW($i)
Next
MsgBox(0, "Unicode chars 256 to 512", $text)

+==================================================================+| The Definition of Madness: Creating a GUI, with GUI automation scripts |+==================================================================+

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.