kalayaan Posted June 4, 2004 Share Posted June 4, 2004 JdeB -- regarding tidy (a very useful utility), If you would allow, perhaps you can add a checkbox in the starting gui of tidy that gives the option whether or not to save a backup of the original script? I usually forget that an old version is saved each time I tidy my script, and they usually get to be quite a few. (or maybe an option to delete the old file if there are no errors encountered) One more (sorry ), since I'm not a very good scripter, I have code that don't have anythng between the IF and ELSE (works for me though ) lines like : If $A <> 0 Then Else MsgBox(....) EndIf I found that this produces a tidy error? Thanks, and nice work with Scite. Link to comment Share on other sites More sharing options...
Developers Jos Posted June 4, 2004 Author Developers Share Posted June 4, 2004 If you would allow, perhaps you can add a checkbox in the starting gui of tidy that gives the option whether or not to save a backup of the original script? I usually forget that an old version is saved each time I tidy my script, and they usually get to be quite a few. (or maybe an option to delete the old file if there are no errors encountered)Don't think I will ever implement an option that will get rid of your original script and only keeps the version generated by Tidy. I appreciate the faith you have in the program but I don't want to be responsible for messing up your script code. One more (sorry ), since I'm not a very good scripter, I have code that don't have anythng between the IF and ELSE (works for me though ) lines like : If $A <> 0 Then Else MsgBox(....) EndIf I found that this produces a tidy error?Will look at this issue later today and post an update. tnx for letting me know. 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...
Josbe Posted June 4, 2004 Share Posted June 4, 2004 Small Bug:Error choosing icon in the script: Comp2Exe. The icon is displayed out of position. AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta Link to comment Share on other sites More sharing options...
Developers Jos Posted June 4, 2004 Author Developers Share Posted June 4, 2004 (edited) uploaded a new http://www.autoitscript.com/fileman/users/jdeb/scite4autoit3.exe which has the following updates:*** Updated Lexer to highlight comma as operator.*** Updated Lexer use fold.compact on Commentlinesblocks, #Region-#EndRegion, Preprocessor blocks.*** Updated Lexer not to fold inside commentblocks unless "fold.comment=2" is specified*** Updated Tidy description page to Helpfile explaining the Tidy Error checking.*** Updated Getting started page in helpfile.*** Added Scite/AutoIt3 lexer page to Helpfile explaining the Syntax Highlighting and Folding.*** Updated AUT2EXE wrapper script which allows you to compile with options.*** Fixed Tidy issue with IF/Else .... (tnx kalayaan)*** Fixed Icon refresh to the correct position (tnx josbe) Edited June 4, 2004 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...
Guest Guest_ghettochild Posted June 5, 2004 Share Posted June 5, 2004 Up until now i was using notepad!!!! Why didnt anybody slap me silly and tell me about this???!!! Link to comment Share on other sites More sharing options...
CyberSlug Posted June 5, 2004 Share Posted June 5, 2004 Small bug similar to josbe's: Resizing the Compile window deforms/stretches the icon. Suggestion: If the user enters non-matching passphrases, you should clear the passPhrase text boxes and give one cursor focus. SciTE keeps getting better! And the Compile GUI is excellent Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to comment Share on other sites More sharing options...
AndrewL Posted June 5, 2004 Share Posted June 5, 2004 (edited) @JdeB product you've got happening here...Two questions:1. Should the syntax builder be invoked for a commented line such as => ; @OSBuild value of 3790 is used to detect if the OS is Windows 2003. @OSVersion does not report Windows 20032. Have Jon and you colluded to ensure this is the default editor for the 3.0.102 stable Edited June 5, 2004 by AndrewL Link to comment Share on other sites More sharing options...
Developers Jos Posted June 5, 2004 Author Developers Share Posted June 5, 2004 CyberSlug, thanks for your feedback .....Uploaded http://www.autoitscript.com/fileman/users/jdeb/compileau3.exe ver 0.5 that has the below fixes/changes.Small bug similar to josbe's: Resizing the Compile window deforms/stretches the icon.Changed the window so it's not resizable.Suggestion: If the user enters non-matching passphrases, you should clear the passPhrase text boxes and give one cursor focus.Done.... 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...
Developers Jos Posted June 6, 2004 Author Developers Share Posted June 6, 2004 Updated the following in http://www.autoitscript.com/fileman/users/jdeb/scite4autoit3.exe to support the listing of AutoIt Error in the Output Window (new commandline parameter /ErrorStdOut ):Updated other.properties to display the errors messages in Red/BoldUpdated other.properties to display the Code portion with the error in Courier New Updated au3.properties with: # this GO command will display errors in the Output window # command.go.*.au3=$(autoit3dir)\autoit3.exe /ErrorStdOut "$(FilePath)" # this GO command will display errors in a seperate window use with 3.0.101 or lower command.go.*.au3=$(autoit3dir)\autoit3.exe "$(FilePath)"Updated the Helpfile, added an Run Errors SectionUpdated Compileau3.exe (ver 0.6) ... added command line /comp to be insync with Aut2ExeThe default is still the MSGBOX with error since the last official release of AutoIt3 doesn't support the /ErrorStdOut parameter.If you are using version 3.0.102 for F5 then read the Helpfile section:Getting started/Run errors on how to change this to show errors like this:http://www.autoitscript.com/fileman/users/jdeb/test/scripterror2.png 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...
emmanuel Posted June 13, 2004 Share Posted June 13, 2004 WICKED! I love the new error parsing! So, what happened to the option in Scite setup to set the default action for scripts to edit? "I'm not even supposed to be here today!" -Dante (Hicks) Link to comment Share on other sites More sharing options...
Developers Jos Posted June 13, 2004 Author Developers Share Posted June 13, 2004 WICKED! I love the new error parsing!So, what happened to the option in Scite setup to set the default action for scripts to edit?Didn't you get a seperate page when you ran the installset asking this specific question ? It defaults to you last setting and recomments to change it to EDIT.. 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...
emmanuel Posted June 13, 2004 Share Posted June 13, 2004 I didn't. I even went slow and looked for it. "I'm not even supposed to be here today!" -Dante (Hicks) Link to comment Share on other sites More sharing options...
Developers Jos Posted June 13, 2004 Author Developers Share Posted June 13, 2004 I didn't. I even went slow and looked for it.The Open action for AU3 files can be changed on this screen that will appear during instalation ( it will default to its current setting):http://www.autoitscript.com/fileman/users/jdeb/test/defaultopen.png 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...
Administrators Jon Posted June 13, 2004 Administrators Share Posted June 13, 2004 It doesn't appear in the version I just downloaded (I thought it was intentional and I was glad ) Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
Developers Jos Posted June 13, 2004 Author Developers Share Posted June 13, 2004 It doesn't appear in the version I just downloaded (I thought it was intentional and I was glad )The installset should always show the option screen unless the following is true: ReadRegStr $1 HKCR "AutoIt3Script\Shell" "" StrCmp $1 "" Fin Shouldn't that always be filled when the AutoIt3 install was run ? 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...
Administrators Jon Posted June 13, 2004 Administrators Share Posted June 13, 2004 Possibly not in the current unstable - I made it not delete the edit related keys on uninstall if they were not set to "notepad" (to preserve any non defaults). Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
Developers Jos Posted June 13, 2004 Author Developers Share Posted June 13, 2004 Possibly not in the current unstable - I made it not delete the edit related keys on uninstall if they were not set to "notepad" (to preserve any non defaults).What would you suggest to do for this install set logic ? Leave as is or just comment the StrCmp $1 "" Fin statement so it will always show the options menu. It will then default to EDIT Function PageOption ; Read current default for opening AU3 file ReadRegStr $1 HKCR "AutoIt3Script\Shell" "" StrCmp $1 "" Fin StrCmp $1 "Run" OpenRun ShowOpt ; No AutoIt installed OpenRun: !insertmacro MUI_INSTALLOPTIONS_WRITE "Scite4AutoIt3.ini" "Field 2" "State" "0" !insertmacro MUI_INSTALLOPTIONS_WRITE "Scite4AutoIt3.ini" "Field 3" "State" "1" ShowOpt: !insertmacro MUI_INSTALLOPTIONS_WRITE "Scite4AutoIt3.ini" "Field 1" "Text" "Select Default option for Open or Double click." !insertmacro MUI_INSTALLOPTIONS_WRITE "Scite4AutoIt3.ini" "Field 2" "Text" "Edit the Script [Recommended]" !insertmacro MUI_INSTALLOPTIONS_WRITE "Scite4AutoIt3.ini" "Field 3" "Text" "Run the Script" !insertmacro MUI_HEADER_TEXT "Defaults for *.AU3" "Define here what you would like to do when you Open or Double-Click a .AU3 file." !insertmacro MUI_INSTALLOPTIONS_DISPLAY "Scite4AutoIt3.ini" Fin: Functionend 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...
Administrators Jon Posted June 13, 2004 Administrators Share Posted June 13, 2004 This key is always present if AutoIt is installed: HKLM "Software\HiddenSoft\AutoIt3" "InstallDir" Out of interest, do all your batch files and exes default to open in editors? Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
Developers Jos Posted June 13, 2004 Author Developers Share Posted June 13, 2004 This key is always present if AutoIt is installed:HKLM "Software\HiddenSoft\AutoIt3" "InstallDir"Out of interest, do all your batch files and exes default to open in editors? Never run an *.AU3 script... only the compiled versions...... I like the fact that the "Source" always open in the Editor by just doing a Double click on them..... 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...
emmanuel Posted June 13, 2004 Share Posted June 13, 2004 Never run an *.AU3 script... only the compiled versions...... I like the fact that the "Source" always open in the Editor by just doing a Double click on them.....ditto, if I'm running it uncompiled it's either in a shortcut that's specifies the app or hitting f5 in scite... "I'm not even supposed to be here today!" -Dante (Hicks) 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