gcriaco Posted January 28, 2005 Posted January 28, 2005 This script provides a window to generate easily input boxes.You can download it from:http://www.autoitscript.com/fileman/users/public/gcriaco/Todo List:Merge of MessagBoxWizard and InputBoxWizard scripts in just one script (CodeWizard)Any suggestion/criticism about other functions code generator is welcome.Peppe
Chris_1013 Posted January 28, 2005 Posted January 28, 2005 I've already ages ago written a SplashText generator, but it uses AU3GUIXP - back in the days before AutoIt had built in GUI... It seriously needs a re-write now we have this... hmm...
Josbe Posted January 28, 2005 Posted January 28, 2005 Excellent, GCriaco. Thanks.A "CodeWizard" its a great idea. AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta
layer Posted January 28, 2005 Posted January 28, 2005 ive been working on a "code" wizard type thing, but it's basically just like autoit, rebuilt... i just havent added every function in so far, well, because im really lazy and that would be a while... but it's nothin special, and i havent really been working on it the past few weeks it's also a command prompt type thing.. example: box msg hello world would produce a msgbox with the title "Msg" and the text "Hello world" but i think this would be pretty useless.. unless you just didnt want to download the whole autoit package, and the name is BEA: Batch, Executable, Autoit. a combination of all three FootbaG
DirtyBanditos Posted January 29, 2005 Posted January 29, 2005 This script provides a window to generate easily input boxes.You can download it from:http://www.autoitscript.com/fileman/users/public/gcriaco/Todo List:Merge of MessagBoxWizard and InputBoxWizard scripts in just one script (CodeWizard)Any suggestion/criticism about other functions code generator is welcome.Peppe<{POST_SNAPBACK}>Hello Great Thx for it)
CyberSlug Posted January 30, 2005 Posted January 30, 2005 (edited) Any suggestion/criticism about other functions code generator is welcome.<{POST_SNAPBACK}>Bug: Preview button won't work if user types multiple characters into the "Password Char" textbox.Solution: Add the following around line 52 of InputBoxWizard.zu3GuiCtrlSetLimit($txtPwdChr, 1, 0)Keep up the great work!EDIT: Some suggestions for MsgBoxWizard... See attached code 1) "Cancel, Retry, Continue" should be "Cancel, Try Again, Continue" (at least on WinXP English)2) You could show a preview of the MsgBox icon in the wizard itself...3) You might want to generate code that uses Constants.au3: For example, Case $iMsgBoxAnswer = $IDYES instead of Case $iMsgBoxAnswer = 6 ;Yes However, using contants for the MsgBox flag would require more effort than my simple StringReplace hackMsgBoxWizard.au3 Edited January 30, 2005 by CyberSlug Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
gcriaco Posted January 30, 2005 Author Posted January 30, 2005 InputBoxWizard: Fixed the bug notified. Users can download the ver. 1.0.1 from my AutoIt public area.MessageBoxWizard: I'll implement the script as suggested.Many thanks to CyberSlug.<{POST_SNAPBACK}>Bug: Preview button won't work if user types multiple characters into the "Password Char" textbox.Solution: Add the following around line 52 of InputBoxWizard.zu3GuiCtrlSetLimit($txtPwdChr, 1, 0)Keep up the great work!EDIT: Some suggestions for MsgBoxWizard... See attached code 1) "Cancel, Retry, Continue" should be "Cancel, Try Again, Continue" (at least on WinXP English)2) You could show a preview of the MsgBox icon in the wizard itself...3) You might want to generate code that uses Constants.au3: For example, Case $iMsgBoxAnswer = $IDYES instead of Case $iMsgBoxAnswer = 6 ;Yes However, using contants for the MsgBox flag would require more effort than my simple StringReplace hack<{POST_SNAPBACK}>
MHz Posted January 30, 2005 Posted January 30, 2005 3) You might want to generate code that uses Constants.au3: For example, Case $iMsgBoxAnswer = $IDYES instead of Case $iMsgBoxAnswer = 6 ;Yes However, using contants for the MsgBox flag would require more effort than my simple StringReplace hackThis is a problem, as the helpfile specifies number returns, not constants?This causes confusion for beginners, let alone for advanced, who are accustomed to the rule of the helpfile. I use F1 (Helpfile) by default, rather then digging through the include folder for answers.If no reference in the helpfile, then it should not be used.
Radsam Posted February 1, 2005 Posted February 1, 2005 Thanks for sharing! I look forward to your combined release.
gcriaco Posted February 1, 2005 Author Posted February 1, 2005 MessageBoxWizard 1.2 released.It includes CyberSlug suggestions and a bugfix.Be carefully that, if you use the option "Use constants", there are no constants in Constants.au3 (Message Box Constants) for:10 - TRY AGAIN 11 - CONTINUE BTW, I agree with MHz about the helpfile: it should have a reference to the Constants.au3 file.<{POST_SNAPBACK}>EDIT: Some suggestions for MsgBoxWizard... See attached code 1) "Cancel, Retry, Continue" should be "Cancel, Try Again, Continue" (at least on WinXP English)2) You could show a preview of the MsgBox icon in the wizard itself...3) You might want to generate code that uses Constants.au3: For example, Case $iMsgBoxAnswer = $IDYES instead of Case $iMsgBoxAnswer = 6 ;Yes However, using contants for the MsgBox flag would require more effort than my simple StringReplace hack<{POST_SNAPBACK}>
jlandes Posted February 1, 2005 Posted February 1, 2005 MessageBoxWizard 1.2 released.It includes CyberSlug suggestions and a bugfix.Be carefully that, if you use the option "Use constants", there are no constants in Constants.au3 (Message Box Constants) for:10 - TRY AGAIN 11 - CONTINUE BTW, I agree with MHz about the helpfile: it should have a reference to the Constants.au3 file.<{POST_SNAPBACK}>I will add those two constants to the include file. Thanks. Sincerely yours,Jeremy Landesjlandes@landeserve.com
jlandes Posted February 1, 2005 Posted February 1, 2005 I will add those two constants to the include file. Thanks.<{POST_SNAPBACK}>These have been added and submitted to Jon. Let me know if you see any problems. Thanks.Constants.au3 Sincerely yours,Jeremy Landesjlandes@landeserve.com
CyberSlug Posted February 1, 2005 Posted February 1, 2005 These have been added and submitted to Jon. Let me know if you see any problems. Thanks.<{POST_SNAPBACK}>Maybe we could also use:Global Const $IDTIMEOUT = -1 ; Message box timed outThere might be some others.... I need to also look at GuiConstants.au3 Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
gcriaco Posted February 5, 2005 Author Posted February 5, 2005 Hi Jeremy.2 missing constants more in Constants.au3 for MessageBox:262144 - top-most attribute set 524288 - title and text are right-justifiedMoreover, consider the CyberSlug suggestion:Global Const $IDTIMEOUT = -1 ; Message box timed outIf yow agree, please post the upgraded Constants.au3 file.ThanksPeppeThese have been added and submitted to Jon. Let me know if you see any problems. Thanks.<{POST_SNAPBACK}>
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