CoolDomi Posted June 3, 2008 Share Posted June 3, 2008 Hi Mega, 1st great work!!, great utility thx a lot . I am currently not using any Beta version of AutoIt, and I your script stop working due to I think this: If $InstallPath <> '' And $normalOrBetaOrBoth = 1 Or $normalOrBetaOrBoth = 3 Then _ArrayAdd($includesPathes_A, $InstallPath & '\Include\') If $betaInstallPath <> '' And $normalOrBetaOrBoth = 2 Or $normalOrBetaOrBoth = 3 Then _ArrayAdd($includesPathes_A, $betaInstallPath & '\Include\') Should add parenthesis to separate the OR condition from the AND: If $InstallPath <> '' And ($normalOrBetaOrBoth = 1 Or $normalOrBetaOrBoth = 3) Then _ArrayAdd($includesPathes_A, $InstallPath & '\Include\') If $betaInstallPath <> '' (And $normalOrBetaOrBoth = 2 Or $normalOrBetaOrBoth = 3) Then _ArrayAdd($includesPathes_A, $betaInstallPath & '\Include\') and it works again like a charm (or at least works for me again . Dom Link to comment Share on other sites More sharing options...
martin Posted June 7, 2008 Share Posted June 7, 2008 Hi Mega, 1st great work!!, great utility thx a lot . I am currently not using any Beta version of AutoIt, and I your script stop working due to I think this: If $InstallPath <> '' And $normalOrBetaOrBoth = 1 Or $normalOrBetaOrBoth = 3 Then _ArrayAdd($includesPathes_A, $InstallPath & '\Include\') If $betaInstallPath <> '' And $normalOrBetaOrBoth = 2 Or $normalOrBetaOrBoth = 3 Then _ArrayAdd($includesPathes_A, $betaInstallPath & '\Include\') Should add parenthesis to separate the OR condition from the AND: If $InstallPath <> '' And ($normalOrBetaOrBoth = 1 Or $normalOrBetaOrBoth = 3) Then _ArrayAdd($includesPathes_A, $InstallPath & '\Include\') If $betaInstallPath <> '' (And $normalOrBetaOrBoth = 2 Or $normalOrBetaOrBoth = 3) Then _ArrayAdd($includesPathes_A, $betaInstallPath & '\Include\') and it works again like a charm (or at least works for me again . Dom Or maybe If $InstallPath <> '' And BitAnd($normalOrBetaOrBoth,1) Then _ArrayAdd($includesPathes_A, $InstallPath & '\Include\') If $betaInstallPath <> '' And BitAnd($normalOrBetaOrBoth ,2) Then _ArrayAdd($includesPathes_A, $betaInstallPath & '\Include\') Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
engine Posted June 7, 2008 Share Posted June 7, 2008 Doesn't work on release 3.2.12.0 Please make it work. Thanks. My contributions:Local account UDF Registry UDFs DriverSigning UDF Windows Services UDF [url="http://www.autoitscript.com/forum/index.php?showtopic=81880"][/url] Link to comment Share on other sites More sharing options...
CoolDomi Posted June 10, 2008 Share Posted June 10, 2008 Hi, Another "fix" for the next release: In the function getIncludes() instead of: For $i = 1 To $lines_A[0] - 1 write For $i = 1 To $lines_A[0] otherwise you will miss the last file referenced in the includes.ini file (in my case WindowsConstants.au3 ) Dom. Link to comment Share on other sites More sharing options...
Xenobiologist Posted June 27, 2008 Author Share Posted June 27, 2008 Hi, thanks everybody. I will fix the stuff you posted now. Anything left? Thanks! 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...
foggw Posted June 29, 2008 Share Posted June 29, 2008 Thanks for the great program, very useful.One suggestion, change the 'default' Global $normalOrBetaOrBoth = IniRead($includesIni, 'Options', 'NormalOrBetaOrBoth', 3)oÝ÷ ÚÚºÚ"µÍÛØ[ ÌÍÛÜX[Ü]SÜÝH[TXY ÌÍÚ[ÛYÒ[K ÌÎNÓÜ[ÛÉÌÎNË ÌÎNÓÜX[Ü]SÜÝ ÌÎNËJBNØÚ[ÙHÛHÝÈÜX[On my system I ended up with Registry entries for 'Beta' but the beta directory no longer existed. The Organizer would start, display a message box that the path was invalid (from: Func _saveIncludePathesToIni() and then abort. Setting the default value $normalOrBetaOrBoth to Normal would help idiots like me that haven't been keeping up with system maintenance. Thanks!Bill Link to comment Share on other sites More sharing options...
foggw Posted June 30, 2008 Share Posted June 30, 2008 Regarding the $normalOrBetaOrBoth setting.I just installed again on a newly built system with AutoIt 3.2.12.1 installed (never had beta).Got a similar error this time showed \Include\ as the path in error.In the installer program the FileInstall statements are fully pathed to a directory that will not exist on most systems.I have found that prefixing the source file with "\." will perform the FileInstall from the current directory. FileInstall(".\sourcefile.xxx", $DestLocation)Thanks again.Bill Link to comment Share on other sites More sharing options...
Xenobiologist Posted June 30, 2008 Author Share Posted June 30, 2008 Hi, yeah thanks! I already changed a lot in that area. Just two other things to go/fix and then I will post the next version. 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...
Zedna Posted June 30, 2008 Share Posted June 30, 2008 In the installer program the FileInstall statements are fully pathed to a directory that will not exist on most systems. I have found that prefixing the source file with "\." will perform the FileInstall from the current directory. FileInstall(".\sourcefile.xxx", $DestLocation) Thanks for that tip!! It's very usefull. I will make BugTrack report to include this tip into FileInstall helpfile documentation. Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Xenobiologist Posted June 30, 2008 Author Share Posted June 30, 2008 Hi, new version. See first post! Thanks! 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...
Xenobiologist Posted July 11, 2008 Author Share Posted July 11, 2008 Hi, everything fine for those who tested the new version? Thanks! 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...
engine Posted July 11, 2008 Share Posted July 11, 2008 Everything except this Great UDF. Should be included with AutoIt. Thanks. My contributions:Local account UDF Registry UDFs DriverSigning UDF Windows Services UDF [url="http://www.autoitscript.com/forum/index.php?showtopic=81880"][/url] Link to comment Share on other sites More sharing options...
engine Posted July 11, 2008 Share Posted July 11, 2008 (edited) Also I have noticed it can only be run from the account I used to install it. Installed it from both accounts and now it works. But should work for all accounts with just one install. Edited July 11, 2008 by engine My contributions:Local account UDF Registry UDFs DriverSigning UDF Windows Services UDF [url="http://www.autoitscript.com/forum/index.php?showtopic=81880"][/url] Link to comment Share on other sites More sharing options...
Xenobiologist Posted July 22, 2008 Author Share Posted July 22, 2008 Also I have noticed it can only be run from the account I used to install it.Installed it from both accounts and now it works. But should work for all accounts with just one install.Hi,Scite puts its SciteUser.properties into user account folder. That is why, OI works with this user specific property file.So this comes with Scite not with OI and IMO this behaviour is fine. 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...
ofLight Posted July 22, 2008 Share Posted July 22, 2008 Thanks for this Mega Works great, Incredible timesaver for me. muttley There is always a butthead in the crowd, no matter how hard one tries to keep them out.......Volly Link to comment Share on other sites More sharing options...
Tlem Posted July 22, 2008 Share Posted July 22, 2008 Thousand tanks Mega.Greet addition for Scite4AutoIt (If jos read this, perhaps it will be a great idea to add it in future installation of Scite4AutoIt).I created on the French forum a link towards this topic and towards the zip file. muttleyhttp://www.autoitscript.fr/forum/viewtopic.php?p=7358#p7358Tanks again, again, again ... Best Regards.Thierry Link to comment Share on other sites More sharing options...
engine Posted July 23, 2008 Share Posted July 23, 2008 Hi,Scite puts its SciteUser.properties into user account folder. That is why, OI works with this user specific property file.So this comes with Scite not with OI and IMO this behaviour is fine. MegaI agree it is fine. However AutoIt and SciTE4AutoIt3 are installed globally. If this UDF is included it must be global too.It's just my opinion.Regards. My contributions:Local account UDF Registry UDFs DriverSigning UDF Windows Services UDF [url="http://www.autoitscript.com/forum/index.php?showtopic=81880"][/url] Link to comment Share on other sites More sharing options...
Xenobiologist Posted July 23, 2008 Author Share Posted July 23, 2008 Thanks to all of you. My french got a bit lost over the last 10 years, but I was able to understand your words! muttley Topic : Include OI in Scite. I guess this will never happen, cause the script has grown gradually and Jos will never support something like that. But never say never. If he tolds me what to change for getting into it, I will do.Maybe some day, Jos implements a link for those who want to try the script. That would be nice. MegaP.S. : I'm still open for suggestions and improvements. E.g. : I could create a new ini for all the words used in OI and then OI could be multilingual. 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...
Tlem Posted July 24, 2008 Share Posted July 24, 2008 E.g. : I could create a new ini for all the words used in OI and then OI could be multilingual.Even if AutoIt and Scite4AutoIt is only in English, I find that it would really be a very good idea. Best Regards.Thierry Link to comment Share on other sites More sharing options...
Developers Jos Posted July 24, 2008 Developers Share Posted July 24, 2008 Topic : Include OI in Scite. I guess this will never happen, cause the script has grown gradually and Jos will never support something like that. But never say never. If he tolds me what to change for getting into it, I will do.Maybe some day, Jos implements a link for those who want to try the script. That would be nice.Mega,Not sure why you say that it will never happen. I remember you asked in the beginning of the development of your utility to have it included in the SciTE4AutoIt3 package and I am not sure what I exactly answered but don't think it was ready at that time. I have nothing against including it in the SciTE4AutoIt3 installer when there is a benefit for a larger group of users of this utility.I have included a new directive in the current Beta version of SciTE4AutoIt3 that will add all missing "standard constants" includes.If your script does a better job, I could even replace that internal Func with calling your script.I haven't looked at it for that last couple of months but will give it a spin again to see how things work and give some feedback.Just some general question I have without having looked yet:1. Does your script follow the exact standard for Include path search etc. I see you define "extra" includes in an INI? Are you also reading the same Registry entries as AutoIt3 does for finding extra includes?2. Do you support a commandline option to tell it to use Production or Beta includes?More to follow in the coming days.. ThanksJos muttley 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...
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