c.haslam Posted December 5 Posted December 5 In SciTe, of course Spoiler CDebug Dumps values of variables including arrays and DLL structs, to a GUI, to the Console, and to the Clipboard
argumentum Posted December 5 Posted December 5 No can do. Now if you feel like getting the data from scite, save it to another temp file and running the syntax utility and then, sending that to the SciTE console ( all that would be something you or someone else codes ), then yes. Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
Dan_555 Posted December 5 Posted December 5 (edited) You could write an user tool, which you set to not save on execute https://www.autoitscript.com/wiki/Adding_utilities_to_the_SciTE_Tools_menu Then the script would copy all text from the scite window, save that to a temporary file, let the syntax checker check the code, catch the output and display somehow the errors (for e.g. in a msg box) if there are some ofc. Or copy the code manually into a new tab, save that and run the checker ... Edited December 5 by Dan_555 Some of my script sourcecode
CYCho Posted December 5 Posted December 5 (edited) --Deleted-- Edited December 5 by CYCho zPlayer - A Small Audio and Video Player
Musashi Posted December 5 Posted December 5 A simple solution would be to start SciTEConfig.exe (located in the directory ..\AutoIt3\SciTE\SciTEConfig ). There you can specify how many backup steps should be created (e.g. 5 previous versions of your source code). If you now execute a RUN within SciTE, the code will be saved, but you can return to previous versions. "In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move."
Nine Posted December 5 Posted December 5 The strategy I prefer, as I am using it ALL the time, is the Tidy backup. You decide when you want to make your backup. If you are making a lot of changes and want to rollback to few days ago, then Tidy is more adapted to that situation. And one non-negligible benefit of Tidy is of course to have your scripts all cleaned-up. argumentum and Musashi 2 “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy
Solution c.haslam Posted December 5 Author Solution Posted December 5 Thanks. Where are the various tools documented? Spoiler CDebug Dumps values of variables including arrays and DLL structs, to a GUI, to the Console, and to the Clipboard
Developers Jos Posted December 6 Developers Posted December 6 Can somebody please explain why this would be needed at all? Musashi and SOLVE-SMART 2 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.
Musashi Posted December 6 Posted December 6 10 minutes ago, Jos said: Can somebody please explain why this would be needed at all? No, at least I can't . It looks like a typical XY problem to me - https://en.wikipedia.org/wiki/XY_problem SOLVE-SMART and CYCho 1 1 "In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move."
c.haslam Posted December 7 Author Posted December 7 To me, it is desirable to have a script that has bugs in it, bugs that AutoIt catches, not be saved automatically. It makes sense to be able to avoid saving such code until it has been fixed. Spoiler CDebug Dumps values of variables including arrays and DLL structs, to a GUI, to the Console, and to the Clipboard
Developers Jos Posted December 7 Developers Posted December 7 Not really to me. It makes sense not to put it into production before it's error free and bug free, but to be able to check and test it, you always will have to save it one way or the other. So one thing you could think of is to create a script that will copy the clicked file to a development directory before opening it, but that will open a whole other can of worms, like missing local includes and wrong paths for opening files. So to me one needs to setup a development environment for those scripts that are important. My 2 cents :-) 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.
c.haslam Posted December 7 Author Posted December 7 Thank you for your 2 cents. Spoiler CDebug Dumps values of variables including arrays and DLL structs, to a GUI, to the Console, and to the Clipboard
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