DigDeep Posted May 11, 2015 Posted May 11, 2015 As per the help file the below code gives the result as : 128Is there anyway I can get the font in the color code instead of the number? I don't want GUI base.#include <Color.au3> Local $iColor = _ColorGetRed(0x8080ff) MsgBox(0, "AutoIt", $iColor)
UEZ Posted May 11, 2015 Posted May 11, 2015 As per the help file the below code gives the result as : 128Is there anyway I can get the font in the color code instead of the number? I don't want GUI base.#include <Color.au3> Local $iColor = _ColorGetRed(0x8080ff) MsgBox(0, "AutoIt", $iColor) What do you mean with "font in the color color code"? The _ColorGet* functions are for getting the RGB values nothing more. Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ
DigDeep Posted May 11, 2015 Author Posted May 11, 2015 I see...Below code is just a dummy one and might not be correct. But this is what I wanted.When the messageBox appears it would show text in color.Now I know msgbox cannot give color text. so is there any ways the Func could be changed so that text would be coming in Red? While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Case $Ok Select Case Not ProcessExists("ProcessName") Message() MsgBox(0, "", $Message) EndSelect EndSwitch WEnd Func Message() Select Case Not ProcessExists("ProcessName") $Message = "Not running" GUICtrlSetColor($Message, $COLOR_RED) Case Else $Message = "running" EndFunc
UEZ Posted May 11, 2015 Posted May 11, 2015 Try this: https://www.autoitscript.com/forum/topic/109096-extended-message-box-new-version-6-may-15/ Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ
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