Jump to content

BETA: SciTE v5x & lua Dynamic_include and "Smart" AutoComplete for Vars/UDFs/Abbrevs


Jos
 Share

Recommended Posts

  • Developers
6 minutes ago, mLipok said:

The same lag (related to re-checking all the files) occurs when I type:

No, at that time the Found tables need to be read and presented in a Userdropdownlist...    So how many UDFs are now found? (Info in the debuglog!)

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

12 minutes ago, Jos said:

Could you add this property in your SciTEUser.properties which I use while developing:

timing.debug=1

This will show the time it takes for the initial load of the Standard stuff and then for each Tab change or Save:

my results on start:

Quote


> --> autoittools debugging on, records logged to Z:\AutoItPortable\App\SciTEv5\dynamic_udfs.err
!-> Get_Std_UDFs time: 6.83 Debugging:1-0-0
--> GetCFileUDFs time: 29.15 Debugging:1-0-0  Z:\1\test.au3
><- PerfDynUDFs  time: 36.06 Debugging:1-0-0  open   Z:\1\test.au3

 

on switch:

Quote


> --> autoittools debugging on, records logged to Z:\AutoItPortable\App\SciTEv5\dynamic_udfs.err
!-> Get_Std_UDFs time: 6.83 Debugging:1-0-0
--> GetCFileUDFs time: 29.15 Debugging:1-0-0  Z:\1\test.au3
><- PerfDynUDFs  time: 36.06 Debugging:1-0-0  open   Z:\1\test.au3
--> GetCFileUDFs time: 6.09 Debugging:1-0-0  z:\!!!_SVN_AU3\UDF_Forum\Other_Members\wd_core.au3
><- PerfDynUDFs  time: 6.12 Debugging:1-0-0  open   z:\!!!_SVN_AU3\UDF_Forum\Other_Members\wd_core.au3
><- PerfDynUDFs  time: 0.09 Debugging:1-0-0  switch z:\!!!_SVN_AU3\UDF_Forum\Other_Members\wd_core.au3

 

on switch back

Quote


> --> autoittools debugging on, records logged to Z:\AutoItPortable\App\SciTEv5\dynamic_udfs.err
!-> Get_Std_UDFs time: 6.83 Debugging:1-0-0
--> GetCFileUDFs time: 29.15 Debugging:1-0-0  Z:\1\test.au3
><- PerfDynUDFs  time: 36.06 Debugging:1-0-0  open   Z:\1\test.au3
--> GetCFileUDFs time: 6.09 Debugging:1-0-0  z:\!!!_SVN_AU3\UDF_Forum\Other_Members\wd_core.au3
><- PerfDynUDFs  time: 6.12 Debugging:1-0-0  open   z:\!!!_SVN_AU3\UDF_Forum\Other_Members\wd_core.au3
><- PerfDynUDFs  time: 0.09 Debugging:1-0-0  switch z:\!!!_SVN_AU3\UDF_Forum\Other_Members\wd_core.au3
--> GetCFileUDFs time: 27.23 Debugging:1-0-0  Z:\1\test.au3
><- PerfDynUDFs  time: 27.26 Debugging:1-0-0  switch Z:\1\test.au3

 

on save:

Quote


> --> autoittools debugging on, records logged to Z:\AutoItPortable\App\SciTEv5\dynamic_udfs.err
!-> Get_Std_UDFs time: 6.83 Debugging:1-0-0
--> GetCFileUDFs time: 29.15 Debugging:1-0-0  Z:\1\test.au3
><- PerfDynUDFs  time: 36.06 Debugging:1-0-0  open   Z:\1\test.au3
--> GetCFileUDFs time: 6.09 Debugging:1-0-0  z:\!!!_SVN_AU3\UDF_Forum\Other_Members\wd_core.au3
><- PerfDynUDFs  time: 6.12 Debugging:1-0-0  open   z:\!!!_SVN_AU3\UDF_Forum\Other_Members\wd_core.au3
><- PerfDynUDFs  time: 0.09 Debugging:1-0-0  switch z:\!!!_SVN_AU3\UDF_Forum\Other_Members\wd_core.au3
--> GetCFileUDFs time: 27.23 Debugging:1-0-0  Z:\1\test.au3
><- PerfDynUDFs  time: 27.26 Debugging:1-0-0  switch Z:\1\test.au3
--> GetCFileUDFs time: 25.63 Debugging:1-0-0  Z:\1\test.au3
><- PerfDynUDFs  time: 25.64 Debugging:1-0-0  save   Z:\1\test.au3

 

 

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 Codefor 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 APIErrorLog.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 TaskSchedulerIE 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 stuffOnHungApp handlerAvoid "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"
:naughty:  :ranting:, 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

Link to comment
Share on other sites

another test switch from wd_demo.au3 to wd_helper.au3

Quote

--> GetCFileUDFs time: 5.23 Debugging:1-0-0  Z:\!!!_SVN_AU3\UDF_Forum\Other_Members\wd_helper.au3
><- PerfDynUDFs  time: 5.25 Debugging:1-0-0  open   Z:\!!!_SVN_AU3\UDF_Forum\Other_Members\wd_helper.au3
><- PerfDynUDFs  time: 0.01 Debugging:1-0-0  switch Z:\!!!_SVN_AU3\UDF_Forum\Other_Members\wd_helper.au3
 

close wd_helper.au3 (back to wd_demo.au3)

Quote

--> GetCFileUDFs time: 1.88 Debugging:1-0-0  Z:\!!!_SVN_AU3\UDF_Forum\Other_Members\Official_AutoIt_Forum\WebDriver\wd_demo.au3
><- PerfDynUDFs  time: 1.91 Debugging:1-0-0  switch Z:\!!!_SVN_AU3\UDF_Forum\Other_Members\Official_AutoIt_Forum\WebDriver\wd_demo.au3
 

 

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 Codefor 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 APIErrorLog.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 TaskSchedulerIE 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 stuffOnHungApp handlerAvoid "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"
:naughty:  :ranting:, 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

Link to comment
Share on other sites

  • Developers

36 second is quit long when you compare it to my 1 second one time and 0.1 sec on switch. You do have debugging still enabled I see, but that is way too long. 
So how many UDFs & Global Const variables are we talking about here?

EDIT: Without debugging is much better but still.....   are you running from a USB Drive?

Edited 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.
  :)

Link to comment
Share on other sites

2 hours ago, Jos said:

So how many UDFs are now found? (Info in the debuglog!)

Scan include 212-500

 cfiFunc 3506 

 

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 Codefor 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 APIErrorLog.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 TaskSchedulerIE 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 stuffOnHungApp handlerAvoid "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"
:naughty:  :ranting:, 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

Link to comment
Share on other sites

  • Developers

I just found out I need to revisit the Scanning of the directories in the #SciTE4AutoIt3_Include_Path= as those are only scanned for UDFs at this moment and need to add the scan of Global Const even adding more. 

11 minutes ago, mLipok said:

cfiFunc 3506 

Maybe I will ask for an Zip containing your setup so I can test with an test environment that contains that many UDFs and probably a lot more Global Const, but I am honestly concerned whether that will ever properly perform with that many Include files, UDFs & Global Vars like you have setup. It might be you need a slightly different apprach for that but need to think about it and play with it for a while.  For the majority of the people (like me) this setup should work quite well. :) 

More to follow in a couple of days....

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

when I disable

autoittools.debug=0

then my results are:

Quote

!-> Get_Std_UDFs time: 1.46 Debugging:0-0-0
--> GetCFileUDFs time: 1.03 Debugging:0-0-0  Z:\1\test.au3
><- PerfDynUDFs  time: 2.50 Debugging:0-0-0  open   Z:\1\test.au3
--> GetCFileUDFs time: 0.29 Debugging:0-0-0  z:\!!!_SVN_AU3\UDF_Forum\Other_Members\wd_core.au3
><- PerfDynUDFs  time: 0.29 Debugging:0-0-0  open   z:\!!!_SVN_AU3\UDF_Forum\Other_Members\wd_core.au3
--> GetCFileUDFs time: 0.91 Debugging:0-0-0  Z:\1\test.au3
><- PerfDynUDFs  time: 0.91 Debugging:0-0-0  switch Z:\1\test.au3
--> GetCFileUDFs time: 0.17 Debugging:0-0-0  Z:\!!!_SVN_AU3\UDF_Forum\Other_Members\Official_AutoIt_Forum\WebDriver\wd_demo.au3
><- PerfDynUDFs  time: 0.17 Debugging:0-0-0  open   Z:\!!!_SVN_AU3\UDF_Forum\Other_Members\Official_AutoIt_Forum\WebDriver\wd_demo.au3
--> GetCFileUDFs time: 0.28 Debugging:0-0-0  Z:\!!!_SVN_AU3\UDF_Forum\Other_Members\wd_helper.au3
><- PerfDynUDFs  time: 0.28 Debugging:0-0-0  open   Z:\!!!_SVN_AU3\UDF_Forum\Other_Members\wd_helper.au3
 

so I do some other test

I switched from test.au3 to one of my script: KK_Poszukiwacz.au3 and after switch I add this

#SciTE4AutoIt3_Include_Path=;z:\!!!_SVN_AU3\UDF_ML;Z:\!!!_SVN_AU3\UDF_Forum\mLipok;z:\!!!_SVN_AU3\UDF_Forum\Other_Members

add save KK_Poszukiwacz.au3.

Then I get such results:

Quote

--> GetCFileUDFs time: 0.91 Debugging:0-0-0  Z:\1\test.au3
><- PerfDynUDFs  time: 0.91 Debugging:0-0-0  switch Z:\1\test.au3
--> GetCFileUDFs time: 0.28 Debugging:0-0-0  z:\!!!_SVN_AU3\PROGRAMY\KK_Poszukiwacz\KK_Poszukiwacz.au3
><- PerfDynUDFs  time: 0.28 Debugging:0-0-0  switch z:\!!!_SVN_AU3\PROGRAMY\KK_Poszukiwacz\KK_Poszukiwacz.au3
--> GetCFileUDFs time: 1.03 Debugging:0-0-0  z:\!!!_SVN_AU3\PROGRAMY\KK_Poszukiwacz\KK_Poszukiwacz.au3
><- PerfDynUDFs  time: 1.03 Debugging:0-0-0  save   z:\!!!_SVN_AU3\PROGRAMY\KK_Poszukiwacz\KK_Poszukiwacz.au3
--> GetCFileUDFs time: 1.05 Debugging:0-0-0  z:\!!!_SVN_AU3\PROGRAMY\KK_Poszukiwacz\KK_Poszukiwacz.au3
><- PerfDynUDFs  time: 1.06 Debugging:0-0-0  save   z:\!!!_SVN_AU3\PROGRAMY\KK_Poszukiwacz\KK_Poszukiwacz.au3
 

 

And these are the acceptable results.

This was made on my laptop:
Intel (R) Core (TM) i5-8350U CPU @ 1.70GHz 1.90 GHz: RAM 8.00 GB

2 hours ago, Jos said:

Without debugging is much better but still.....   are you running from a USB Drive?

Yes. I use USB Drive with Bitlocker encryption.

I also plan to test it tomorrow on my Intel I7 3Gen at my office.

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 Codefor 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 APIErrorLog.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 TaskSchedulerIE 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 stuffOnHungApp handlerAvoid "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"
:naughty:  :ranting:, 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

Link to comment
Share on other sites

 But I still think that 

Quote

au3.file.dynamic.calltips.api
au3.user.dynamic.calltips.api


for UDF defined in:

#SciTE4AutoIt3_Include_Path=;z:\!!!_SVN_AU3\UDF_ML;Z:\!!!_SVN_AU3\UDF_Forum\mLipok;z:\!!!_SVN_AU3\UDF_Forum\Other_Members

should be done only once at SciTE startup or via SciTEConfig.

For this I propose to move this configuration to SciTEUser.properties

of course it can be done in both ways by SciTEUser.properties or by #AutoIt3Wrapper_AutoIt3Dir
 

 

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 Codefor 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 APIErrorLog.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 TaskSchedulerIE 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 stuffOnHungApp handlerAvoid "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"
:naughty:  :ranting:, 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

Link to comment
Share on other sites

  • Developers
2 minutes ago, mLipok said:

should be done only once at SciTE startup

Yes. .....  and that is already the case....you are mixing up the File dependent thing au3.file.dynamic.calltips.api   and the "standard" includes defined in openpath which are stored in au3.user.dynamic.calltips.api and only done one time... as I have described in the Don and repeated a few posts ago. ;) 

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

  • Developers

Please use the latest version of lua.zip I just uploaded as that gives a bit better stats summary which now include the Include files/UDFs GlobalConst count info:

!-> Get_Std_UDFs time: 1.02 GlobalConstFiles:67 GlobalConstVars:13173 UDFIncludeFiles:16  UDFs:369  Debugging:0-0-0
--> GetCFileUDFs time: 0.13 IncludeFiles:3  UDFs:79  Debugging:0-0-0  C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3
><- PerfDynUDFs  time: 1.15 Debugging:0-0-0  open   C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3
--> GetCFileUDFs time: 0.15 IncludeFiles:9  UDFs:61  Debugging:0-0-0  C:\Program Files (x86)\AutoIt3\SciTE\SciTEConfig\SciteConfig.au3
><- PerfDynUDFs  time: 0.15 Debugging:0-0-0  open   C:\Program Files (x86)\AutoIt3\SciTE\SciTEConfig\SciteConfig.au3
--> GetCFileUDFs time: 0.21 IncludeFiles:8  UDFs:37  Debugging:0-0-0  C:\Program Files (x86)\AutoIt3\SciTE\SciTEConfig\AbbrevMan.au3
><- PerfDynUDFs  time: 0.21 Debugging:0-0-0  open   C:\Program Files (x86)\AutoIt3\SciTE\SciTEConfig\AbbrevMan.au3

... but as said: This is the last update until I have made the  fix for the issue I mentioned earlier and have done some code cleanup.....  and tested that.

Edited 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.
  :)

Link to comment
Share on other sites

some other questions what all this variables out of 12xxx means ?

Quote

-> Start Global Const Dropdown for $A with 65  variables out of 12446
--> AddMissingIncludes time: 0.07 Debugging:0-0-0
-> Start Global Const Dropdown for $b with 218  variables out of 12474
--> AddMissingIncludes time: 0.09 Debugging:0-0-0
-> Start Global Const Dropdown for $c with 717  variables out of 12383
--> AddMissingIncludes time: 0.12 Debugging:0-0-0
-> Start Global Const Dropdown for $d with 580  variables out of 12390
--> AddMissingIncludes time: 0.10 Debugging:0-0-0
-> Start Global Const Dropdown for $e with 2456  variables out of 12383
--> AddMissingIncludes time: 0.25 Debugging:0-0-0
-> Start Global Const Dropdown for $f with 508  variables out of 12387
--> AddMissingIncludes time: 0.12 Debugging:0-0-0
-> Start Global Const Dropdown for $g with 515  variables out of 12383
--> AddMissingIncludes time: 0.11 Debugging:0-0-0
-> Start Global Const Dropdown for $h with 183  variables out of 12390
--> AddMissingIncludes time: 0.07 Debugging:0-0-0
-> Start Global Const Dropdown for $i with 280  variables out of 12507
--> AddMissingIncludes time: 0.10 Debugging:0-0-0
-> Start Global Const Dropdown for $j with 35  variables out of 12383
--> AddMissingIncludes time: 0.08 Debugging:0-0-0
-> Start Global Const Dropdown for $k with 57  variables out of 12408
--> AddMissingIncludes time: 0.08 Debugging:0-0-0
-> Start Global Const Dropdown for $l with 662  variables out of 12383
--> AddMissingIncludes time: 0.11 Debugging:0-0-0
-> Start Global Const Dropdown for $m with 282  variables out of 12450
--> AddMissingIncludes time: 0.09 Debugging:0-0-0
-> Start Global Const Dropdown for $n with 73  variables out of 12392
--> AddMissingIncludes time: 0.07 Debugging:0-0-0
-> Start Global Const Dropdown for $o with 145  variables out of 12386
--> AddMissingIncludes time: 0.08 Debugging:0-0-0
-> Start Global Const Dropdown for $p with 241  variables out of 12383
--> AddMissingIncludes time: 0.09 Debugging:0-0-0
-> Start Global Const Dropdown for $q with 6  variables out of 12383
--> AddMissingIncludes time: 0.07 Debugging:0-0-0
-> Start Global Const Dropdown for $r with 513  variables out of 12383
--> AddMissingIncludes time: 0.10 Debugging:0-0-0
-> Start Global Const Dropdown for $s with 2750  variables out of 13317
--> AddMissingIncludes time: 0.25 Debugging:0-0-0
-> Start Global Const Dropdown for $t with 976  variables out of 12383
--> AddMissingIncludes time: 0.15 Debugging:0-0-0
-> Start Global Const Dropdown for $u with 86  variables out of 12386
--> AddMissingIncludes time: 0.08 Debugging:0-0-0
-> Start Global Const Dropdown for $v with 243  variables out of 12430
--> AddMissingIncludes time: 0.08 Debugging:0-0-0
-> Start Global Const Dropdown for $w with 667  variables out of 12398
--> AddMissingIncludes time: 0.11 Debugging:0-0-0
-> Start Global Const Dropdown for $x with 212  variables out of 12383
 

 

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 Codefor 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 APIErrorLog.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 TaskSchedulerIE 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 stuffOnHungApp handlerAvoid "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"
:naughty:  :ranting:, 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

Link to comment
Share on other sites

6 minutes ago, Jos said:

that gives a bit better stats summary which now include the Include files/UDFs GlobalConst count

here are my results:

Quote

!-> Get_Std_UDFs time: 1.78 GlobalConstFiles:65 GlobalConstVars:12381 UDFIncludeFiles:0  UDFs:0  Debugging:0-0-0
--> GetCFileUDFs time: 1.11 IncludeFiles:230  UDFs:3618  Debugging:0-0-0  z:\!!!_SVN_AU3\PROGRAMY\KK_Poszukiwacz\KK_Poszukiwacz.au3
><- PerfDynUDFs  time: 2.90 Debugging:0-0-0  open   z:\!!!_SVN_AU3\PROGRAMY\KK_Poszukiwacz\KK_Poszukiwacz.au3
 

 

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 Codefor 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 APIErrorLog.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 TaskSchedulerIE 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 stuffOnHungApp handlerAvoid "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"
:naughty:  :ranting:, 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

Link to comment
Share on other sites

 I have still have

Quote

timing.debug=1

so as far as I understand ... this message seams to bo incomplete

1 minute ago, mLipok said:

Debugging:0-0-0

 

 

Edited by mLipok

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 Codefor 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 APIErrorLog.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 TaskSchedulerIE 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 stuffOnHungApp handlerAvoid "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"
:naughty:  :ranting:, 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

Link to comment
Share on other sites

11 minutes ago, Jos said:

Yes. .....  and that is already the case....you are mixing up the File dependent thing au3.file.dynamic.calltips.api   and the "standard" includes defined in openpath which are stored in au3.user.dynamic.calltips.api and only done one time... as I have described in the Don and repeated a few posts ago. ;) 

Must re read.

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 Codefor 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 APIErrorLog.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 TaskSchedulerIE 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 stuffOnHungApp handlerAvoid "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"
:naughty:  :ranting:, 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

Link to comment
Share on other sites

  • Developers
17 minutes ago, mLipok said:

$A with 65  variables out of 12446

There are 65 Variables that start with $a out of the total variable count of 12446.  The total is different for each file as there are a different number of Local Variables and you have 12381 Standard Global Const variables.

11 minutes ago, mLipok said:

so as far as I understand ... this message seams to bo incomplete

Nope ... those are the 3 options in the properties for debugging and "timing.debug=1" is something I made for myself that I shared with you ...   so please stop being a nitpick and lets focus on the bigger picture which is the proper functioning of this feature! ;) 
You have used all you assign allotment of questions for today so  this was my last answer for today. :)  

 

Edited 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.
  :)

Link to comment
Share on other sites

On 7/3/2022 at 7:27 PM, mLipok said:

I also plan to test it tomorrow on my Intel I7 3Gen at my office.

Tested on my office Intel i7-3770S 
Using:

Quote

autoittools.debug=1

I am getting these results:

Quote

> --> autoittools debugging on, records logged to Z:\AutoItPortable\App\SciTEv5\dynamic_udfs.err
!-> Get_Std_UDFs time: 7.27 GlobalConstFiles:65 GlobalConstVars:12381 UDFIncludeFiles:0  UDFs:0  Debugging:1-0-0
--> GetCFileUDFs time: 30.60 IncludeFiles:211  UDFs:3584  Debugging:1-0-0  Z:\1\test.au3
><- PerfDynUDFs  time: 37.94 Debugging:1-0-0  open   Z:\1\test.au3
--> GetCFileUDFs time: 6.99 IncludeFiles:60  UDFs:649  Debugging:1-0-0  z:\!!!_SVN_AU3\UDF_Forum\Other_Members\wd_core.au3
><- PerfDynUDFs  time: 7.06 Debugging:1-0-0  open   z:\!!!_SVN_AU3\UDF_Forum\Other_Members\wd_core.au3
><- PerfDynUDFs  time: 0.02 Debugging:1-0-0  switch z:\!!!_SVN_AU3\UDF_Forum\Other_Members\wd_core.au3
--> GetCFileUDFs time: 5.90 IncludeFiles:59  UDFs:682  Debugging:1-0-0  Z:\!!!_SVN_AU3\UDF_Forum\Other_Members\wd_helper.au3
><- PerfDynUDFs  time: 5.92 Debugging:1-0-0  open   Z:\!!!_SVN_AU3\UDF_Forum\Other_Members\wd_helper.au3
><- PerfDynUDFs  time: 0.01 Debugging:1-0-0  switch Z:\!!!_SVN_AU3\UDF_Forum\Other_Members\wd_helper.au3
--> GetCFileUDFs time: 7.79 IncludeFiles:60  UDFs:649  Debugging:1-0-0  z:\!!!_SVN_AU3\UDF_Forum\Other_Members\wd_core.au3
><- PerfDynUDFs  time: 7.82 Debugging:1-0-0  switch z:\!!!_SVN_AU3\UDF_Forum\Other_Members\wd_core.au3
 

using:

Quote

autoittools.debug=0

I am getting these results:

Quote

!-> Get_Std_UDFs time: 1.52 GlobalConstFiles:65 GlobalConstVars:12381 UDFIncludeFiles:0  UDFs:0  Debugging:0-0-0
--> GetCFileUDFs time: 1.05 IncludeFiles:211  UDFs:3584  Debugging:0-0-0  Z:\1\test.au3
><- PerfDynUDFs  time: 2.57 Debugging:0-0-0  open   Z:\1\test.au3
--> GetCFileUDFs time: 0.34 IncludeFiles:60  UDFs:649  Debugging:0-0-0  z:\!!!_SVN_AU3\UDF_Forum\Other_Members\wd_core.au3
><- PerfDynUDFs  time: 0.34 Debugging:0-0-0  open   z:\!!!_SVN_AU3\UDF_Forum\Other_Members\wd_core.au3
--> GetCFileUDFs time: 0.30 IncludeFiles:59  UDFs:682  Debugging:0-0-0  Z:\!!!_SVN_AU3\UDF_Forum\Other_Members\wd_helper.au3
><- PerfDynUDFs  time: 0.30 Debugging:0-0-0  open   Z:\!!!_SVN_AU3\UDF_Forum\Other_Members\wd_helper.au3
--> GetCFileUDFs time: 0.34 IncludeFiles:60  UDFs:649  Debugging:0-0-0  z:\!!!_SVN_AU3\UDF_Forum\Other_Members\wd_core.au3
><- PerfDynUDFs  time: 0.34 Debugging:0-0-0  switch z:\!!!_SVN_AU3\UDF_Forum\Other_Members\wd_core.au3

As I said before, when debugging is turned off, the results are acceptable.

 

EDIT:
Please treat it as information / results of performance tests carried out under extreme conditions.

;)

 

Edited by mLipok

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 Codefor 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 APIErrorLog.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 TaskSchedulerIE 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 stuffOnHungApp handlerAvoid "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"
:naughty:  :ranting:, 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

Link to comment
Share on other sites

  • Developers

Just a quick update: I have been revamping the dynamic includes process and am now using cache files for the Standard UDFs and Global Const Variables, and made many other changes to speed up the process somewhat. These are the stats I currently get:

+ initial load of all tables and build cache files
!-> Get_Std_UDFs time: 0.76 GlobalConstFiles:71 GlobalConstVars:13270 STDUDFIncludeFiles:82  STDUDFs:3178  USRUDFIncludeFiles:14  USRUDFs:369  Debugging:0-0-0
--> GetCFileUDFs time: 0.12 IncludeFiles:3    UDFs:79    ConstVars:0      Debugging:0-0-0  C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3
--> GetCFileUDFs time: 0.12 IncludeFiles:4    UDFs:192   ConstVars:39     Debugging:0-0-0  C:\Program Files (x86)\AutoIt3\SciTE\SciTE Jump\SciTE Jump.au3
--> GetCFileUDFs time: 0.13 IncludeFiles:3    UDFs:79    ConstVars:0      Debugging:0-0-0  C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3
--> GetCFileUDFs time: 0.12 IncludeFiles:4    UDFs:192   ConstVars:39     Debugging:0-0-0  C:\Program Files (x86)\AutoIt3\SciTE\SciTE Jump\SciTE Jump.au3

+ Subsequent SciTE starts without the Include files needing to all be read again by using the cache files
!-> Get_Std_UDFs time: 0.19 GlobalConstFiles:71 GlobalConstVars:13270 STDUDFIncludeFiles:82  STDUDFs:3178  USRUDFIncludeFiles:14  USRUDFs:369  Debugging:0-0-0
--> GetCFileUDFs time: 0.12 IncludeFiles:3    UDFs:79    ConstVars:0      Debugging:0-0-0  C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3
--> GetCFileUDFs time: 0.13 IncludeFiles:4    UDFs:192   ConstVars:39     Debugging:0-0-0  C:\Program Files (x86)\AutoIt3\SciTE\SciTE Jump\SciTE Jump.au3
--> GetCFileUDFs time: 0.12 IncludeFiles:3    UDFs:79    ConstVars:0      Debugging:0-0-0  C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3
--> GetCFileUDFs time: 0.13 IncludeFiles:4    UDFs:192   ConstVars:39     Debugging:0-0-0  C:\Program Files (x86)\AutoIt3\SciTE\SciTE Jump\SciTE Jump.au3

The Initialization process checks the FileDate/Time/Size whether it was changed and only will update it's information the tables when either one is different.
Summary of the changes:

  • Create cache files for the standard includes and optionally for the File related UDFs & Vars as you need many includes for that to payoff.
  • It is now also getting the Global Enum variables from the *constants*.au3 include files.
  • It gets now all Global Const variables from any File related includes, unlike the Standard includes which are assumed to use *constants*.au3 for its public Global Const variables
  • Reverted Goto Func (Ctrl+J) to only jump to Funcs available in any of the #include files or one of it include tree. 
  • Undocumented UDFs from the Standard libraries will not be shown anymore by default, but it is configurable to override the standard au3.api.

I am planning some more testing and will publish this version tomorrow unless I hit a bug.

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.
  :)

Link to comment
Share on other sites

Just as an examle (Please treat it as information / results of performance tests carried out under extreme conditions.)

 

On my laptop(Intel i5 8350U)

When autoittools.debug=1 results are:

Quote

> --> autoittools debugging on, records logged to Z:\AutoItPortable\App\SciTEv5\dynamic_udfs.err
!-> Get_Std_UDFs time: 6.85 GlobalConstFiles:65 GlobalConstVars:12381 UDFIncludeFiles:0  UDFs:0  Debugging:1-0-0
--> GetCFileUDFs time: 28.67 IncludeFiles:211  UDFs:3584  Debugging:1-0-0  Z:\1\test.au3
><- PerfDynUDFs  time: 35.61 Debugging:1-0-0  open   Z:\1\test.au3
--> GetCFileUDFs time: 6.83 IncludeFiles:60  UDFs:649  Debugging:1-0-0  z:\!!!_SVN_AU3\UDF_Forum\Other_Members\wd_core.au3
><- PerfDynUDFs  time: 6.85 Debugging:1-0-0  open   z:\!!!_SVN_AU3\UDF_Forum\Other_Members\wd_core.au3
><- PerfDynUDFs  time: 0.10 Debugging:1-0-0  switch z:\!!!_SVN_AU3\UDF_Forum\Other_Members\wd_core.au3
--> GetCFileUDFs time: 5.41 IncludeFiles:59  UDFs:682  Debugging:1-0-0  Z:\!!!_SVN_AU3\UDF_Forum\Other_Members\wd_helper.au3
><- PerfDynUDFs  time: 5.44 Debugging:1-0-0  open   Z:\!!!_SVN_AU3\UDF_Forum\Other_Members\wd_helper.au3
><- PerfDynUDFs  time: 0.01 Debugging:1-0-0  switch Z:\!!!_SVN_AU3\UDF_Forum\Other_Members\wd_helper.au3
--> GetCFileUDFs time: 5.60 IncludeFiles:60  UDFs:649  Debugging:1-0-0  z:\!!!_SVN_AU3\UDF_Forum\Other_Members\wd_core.au3
><- PerfDynUDFs  time: 5.62 Debugging:1-0-0  switch z:\!!!_SVN_AU3\UDF_Forum\Other_Members\wd_core.au3
--> GetCFileUDFs time: 26.41 IncludeFiles:211  UDFs:3584  Debugging:1-0-0  Z:\1\test.au3
><- PerfDynUDFs  time: 26.43 Debugging:1-0-0  switch Z:\1\test.au3
--> GetCFileUDFs time: 5.80 IncludeFiles:60  UDFs:649  Debugging:1-0-0  z:\!!!_SVN_AU3\UDF_Forum\Other_Members\wd_core.au3
><- PerfDynUDFs  time: 5.83 Debugging:1-0-0  switch z:\!!!_SVN_AU3\UDF_Forum\Other_Members\wd_core.au3
 

 

when autoittools.debug=0 results are:

Quote

!-> Get_Std_UDFs time: 1.38 GlobalConstFiles:65 GlobalConstVars:12381 UDFIncludeFiles:0  UDFs:0  Debugging:0-0-0
--> GetCFileUDFs time: 0.93 IncludeFiles:211  UDFs:3584  Debugging:0-0-0  Z:\1\test.au3
><- PerfDynUDFs  time: 2.31 Debugging:0-0-0  open   Z:\1\test.au3
--> GetCFileUDFs time: 0.34 IncludeFiles:60  UDFs:649  Debugging:0-0-0  z:\!!!_SVN_AU3\UDF_Forum\Other_Members\wd_core.au3
><- PerfDynUDFs  time: 0.34 Debugging:0-0-0  open   z:\!!!_SVN_AU3\UDF_Forum\Other_Members\wd_core.au3
--> GetCFileUDFs time: 0.29 IncludeFiles:59  UDFs:682  Debugging:0-0-0  Z:\!!!_SVN_AU3\UDF_Forum\Other_Members\wd_helper.au3
><- PerfDynUDFs  time: 0.29 Debugging:0-0-0  open   Z:\!!!_SVN_AU3\UDF_Forum\Other_Members\wd_helper.au3
--> GetCFileUDFs time: 0.29 IncludeFiles:60  UDFs:649  Debugging:0-0-0  z:\!!!_SVN_AU3\UDF_Forum\Other_Members\wd_core.au3
><- PerfDynUDFs  time: 0.29 Debugging:0-0-0  switch z:\!!!_SVN_AU3\UDF_Forum\Other_Members\wd_core.au3
--> GetCFileUDFs time: 0.93 IncludeFiles:211  UDFs:3584  Debugging:0-0-0  Z:\1\test.au3
><- PerfDynUDFs  time: 0.93 Debugging:0-0-0  switch Z:\1\test.au3
--> GetCFileUDFs time: 0.29 IncludeFiles:60  UDFs:649  Debugging:0-0-0  z:\!!!_SVN_AU3\UDF_Forum\Other_Members\wd_core.au3
><- PerfDynUDFs  time: 0.30 Debugging:0-0-0  switch z:\!!!_SVN_AU3\UDF_Forum\Other_Members\wd_core.au3
 

 

 

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 Codefor 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 APIErrorLog.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 TaskSchedulerIE 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 stuffOnHungApp handlerAvoid "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"
:naughty:  :ranting:, 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

Link to comment
Share on other sites

I still have problem with

$ADO_
$WINHTTP_
$_WD_ERROR_

they do not expand.

preparing logs (I will send entire log via email).

Quote

!23:04:58 ->fn ->AddMissingIncludes ! ===== Start AddMissingIncludes to current script wordcheck Z:\1\test.au3
>23:04:58 ->fn ->AddMissingIncludes >> Word:841-849 $ADO_ERR 9 0 9
 23:04:58 ->fn ->AddMissingIncludes @ Start make list of possible Global Const Variables $ADO_ERR
-23:04:58 ->fn ->AddMissingIncludes - UDFs         Processed:0   skipped:0
-23:04:58 ->fn ->AddMissingIncludes - Global Const Processed:0   skipped:0
>>>>>>>>> Console:--> AddMissingIncludes time: 0.10 Debugging:1-0-0
!23:05:35 ->fn ->AddMissingIncludes ! ===== Start AddMissingIncludes to current script wordcheck Z:\1\test.au3
>23:05:35 ->fn ->AddMissingIncludes >> Word:884-893 $WINHTTP_ 9 0 9
 23:05:35 ->fn ->AddMissingIncludes @ Start make list of possible Global Const Variables $WINHTTP_
-23:05:35 ->fn ->AddMissingIncludes - UDFs         Processed:0   skipped:0
-23:05:35 ->fn ->AddMissingIncludes - Global Const Processed:0   skipped:0
>>>>>>>>> Console:--> AddMissingIncludes time: 0.12 Debugging:1-0-0
!23:05:39 ->fn ->AddMissingIncludes ! ===== Start AddMissingIncludes to current script wordcheck Z:\1\test.au3
>23:05:39 ->fn ->AddMissingIncludes >> Word:935-946 $_WD_ERROR_ 9 0 9
 23:05:39 ->fn ->AddMissingIncludes @ Start make list of possible Global Const Variables $_WD_ERROR_
-23:05:39 ->fn ->AddMissingIncludes - UDFs         Processed:0   skipped:0
-23:05:39 ->fn ->AddMissingIncludes - Global Const Processed:0   skipped:0
>>>>>>>>> Console:--> AddMissingIncludes time: 0.10 Debugging:1-0-0

btw.
I notice that when I change autoittools.debug=0/1 then I do not must restart SciTE - this feature changes on the fly ?

Edited by mLipok

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 Codefor 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 APIErrorLog.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 TaskSchedulerIE 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 stuffOnHungApp handlerAvoid "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"
:naughty:  :ranting:, 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

Link to comment
Share on other sites

  • Developers

I do not see the required include files in the list of Files that are read according the log ...   
Did you check the log for them? In which directory are they located and is that in the list?
 

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

  • Jos changed the title to BETA: SciTE v5x & lua Dynamic_include and "Smart" AutoComplete for Vars/UDFs/Abbrevs
  • Jos locked, unlocked and pinned this topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...