jpm Posted December 12, 2022 Posted December 12, 2022 Hi, I understand my consusion trying to use autoit3testdir=E:\trunk.SVN.prev\install instead of SciTE4AutoIt3_Dynamic_Include_Path=E:\trunk.SVN.prev\install I still have a pb because under E:\trunk.SVN.prev\install I have move _WinAPI_ShowCurqor() from WinAPIRe.au" to WinAPIInternals.au" The execution of Ctrl-Shift-z still show the %@programFileDir% not the one pointed by SciTE4AutoIt3_Dynamic_Include_Path which produce a wrong reference to WinAPres.au3 the twice execution of Ctrl-shift-z is still needed for GUICtrlInternals.au3 which contains only internal function starting which double underscore
Developers Jos Posted December 13, 2022 Author Developers Posted December 13, 2022 Have a look at the log: You will find that SciTE4AutoIt3_Dynamic_Include_Path=E:\trunk.SVN.prev\install does not replace the standard AutoIt3 includes but is an extra include path were additional includes can be found dynamic includes, like the ones fond in the project directory itself. I seriously think this is not a tool necessarily for these complex "exception setup's" but rather an straightforward coding aid for the regular installs. 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.
jpm Posted December 13, 2022 Posted December 13, 2022 So having an option as autoit3testdir= for "SciTE4AutoIt3_Dynamic_Include_TestPath" which override the standard @programfiledir\autoIt3 is not a good idea ... I was using that to check all include\*.au3 and also all the helpfile\*.au3 Cheers
Developers Jos Posted December 13, 2022 Author Developers Posted December 13, 2022 I am a little lost here: Isn't setting this the solution for you? On 12/10/2022 at 1:18 PM, Jos said: I have made a change in the common.lua file which will now use this logic: Use {SciTE_Home}\..\include as the AutoIt3 program directory as default Override previous with path defined in #AutoIt3Wrapper_AutoIt3Dir when present Override previous with path defined in #AutoIt3Wrapper_AutoIt3 when present Will be in the next upload soon. This version is now uploaded so is ready for you to try out. mLipok 1 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.
jpm Posted December 14, 2022 Posted December 14, 2022 I just check the download 13/12/2022 11/31 The overriding by #AutoIt3Wrapper_AutoIt3Dir does not seem to work I remove in WinAPISys.au3 the includes and add #AutoIt3Wrapper_AutoIt3Dir=e:\trunk.SVN.prev\install close SciTE and reload WinAPISys.au3 , Ctrl-Shift-z it should include my WinAPISysInternals.au3 which containe an UDF _WinAPI_ShowWindows which has been moved fron another udf file. the file WinAPISys.au3 is located in the #AutoIt3Wrapper_AutoIt3Dir=e:\trunk.SVN.prev\install What can I verify why the overriding does not work? Is it normal that the file in the AppData\local\AutoIt V3\ScITE\.Dyn_*s_C_Program_Files_(x86)_AutoIt3_include.tbl seems to refer to Program_Files_(x86) not to e:\trunk.SVN.prev\install ? When does the overring occur when loading the file in SciTE I assume. So the dynamic database have to be local to the loaded file. The double execution of Ctrl-shift-z is still needed for GUICtrlInternals.au3 perhaps due to the fact that the referenced UDF beging with double underscores Cheers
Developers Jos Posted December 17, 2022 Author Developers Posted December 17, 2022 (edited) @jpm, I did find some issues in the code for changing the default directory. Could you try the latest version? On 12/14/2022 at 2:53 PM, jpm said: Is it normal that the file in the AppData\local\AutoIt V3\ScITE\.Dyn_*s_C_Program_Files_(x86)_AutoIt3_include.tbl seems to refer to Program_Files_(x86) not to e:\trunk.SVN.prev\install ? Yes... the filename indicates the cache file for that target subdirectory, so there should also be a a separate cache file for the directory defined in the #AutoIt3Wrapper_AutoIt3Dir directory. EDIT: Also added a version to the console output: > done, no includes to add.(v2022127 1646) Edited December 17, 2022 by Jos 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.
jpm Posted December 17, 2022 Posted December 17, 2022 7 hours ago, Jos said: Yes... the filename indicates the cache file for that target subdirectory, so there should also be a a separate cache file for the directory defined in the #AutoIt3Wrapper_AutoIt3Dir directory. I did not see any file created, where are they located and when ?
Developers Jos Posted December 17, 2022 Author Developers Posted December 17, 2022 (edited) 1 hour ago, jpm said: I did not see any file created, where are they located and when ? All cachefiles are all located in SCITE_USERHOME, where also your SciTEUser.properties is located.... but is it working (better) now? Edited December 17, 2022 by Jos 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.
jpm Posted December 18, 2022 Posted December 18, 2022 When the #AutoIt3Wrapper_AutoIt3Dir is used, I don't see any new file in the dir containing SciTEUser.properties (AppData ...) only 2 .tbl referring to program file (x86) I am using the download 17/12/2022 16:47 I notice also there is a .lua.bak in the download
Developers Jos Posted December 18, 2022 Author Developers Posted December 18, 2022 (edited) I can only tell what is happening when you enable debugging and provide me with the logfile (SciTE_LUA_Scripts_Debug.err). bak file is removed, Edited December 18, 2022 by Jos 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.
jpm Posted December 19, 2022 Posted December 19, 2022 not sure to how to activate debugging Thanks for the help JP
Developers Jos Posted December 20, 2022 Author Developers Posted December 20, 2022 (edited) On 12/19/2022 at 5:49 PM, jpm said: not sure to how to activate debugging Help page? #SciTE4AutoIt3_AutoItDynamicIncludes_debug=n ;debug.AutoItDynamicIncludes=n/y #SciTE4AutoIt3_AutoItAutocomplete_debug=n ;debug.autoitautocomplet=n/y Edited December 22, 2022 by Jos 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.
jpm Posted December 22, 2022 Posted December 22, 2022 Thanks,I cannot any report with my SciTEUser.properties What is wrong with it?SciTEUser.properties Thanks for the help
Developers Jos Posted December 22, 2022 Author Developers Posted December 22, 2022 (edited) @jpm, Yeap... that is obviously not going to work. ## ------------------------------------------------------------------------------------------------------------------------ ## dynamic.include Directives and properties reference ## ----------------------------------------------------- #SciTE4AutoIt3_Dynamic_Include=y ;dynamic.include=y/n #SciTE4AutoIt3_Dynamic_Include_whiletyping=y ;dynamic.include.whiletyping=y/n #SciTE4AutoIt3_Dynamic_Include_recursive_check=n ;dynamic.include.recursive.check=n/y #SciTE4AutoIt3_Dynamic_Include_use_local_cache=n ;dynamic.include.use.local.cache=n/y #SciTE4AutoIt3_Dynamic_Include_version=prod ;dynamic.include.version=prod/beta #SciTE4AutoIt3_Dynamic_Include_verboselevel=0 ;dynamic.include.verbose.level=0/1/2 #SciTE4AutoIt3_Dynamic_Include_Path= #SciTE4AutoIt3_AutoItTools_debug=n ;debug.autoIttools=n/y #SciTE4AutoIt3_AutoItDynamicIncludes_debug=n ;debug.AutoItDynamicIncludes=n/y #SciTE4AutoIt3_AutoItAutocomplete_debug=n ;debug.autoitautocomplet=n/y #SciTE4AutoIt3_AutoItGotoDefinition_debug=n ;debug.autoitgotodefinition=n/y #SciTE4AutoIt3_AutoItIndentFix_debug=n ;debug.autoitindentfix=n/y This is an overview of the available Directives on the left hand side and the equivalent property variable on the right.... scrolling down in the example properties, you will find them there. So you set the default in the SciTEUser,properties for debugging set any of these to y to debug the appropriate lua script: ## ================================================ ## Separate settings for debugging these Lua files ## ================================================ #> Enable debugging for these lua scripts: debug.autoitdynamicincludes=n debug.autoitautocomplete=n debug.autoitgotodefinition=n debug.autoitindentfix=n debug.autoittools=n .. and you simply use the directive to override the default for the current script containing this directive: #SciTE4AutoIt3_AutoItDynamicIncludes_debug=y #SciTE4AutoIt3_AutoItAutocomplete_debug=n #SciTE4AutoIt3_AutoItGotoDefinition_debug=n #SciTE4AutoIt3_AutoItTools_debug=n .. I have updated the docs to the latest version as I see some things were missing: https://www.autoitscript.com/autoit3/scite/download/beta_SciTE4AutoIt3/SciTE5-with-DynamicFunctions/doc/SciTE4AutoIt3-autocomplete_dynamic_includes.html Jos Edited March 10, 2023 by Jos 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.
jpm Posted December 22, 2022 Posted December 22, 2022 Thanks I am back in the debug info, I will post them on message to avoid to polute this thread. just one thing when checking my .properties, does "timing.debug= 0" still valid ? perhaps now "debug.timing=0"
Developers Jos Posted December 23, 2022 Author Developers Posted December 23, 2022 11 hours ago, jpm said: just one thing when checking my .properties, does "timing.debug= 0" still valid ? perhaps now "debug.timing=0" Nope, that has changed along the way from an internal used by me function into these options: #SciTE4AutoIt3_Dynamic_Include_verboselevel=0 dynamic.include.verbose.level=0/1/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.
mLipok Posted January 24, 2023 Posted January 24, 2023 I had such info: Quote !???.Dynamic Includes will skip duplicate includefile : z:\!!!_SVN_AU3\UDF_ML\wd_MICHAELO.au3 !???. First found occurence: Z:\!!!_SVN_AU3\UDF_ML\wd_MICHAELO.au3 the difference is in capitalization, but this 2 files are the same. Can you somehow fix such cases ? Signature beginning:* Please remember: "AutoIt"..... * Wondering who uses AutoIt and what it can be used for ? * Forum Rules ** ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Code * for other useful stuff click the following button: Spoiler Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST API * ErrorLog.au3 UDF - A logging Library * Include Dependency Tree (Tool for analyzing script relations) * Show_Macro_Values.au3 * My contribution to others projects or UDF based on others projects: * _sql.au3 UDF * POP3.au3 UDF * RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF * SMTP Mailer UDF * Dual Monitor resolution detection * * 2GUI on Dual Monitor System * _SciLexer.au3 UDF * SciTE - Lexer for console pane * Useful links: * Forum Rules * Forum etiquette * Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * Wiki: * Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * OpenOffice/LibreOffice/XLS Related: WriterDemo.au3 * XLS/MDB from scratch with ADOX IE Related: * How to use IE.au3 UDF with AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * IE in TaskScheduler * IE Embedded Control Versioning (use IE9+ and HTML5 in a GUI) * PDF Related: * How to get reference to PDF object embeded in IE * IE on Windows 11 * I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions * EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *I also encourage you to check awesome @trancexx code: * Create COM objects from modules without any demand on user to register anything. * Another COM object registering stuff * OnHungApp handler * Avoid "AutoIt Error" message box in unknown errors * HTML editor * winhttp.au3 related : * https://www.autoitscript.com/forum/topic/206771-winhttpau3-download-problem-youre-speaking-plain-http-to-an-ssl-enabled-server-port/ "Homo sum; humani nil a me alienum puto" - Publius Terentius Afer"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming" , be and \\//_. Anticipating Errors : "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty." Signature last update: 2023-04-24
Developers Jos Posted January 24, 2023 Author Developers Posted January 24, 2023 3 hours ago, mLipok said: Can you somehow fix such cases ? Probably ... share logs via email please 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.
mLipok Posted January 25, 2023 Posted January 25, 2023 and some new freak issue: What this error mean ? Signature beginning:* Please remember: "AutoIt"..... * Wondering who uses AutoIt and what it can be used for ? * Forum Rules ** ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Code * for other useful stuff click the following button: Spoiler Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST API * ErrorLog.au3 UDF - A logging Library * Include Dependency Tree (Tool for analyzing script relations) * Show_Macro_Values.au3 * My contribution to others projects or UDF based on others projects: * _sql.au3 UDF * POP3.au3 UDF * RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF * SMTP Mailer UDF * Dual Monitor resolution detection * * 2GUI on Dual Monitor System * _SciLexer.au3 UDF * SciTE - Lexer for console pane * Useful links: * Forum Rules * Forum etiquette * Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * Wiki: * Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * OpenOffice/LibreOffice/XLS Related: WriterDemo.au3 * XLS/MDB from scratch with ADOX IE Related: * How to use IE.au3 UDF with AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * IE in TaskScheduler * IE Embedded Control Versioning (use IE9+ and HTML5 in a GUI) * PDF Related: * How to get reference to PDF object embeded in IE * IE on Windows 11 * I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions * EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *I also encourage you to check awesome @trancexx code: * Create COM objects from modules without any demand on user to register anything. * Another COM object registering stuff * OnHungApp handler * Avoid "AutoIt Error" message box in unknown errors * HTML editor * winhttp.au3 related : * https://www.autoitscript.com/forum/topic/206771-winhttpau3-download-problem-youre-speaking-plain-http-to-an-ssl-enabled-server-port/ "Homo sum; humani nil a me alienum puto" - Publius Terentius Afer"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming" , be and \\//_. Anticipating Errors : "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty." Signature last update: 2023-04-24
Developers Jos Posted January 25, 2023 Author Developers Posted January 25, 2023 2 hours ago, mLipok said: and some new freak issue: What this error mean ? Don't know.... it is reported before, both here and to Neil, but have never seen it myself. 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.
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