gcriaco Posted February 9, 2005 Author Share Posted February 9, 2005 Blank lines:it seems that copying code to console translates @crlf in @cr @crlf The workaround could be removing @cr at the end of lines when copying to console";InputBox features:": OKCopy button: when clicked, the code buffer is pasted to clipboard/stdout immediately. So, maybe I have to quit CodeWizard after copy.Can anyone confirm this?CheersPeppe@jbebOK@gcriacoI also noticed when the code is written to scite extra blank lines are added for some reason.#Region --- CodeWizard generated code Start --- ;MsgBox features: Title=Yes, Text=Yes, Buttons=Abort, Retry, and Ignore, Icon=None, Miscellaneous=Top-most attribute Dim $iMsgBoxAnswer $iMsgBoxAnswer = MsgBox(262146,"Title goes here","Text goes here") Select Case $iMsgBoxAnswer = 3;Abort Case $iMsgBoxAnswer = 4;Retry Case $iMsgBoxAnswer = 5;Ignore EndSelect #EndRegion --- CodeWizard generated code End ---;Should be#Region --- CodeWizard generated code Start --- ;MsgBox features: Title=Yes, Text=Yes, Buttons=Abort, Retry, and Ignore, Icon=None, Miscellaneous=Top-most attribute Dim $iMsgBoxAnswer $iMsgBoxAnswer = MsgBox(262146,"Title goes here","Text goes here") Select Case $iMsgBoxAnswer = 3;Abort Case $iMsgBoxAnswer = 4;Retry Case $iMsgBoxAnswer = 5;Ignore EndSelect #EndRegion --- CodeWizard generated code End ---;Also line 830 there is a mistype"InputBox features:"Should be";InputBox features:"<{POST_SNAPBACK}> Link to comment Share on other sites More sharing options...
Josbe Posted February 9, 2005 Share Posted February 9, 2005 Good work, GCriaco.Now, I don't have to remember the constants every time... AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta Link to comment Share on other sites More sharing options...
zcoacoaz Posted February 9, 2005 Share Posted February 9, 2005 when you do the splash text make a way to have splash image instead [font="Times"] If anyone remembers me, I am back. Maybe to stay, maybe not.----------------------------------------------------------------------------------------------------------[/font][font="Times"]Things I am proud of: Pong! in AutoIt | SearchbarMy website: F.R.I.E.S.A little website that is trying to get started: http://thepiratelounge.net/ (not mine)[/font][font="Times"] ----------------------------------------------------------------------------------------------------------[/font][font="Arial"]The newbies need to stop stealing avatars!!! It is confusing!![/font] Link to comment Share on other sites More sharing options...
gcriaco Posted February 9, 2005 Author Share Posted February 9, 2005 CodeWizard Version 1.1.1 released. ChangeLog: - Fixed: "InputBox features:" => ";InputBox features:" - Fixed: no more blank lines when copy text to console - Changed: quit the script after copy to console If you use Scite, you can copy the new executable to "Program Files\AutoIt3\SciTe\CodeWizard". Happy coding Peppe Link to comment Share on other sites More sharing options...
bshoenhair Posted February 9, 2005 Share Posted February 9, 2005 - Changed: quit the script after copy to consoleJust curious, is there a way to keep the code wizard script active after the code is sent to the console, that would not prevent the code from transfering to Scite ? Link to comment Share on other sites More sharing options...
zcoacoaz Posted February 9, 2005 Share Posted February 9, 2005 maybe he could do a "Copy & Quit" button and a seperate "Copy" button ( this is my 100th post ) [font="Times"] If anyone remembers me, I am back. Maybe to stay, maybe not.----------------------------------------------------------------------------------------------------------[/font][font="Times"]Things I am proud of: Pong! in AutoIt | SearchbarMy website: F.R.I.E.S.A little website that is trying to get started: http://thepiratelounge.net/ (not mine)[/font][font="Times"] ----------------------------------------------------------------------------------------------------------[/font][font="Arial"]The newbies need to stop stealing avatars!!! It is confusing!![/font] Link to comment Share on other sites More sharing options...
Chris_1013 Posted February 9, 2005 Share Posted February 9, 2005 when you do the splash text make a way to have splash image instead<{POST_SNAPBACK}>I'm sure splash image would be pretty easy to implement. Probably quite easier as it has less options, so they'd fit easier on the tab.But hey, it's not like I'm gonna bother trying... Link to comment Share on other sites More sharing options...
DaLiMan Posted February 10, 2005 Share Posted February 10, 2005 @gcriaco, Wonderfull job man, awesome!!!! @JdeB Thanx for adding it in Scite... Link to comment Share on other sites More sharing options...
bshoenhair Posted February 10, 2005 Share Posted February 10, 2005 Copy button: when clicked, the code buffer is pasted to clipboard/stdout immediately. So, maybe I have to quit CodeWizard after copy.Can anyone confirm this?<{POST_SNAPBACK}>AnyOne have a solution ?Sure would be nice to leave the code wizard open after the the code is transfered to Scite through the console.Only other option if the console will not allow this is to use ControlSend instead of writing to Console. Link to comment Share on other sites More sharing options...
Developers Jos Posted February 10, 2005 Developers Share Posted February 10, 2005 (edited) AnyOne have a solution ?Sure would be nice to leave the code wizard open after the the code is transfered to Scite through the console.Only other option if the console will not allow this is to use ControlSend instead of writing to Console.<{POST_SNAPBACK}>Not sure how useful this is...You now:- hit Alt+M - Create your MsgBox() or InputBox() and click copy which Exit the script returning to SciTE.The create another MsgBox/InputBox you just do Alt+M again after you positioned the caret....I think addding another button is just confusing.... Edited February 10, 2005 by JdeB SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
bshoenhair Posted February 10, 2005 Share Posted February 10, 2005 (edited) Not sure how useful this is...You now:- hit Alt+M - Create your MsgBox() or InputBox() and click copy which Exit the script returning to SciTE.The create another MsgBox/InputBox you just do Alt+M again after you positioned the caret....I think addding another button is just confusing.... <{POST_SNAPBACK}>So the code wizard script must be closed in order for the console to write to scite ?If so wouldn't it be better to use ControlSend instead of writing to Console, this way you will preserve existing Title, text etc for later use in existing script. Edited February 10, 2005 by bshoenhair Link to comment Share on other sites More sharing options...
Developers Jos Posted February 10, 2005 Developers Share Posted February 10, 2005 (edited) So the code wizard script must be closed in order for the console to write to scite ?If so wouldn't it be better to use ControlSend instead of writing to Console, this way you will preserve existing Title, text etc for later use in existing script. <{POST_SNAPBACK}>CodeWizard doesn't have to close for ConsoleWrite() to work.I am using a feature within SciTE that allows you to start a program and that all STDOUT information is dumped to the active window in SciTE in stead of the normnal behaviour where STDOUT shows up in the OUTPUT pane. AU3Recorder is used in the same way...This makes it more or less FullProof.... Edited February 10, 2005 by JdeB SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
bshoenhair Posted February 10, 2005 Share Posted February 10, 2005 CodeWizard doesn't have to close for ConsoleWrite() to work.I am using a feature within SciTE that allows you to start a program and that all STDOUT information is dumped to the active window in SciTE in stead of the normnal behaviour where STDOUT shows up in the OUTPUT pane. AU3Recorder is used in the same way...This makes it more or less FullProof.... <{POST_SNAPBACK}>Sounds great but I am confused. Could you please show the code modifactions needed to make code wizard perform in this fashion ? Thank You Link to comment Share on other sites More sharing options...
Developers Jos Posted February 10, 2005 Developers Share Posted February 10, 2005 Sounds great but I am confused. Could you please show the code modifactions needed to make code wizard perform in this fashion ? Thank You<{POST_SNAPBACK}>now we are both confused It currently is implemented in this way in SciTE and is working this way. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
bshoenhair Posted February 10, 2005 Share Posted February 10, 2005 now we are both confused It currently is implemented in this way in SciTE and is working this way.<{POST_SNAPBACK}>QUOTE(JdeB @ Feb 10 2005, 10:21 AM) CodeWizard doesn't have to close for ConsoleWrite() to work. I am using a feature within SciTE that allows you to start a program and that all STDOUT information is dumped to the active window in SciTE in stead of the normnal behaviour where STDOUT shows up in the OUTPUT pane. AU3Recorder is used in the same way... This makes it more or less FullProof....But the code wizard 1.1 must close in order for ConsoleWrite() to work right ?The previous 1.0 did not pass the ConsoleWrite() to scite until it was closed. Link to comment Share on other sites More sharing options...
Developers Jos Posted February 10, 2005 Developers Share Posted February 10, 2005 (edited) But the code wizard 1.1 must close in order for ConsoleWrite() to work right ?The previous 1.0 did not pass the ConsoleWrite() to scite until it was closed.<{POST_SNAPBACK}>Sorry, gave wrong info before....just did a bit of reading and Yes the output is only dumped into the edited script when the command completes! (sorry for the confusion)this is the info in the SciteHelp:However, please bear in mind that command.replace.selection will send the output to whatever window is active when the command completes. Edited February 10, 2005 by JdeB SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
gcriaco Posted March 18, 2005 Author Share Posted March 18, 2005 (edited) CodeWizard 1.2 released . ChangeLog: 1.2 - 18/3/2005 - Added: SplashTextOn code generator TODO List: SplashImageOn Code Wizard Please leave your comments/suggestions/bugreports. ----------------------------------------------------------------------------------------- I can't upload the new script to my public folder ("Sorry you do not have the required permissions to upload a new file"). What's wrong/changed? Edited March 18, 2005 by gcriaco Link to comment Share on other sites More sharing options...
zcoacoaz Posted March 19, 2005 Share Posted March 19, 2005 i have had that problem for a while too, if you want PM me and i will give you ftp access to my server for a while its located at 67.161.248.26 [font="Times"] If anyone remembers me, I am back. Maybe to stay, maybe not.----------------------------------------------------------------------------------------------------------[/font][font="Times"]Things I am proud of: Pong! in AutoIt | SearchbarMy website: F.R.I.E.S.A little website that is trying to get started: http://thepiratelounge.net/ (not mine)[/font][font="Times"] ----------------------------------------------------------------------------------------------------------[/font][font="Arial"]The newbies need to stop stealing avatars!!! It is confusing!![/font] Link to comment Share on other sites More sharing options...
gcriaco Posted March 25, 2005 Author Share Posted March 25, 2005 CodeWizard 1.2.1 released. Changelog: 1.2.1 - 25/3/2005 - Added: Automatically detect the AutoIt Script Title by the "Title" button - Fixed: "AU3xtra.dll missing" error when called by the SciTe editor Scite users: extract the compressed files into the %Program Files%\AutoIt3\SciTe\CodeWizard folder. Happy coding Peppe Link to comment Share on other sites More sharing options...
GaryFrost Posted March 27, 2005 Share Posted March 27, 2005 (edited) Suggestion/Question instead of Dim $iMsgBoxAnswer would it be better to If Not IsDeclared('iMsgBoxAnswer') then Dim $iMsgBoxAnswer same for $iInputBoxAnswer and any others? Edit: by the way great little program, use it all the time. Edited March 27, 2005 by gafrost SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
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