AlmarM Posted May 27, 2008 Posted May 27, 2008 (edited) Hey,I made this sollution for MsgBox Values.MsgBoxValues.au3expandcollapse popup#comments-start This script was made by: AlmarM He was sick of searching all those MsnBox Numbers. $p<Variable> = pressed (p = Pressed) $r<Variable> = remark (r = Remark) $i<Variable> = icon (i = Icon) $d<Variable> = default (d = Default) $m<Variable> = misc (m = Misc) #comments-end Global Const $pOK = 1 Global Const $pCANCEL = 2 Global Const $pABORT = 3 Global Const $pRETRY = 4 Global Const $pIGNORE = 5 Global Const $pYES = 6 Global Const $pNO = 7 Global Const $pTRY_AGAIN = 10 Global Const $pCONTINEU = 11 Global Const $rOK = 0 Global Const $rOK_Cancel = 1 Global Const $rABORT_RETRY_IGNORE = 2 Global Const $rYES_NO_CANCEL = 3 Global Const $rYES_NO = 4 Global Const $rRETRY_CANCEL = 5 Global Const $rCANCEL_TRYAGAIN_CONTINUE = 6 Global Const $iNO_ICON = 0 Global Const $iSTOP_ICON = 16 Global Const $iQUESTION_ICON = 32 Global Const $iEXCLAMATION_ICON = 48 Global Const $iINFORMATION_ICON = 64 Global Const $dFIRST_BUTTON = 0 Global Const $dSECOND_BUTTON = 256 Global Const $dTHIRD_BUTTON = 512 Global Const $mNOTING = 0 Global Const $mTOP_MOST = 262144 Global Const $mRIGHT_JUSTIFIED = 524288-AlmarM- Edited May 27, 2008 by AlmarM Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.
weaponx Posted May 27, 2008 Posted May 27, 2008 (edited) This was just done by KentonBomb last week...http://www.autoitscript.com/forum/index.ph...sgbox++constantEven better, if you just include Constants.au3 you get all of these...; ===============================================================================================================================; Message Box Constants; ===============================================================================================================================; Indicates the buttons displayed in the message boxGlobal Const $MB_OK = 0 ; One push button: OKGlobal Const $MB_OKCANCEL = 1 ; Two push buttons: OK and CancelGlobal Const $MB_ABORTRETRYIGNORE = 2 ; Three push buttons: Abort, Retry, and IgnoreGlobal Const $MB_YESNOCANCEL = 3 ; Three push buttons: Yes, No, and CancelGlobal Const $MB_YESNO = 4 ; Two push buttons: Yes and NoGlobal Const $MB_RETRYCANCEL = 5 ; Two push buttons: Retry and Cancel; Displays an icon in the message boxGlobal Const $MB_ICONHAND = 16 ; Stop-sign iconGlobal Const $MB_ICONQUESTION = 32 ; Question-mark iconGlobal Const $MB_ICONEXCLAMATION = 48 ; Exclamation-point iconGlobal Const $MB_ICONASTERISK = 64 ; Icon consisting of an 'i' in a circle; Indicates the default buttonGlobal Const $MB_DEFBUTTON1 = 0 ; The first button is the default buttonGlobal Const $MB_DEFBUTTON2 = 256 ; The second button is the default buttonGlobal Const $MB_DEFBUTTON3 = 512 ; The third button is the default button; Indicates the modality of the dialog boxGlobal Const $MB_APPLMODAL = 0 ; Application modalGlobal Const $MB_SYSTEMMODAL = 4096 ; System modalGlobal Const $MB_TASKMODAL = 8192 ; Task modal; Indicates miscellaneous message box attributesGlobal Const $MB_TOPMOST = 262144 ; top-most attributeGlobal Const $MB_RIGHTJUSTIFIED = 524288 ; right-justified title and text; Indicates the button selected in the message boxGlobal Const $IDTIMEOUT = -1 ; The message box timed outGlobal Const $IDOK = 1 ; OK button was selectedGlobal Const $IDCANCEL = 2 ; Cancel button was selectedGlobal Const $IDABORT = 3 ; Abort button was selectedGlobal Const $IDRETRY = 4 ; Retry button was selectedGlobal Const $IDIGNORE = 5 ; Ignore button was selectedGlobal Const $IDYES = 6 ; Yes button was selectedGlobal Const $IDNO = 7 ; No button was selectedGlobal Const $IDTRYAGAIN = 10 ; Try Again button was selectedGlobal Const $IDCONTINUE = 11 ; Continue button was selected Edited May 27, 2008 by weaponx
AlmarM Posted May 27, 2008 Author Posted May 27, 2008 Oh :S Didnt knew KentonBomb did it! Sorry KentonBomb!! Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.
AlmarM Posted May 27, 2008 Author Posted May 27, 2008 @ All I didnt knew KentonBomb had made this first!. So acualy all credits go to him! Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.
GEOSoft Posted May 27, 2008 Posted May 27, 2008 There are also a couple of MsgBox builders out there where you just input the title and the text then select the icon, buttons to use, default button &etc. and it will build the MsgBox for you. I have one in Project Express but I'm not about to separate that code. It's part of a major component builder and builds the MBs for different scripting languages. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!"
GEOSoft Posted May 27, 2008 Posted May 27, 2008 You can use CodeWizard. BTW: Good JobThat's the one I couldn't remember the name of. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!"
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