MvGulik Posted March 16, 2010 Share Posted March 16, 2010 (edited) whatever Edited February 7, 2011 by MvGulik "Straight_and_Crooked_Thinking" : A "classic guide to ferreting out untruths, half-truths, and other distortions of facts in political and social discussions.""The Secrets of Quantum Physics" : New and excellent 2 part documentary on Quantum Physics by Jim Al-Khalili. (Dec 2014) "Believing what you know ain't so" ... Knock Knock ... Link to comment Share on other sites More sharing options...
Xenobiologist Posted March 19, 2010 Author Share Posted March 19, 2010 Bummer. I seems to have lost Xenobiologist interest on the subject. No point. Dropping subject. Certainly not! I' working on a new version which has got some bugfixes and new featues. To answer your question. The problem you discuss is not really a problem, because the source held in that variable is really only for getting the needed info from it. And do get all the needed info. Besides, the line break stuff dosen't come from the Regex pattern - it belongs to StringStripWS. Func _stripSourceCode(ByRef $source) Local $noComment_source = $source _stripComments($noComment_source) $noComment_source = StringStripWS($noComment_source, 7) ; doppelte Leerzeichen/Umbrüche entfernen Return $noComment_source EndFunc ;==>_stripSourceCode This line $noComment_source = StringStripWS($noComment_source, 7) ; doppelte Leerzeichen/Umbrüche entfernen leads to the linebreak stuff you mentioned. But as I said before, it is no problem for me, because my following functions in the source code can work with that. Thanks for your effort! Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
MvGulik Posted March 19, 2010 Share Posted March 19, 2010 (edited) whatever Edited February 7, 2011 by MvGulik "Straight_and_Crooked_Thinking" : A "classic guide to ferreting out untruths, half-truths, and other distortions of facts in political and social discussions.""The Secrets of Quantum Physics" : New and excellent 2 part documentary on Quantum Physics by Jim Al-Khalili. (Dec 2014) "Believing what you know ain't so" ... Knock Knock ... Link to comment Share on other sites More sharing options...
PartyPooper Posted March 25, 2010 Share Posted March 25, 2010 Just something to think about but you may like to include a readme.txt with the zip indicating how to install OI. I recently upgraded to Win 7 and had to log back into the forums to remember how to install it. Nothing major but a PITA when you are trying to reinstall all your programs quickly :-) Link to comment Share on other sites More sharing options...
dantay9 Posted May 8, 2010 Share Posted May 8, 2010 A simple little improvement would be to insert the includes after the directives. Autoit directives are always supposed to be at the top. Great tool. I use this countless times every day. Link to comment Share on other sites More sharing options...
Xenobiologist Posted May 9, 2010 Author Share Posted May 9, 2010 A simple little improvement would be to insert the includes after the directives. Autoit directives are always supposed to be at the top. Great tool. I use this countless times every day.Hi,this is already implemented you can set a "keyword" after which OI should insert the includes. Bytheway, I'm going on a little vacation this week and after that I'll upload a new version with some bugfixes and new features. Thank for your comment. Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
jaberwacky Posted July 11, 2010 Share Posted July 11, 2010 Hi, I'm suddenly having some trouble using Organize Incudes. OI worked fine for me until just recently. Now I get this error message: Line 0 (File "C:\Program Files (x86)\AutoIt3\Scite\OrganizeIncludes\OI_1.0.0.50.au3"): Error: Error opening the file." Previously I got an error message about not having a certain .ini but I didn't write that message down. Does anyone have any idea what might be the problem? I'm running Windows 7 64bit with the latest version of autoit. I extracted the zip into the Scite directory and then I copied those lines into scite user properties. The only thing that I am doing different is that I recently reinstalled windows which seems to correspond with the problem. Maybe I should just reinstall again? Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum? Link to comment Share on other sites More sharing options...
saavaage Posted December 11, 2010 Share Posted December 11, 2010 Xenobiologist, thanks a lot for this brilliant job! Let me make one proposition: could you add such function as creating a list of functions-exceptions?The matter is: when I use your tool, some functions, which not placed in "C:\Program Files\AutoIt3\Include",always removed from my scripts. It would be very nice,imho, if user could create a directory with such kind of functions and your program ignore all of them, placed in this directory. Excuse my bad English, comrade... Link to comment Share on other sites More sharing options...
guwguw Posted December 16, 2010 Share Posted December 16, 2010 Hi, I'm suddenly having some trouble using Organize Incudes. OI worked fine for me until just recently. Now I get this error message: Line 0 (File "C:\Program Files (x86)\AutoIt3\Scite\OrganizeIncludes\OI_1.0.0.50.au3"): Error: Error opening the file."Does anyone have any idea what might be the problem? I'm running Windows 7 64bit with the latest version of autoit. I extracted the zip into the Scite directory ...The original instruction line reads1) Extract the zip here (ProgramsDIR) ..\AutoIt3\SciTE\, which is wrong.It should read1) Extract the zip here (ProgramsDIR) ..\AutoIt3\SciTE\OrganizeIncludes\After that, there'll be no more Line 0 (File "C:\Program Files (x86)\AutoIt3\Scite\OrganizeIncludes\OI_1.0.0.50.au3"): Error: Error opening the file." Link to comment Share on other sites More sharing options...
jaberwacky Posted December 17, 2010 Share Posted December 17, 2010 The original instruction line reads, which is wrong.It should read1) Extract the zip here (ProgramsDIR) ..\AutoIt3\SciTE\OrganizeIncludes\After that, there'll be no more Line 0 (File "C:\Program Files (x86)\AutoIt3\Scite\OrganizeIncludes\OI_1.0.0.50.au3"): Error: Error opening the file." Hi! Thanks guwguw, I eventually realized that the PDF has some outdated info but the forum post is up to date. If I remember correctly anyways. Well, I appreciate that you've taken the time to reply to my plea for help. Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum? Link to comment Share on other sites More sharing options...
Xenobiologist Posted December 17, 2010 Author Share Posted December 17, 2010 Thanks for taking a look at this piece of scripts. I'll have a look, whether I can finifsh a new version with some bugfixes and addons this year. Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
Mikeman27294 Posted July 4, 2011 Share Posted July 4, 2011 (edited) A few things that I have found with my copy;You can set it so that you do not get a file open dialog by moving the second line in the user options to sit next to the first line like so:command.36.*.au3="$(autoit3dir)autoit3.exe" "$(autoit3dir)SciTEOrganizeIncludesOI_1.0.0.50.au3" "$(FilePath)"Also, you can set the script so that it does not read the includes (on line 846) like so:Local $regValue = "C:\Program Files (x86)\AutoIt3\Include\"or preferably,Local $regValue = StringLeft(@AutoItExe, StringInStr(@AutoItExe, "", 0, -1))&"Includes"You can set it so that the settings tab opens up the settings.ini file on click instead of using the file open dialog, by changing the code to the following, on line 1096 to the following:Local $file = @ScriptDir & "Settings.ini"Next, the more annoying part.When I open a file, it detects perfectly. But when I select "Organise Includes", it does not remove the includes that I have already got. So I just end up with a whole bunch on unnessecary includes.But as a whole, I have got to say that this is an excelent utility.Thanks for making such a great tool for the community.EDITTried to change the script a little to delete the includes already in there... Too tired... will do it tomorrow... working around about line 1180 or something like that... Goodnight world hahaha.EDITNope... to busy sorry, not going to bother for now. maybe some time in the future I will take a look at it. Edited January 21, 2012 by Mikeman27294 Link to comment Share on other sites More sharing options...
Syed23 Posted December 21, 2011 Share Posted December 21, 2011 (edited) Hi Xenobiologist, As you mentioned in your first comment i followed all the steps and i pressed CTRL+SHIFT+ALT+I but i am getting an error message stating "c:program filesAutoIt3SciTEOrganizeIncludesincludes_Release.ini not found " seems there is some ini file missing in that zip file.. could you please add it ? Edited December 21, 2011 by Syed23 Thank you,Regards,[font="Garamond"][size="4"]K.Syed Ibrahim.[/size][/font] Link to comment Share on other sites More sharing options...
Country73 Posted January 5, 2012 Share Posted January 5, 2012 (edited) Xenobiologist - nice work on this! Just wish I would have seen it sooner... I just downloaded and started using this last week and found it very useful. But now I have run into a little snag... I just recently updated my SciTE to Version 2.28 If I launch the OU-1.0.0.50.au3, then the Organize Includes GUI appears like it should. If I'm in a script where I actually want to check my Include files, using CTRL+ALT+SHIFT+I, it gives me this message: The filename, directory name, or volume label syntax is incorrect. >Exit code: 1 I tried to backtrack and remove the information from SciTE's User Options file, close SciTE, rename the OrganizeIncludes folder and then go through a "fresh" install/setup. Still getting the same results. I wouldn't doubt that I'm simply missing something, but have you seen this before? EDIT: For the time being I just installed an older version of SciTE so that I can still use your Organizer. Only other one I had/could locate is version 1.79, it's working! Edited January 5, 2012 by Country73 If you try to fail and succeed which have you done?AutoIt Forum Search Link to comment Share on other sites More sharing options...
Xenobiologist Posted January 6, 2012 Author Share Posted January 6, 2012 Oh, I haven't looked into this thread for quite a long time. Maybe the script needs to be updated again. As for you error, I guess the new has some problems with the internal variable $(autoit3dir) Try the following please, Scite --> Options --> Open User Options File Then you see your shortcut added for Organize Includes and maybe some more. Try to replace the variables like $(autoit3dir) and $(SciteDefaultHome) with your full qualified pathes like c:Programs... and then restart Scite and give it a try. Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
Country73 Posted January 6, 2012 Share Posted January 6, 2012 (edited) I'll see if I can take a look at that today.I know I looked through the User Options File, but I may not have looked at it close enough...EDIT:Wow, that's all that it took...I replaced both of those variables with the exact path's and it's working like a charm.Now I can update SciTE on my main workstation and continue to use your - Awesome - "Organize Includes"! Edited January 6, 2012 by Country73 If you try to fail and succeed which have you done?AutoIt Forum Search Link to comment Share on other sites More sharing options...
DelStone Posted February 24, 2012 Share Posted February 24, 2012 I get the following errors when I try running it :>>"D:Program FilesAutoIt3SciTEautoit3.exe" "D:Program FilesAutoIt3SciTEOrganizeIncludesOI_1.0.0.50.au3" "C:UsersADMINDesktopF B AFBA.au3"'D:Program' is not recognized as an internal or external command,operable program or batch file.>Exit code: 1 Time: 0.468"D:autoit3.exe" "D:OI_1.0.0.50.au3" "C:UsersADMINDesktopFBA.au3"The filename, directory name, or volume label syntax is incorrect.>Exit code: 1 Time: 0.455I've tried hard coding the paths as you've suggested, but whatever I try, same error.It appears fine in the Tools menu - but can't get any further - any ideas? Link to comment Share on other sites More sharing options...
Xenobiologist Posted February 24, 2012 Author Share Posted February 24, 2012 What SciTE version are you using? Can you post your SciteUser.properties please. Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
DelStone Posted February 24, 2012 Share Posted February 24, 2012 The SciTE Version is 2.28 and how do I get the sciteuser.properties? Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted February 24, 2012 Moderators Share Posted February 24, 2012 delstone,SciTE menu: <Options - Open User Options File>. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area 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