shanet Posted December 27, 2010 Posted December 27, 2010 (edited) Hey Forum, I would like to be able to add the following symbols to a button, but when I put them into SCITE, it doesn't understand the characters, and as far as I am aware, there is no function to display the symbol of an ascii character. ▲ ASCII CODE: 30 ▼ ASCII CODE: 31 So the question is, is there a function that displays these symbols, do I need to use a different editor or is there another way around it? Thanks guys, shanet Edited December 27, 2010 by shanet [font="Comic Sans MS"]My code does not have bugs! It just develops random features.[/font]My Projects[list][*]Live Streaming (Not my project, but my edited version)[right]AutoIt Wrappers![/right][/list]Pure randomness[list][*]Small Minds.......................................................................................................[size="1"]Simple progress bar that changes direction at either sides.[/size][*]ChristmasIt AutoIt Christmas Theme..........................................................[size="1"]I WAS BOOOORED![/size][*]DriveToy..............................................................................................................[size="1"]Simple joke script. Trick your friends into thinking their computer drive is haywire![/size][/list]In Development[list][*]Your Background Task Organiser[*]AInstall Second Generation[/list]BEFORE POSTING ON THE FORUMS, TRY THIS: %programfiles%/AutoIt3/autoit3.chm
Authenticity Posted December 27, 2010 Posted December 27, 2010 (edited) You need to change the encoding under File -> Encoding -> UTF-8. #include <GUIConstantsEx.au3> GUICreate("test") GUICtrlCreateButton("▲", 0, 0) GUICtrlCreateButton("▼", 0, 25) GUISetState() Do Until GUIGetMsg() = $GUI_EVENT_CLOSE Edited December 27, 2010 by Authenticity
shanet Posted December 27, 2010 Author Posted December 27, 2010 Thanks Authenticity. Works like a charm now shanet [font="Comic Sans MS"]My code does not have bugs! It just develops random features.[/font]My Projects[list][*]Live Streaming (Not my project, but my edited version)[right]AutoIt Wrappers![/right][/list]Pure randomness[list][*]Small Minds.......................................................................................................[size="1"]Simple progress bar that changes direction at either sides.[/size][*]ChristmasIt AutoIt Christmas Theme..........................................................[size="1"]I WAS BOOOORED![/size][*]DriveToy..............................................................................................................[size="1"]Simple joke script. Trick your friends into thinking their computer drive is haywire![/size][/list]In Development[list][*]Your Background Task Organiser[*]AInstall Second Generation[/list]BEFORE POSTING ON THE FORUMS, TRY THIS: %programfiles%/AutoIt3/autoit3.chm
Zedna Posted December 27, 2010 Posted December 27, 2010 (edited) GUICtrlCreateButton(Chr(30), 0, 0) Edited December 27, 2010 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search
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