Jump to content
Jos

27 November 2019: Uploaded a new SciTE4AutoIt3.exe v19.1127.1402.0 installer.

Recommended Posts

I've uploaded a new Beta version of au3stripper that supports this directive:

#Au3Stripper_Ignore_Errors=__DebugMsgBox_*

and the output now is: 

>Running Au3Stripper (19.1127.1402.4)  from:C:\Program Files (x86)\AutoIt3\SciTE\Au3Stripper cmdline:
- 2.38 Iteration 1 Strip Functions result: Output  3800 lines, stripped 11057 Func lines and 12080 Commentlines
-          ignored  1 error(s) in UDF's defined in #Au3Stripper_Ignore_Errors.
- 4.75 Iteration 2 Strip Variables result: Output  388 lines and stripped 3412 lines
- 4.91 Iteration 3 Strip Variables result: Output  254 lines and stripped 134 lines
- 5.00 Iteration 4 Strip Variables result: Output  249 lines and stripped 5 lines
- 5.09 Iteration 5 Strip Variables result: Output  249 lines and stripped 0 lines
+> Source    27490 lines 1284597 Characters.
+> Stripped  14608 Func/Var lines and  12080 comment lines, Total 1270797 Characters.
+> Saved     97% lines 98% Characters.

An extra line will show the number of Errors ignored due to this new directive when there are any.

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

Share this post


Link to post
Share on other sites

somehow I get

+> Au3Stripper v19.1127.1402.4 finished created:N:\AppToInstall\AutoIt v3.3.14.5\My Additions for v3.3.15.5\Include\OnDebugMsgBox\OnDebugMsgBox(1.2020.5.25)\OnDebugMsgBox_Example_stripped.au3
!>16:26:42 ---------------------------------------------------------------
!>16:26:42 Au3Stripper ended with errors, using original scriptfile.rc:1
!>16:26:42 ---------------------------------------------------------------

I looked at AutoIt3Wrapper.au3 and there is nothing to change there for this to work, yet it didn't. Anything I should look at ?

Edit: full console

Spoiler
>"C:\ProgFilesSelf\AutoIt3\SciTE\..\AutoIt3.exe" "C:\ProgFilesSelf\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3" /ShowGui /prod /in "N:\AppToInstall\AutoIt v3.3.14.5\My Additions for v3.3.15.5\Include\OnDebugMsgBox\OnDebugMsgBox(1.2020.5.25)\OnDebugMsgBox_Example.au3"
+>16:32:46 Starting AutoIt3Wrapper (19.1127.1402.2} from:SciTE.exe (4.1.2.0)  Keyboard:00000409  OS:WIN_10/  CPU:X64 OS:X64  Environment(Language:0409)  CodePage:0  utf8.auto.check:4
+>         SciTEDir => C:\ProgFilesSelf\AutoIt3\SciTE   UserDir => C:\Users\Tester\AppData\Local\AutoIt v3\SciTE\AutoIt3Wrapper   SCITE_USERHOME => C:\Users\Tester\AppData\Local\AutoIt v3\SciTE 
-> No changes made..
>Running Au3Stripper (19.1127.1402.4)  from:C:\ProgFilesSelf\AutoIt3\SciTE\Au3Stripper cmdline:
-### StripOnly/StripFunc Error: Found DllCallbackRegister() statement using unsolvable Func, which will/could lead to removal of Funcs that are used by this Function.
>### current Func: _wi
n:\apptoinstall\autoit v3.3.14.5\my additions for v3.3.15.5\include\ondebugmsgbox\ondebugmsgbox(1.2020.5.25)\ondebugmsgbox.au3(340,1): Warning for line:DllStructSetData($tFunctionOffset, 1, DllCallbackGetPtr(DllCallbackRegister($vNewFunction, $sRet, $sParams))) 

-=============================================================================================================
-#### Au3Stripper Found   1 Error(s)!!!!    This means your script could have problems running properly.  ####
-=============================================================================================================
- 2.41 Iteration 1 Strip and Rename Functions result: Output  5391 lines and stripped 15833 lines
- 4.75 Iteration 2 Strip Variables result: Output  1447 lines and stripped 3944 lines
- 4.94 Iteration 3 Strip Variables result: Output  1295 lines and stripped 152 lines
- 5.09 Iteration 4 Strip Variables result: Output  1290 lines and stripped 5 lines
- 5.25 Iteration 5 Strip and Rename Variables result: Output  1290 lines and stripped 0 lines
+> Source    36966 lines 1698072 Characters.
+> Stripped  19934 Func/Var lines and  15182 comment lines, Total 1658911 Characters.
+> Saved     94% lines 97% Characters.
+> Au3Stripper v19.1127.1402.4 finished created:N:\AppToInstall\AutoIt v3.3.14.5\My Additions for v3.3.15.5\Include\OnDebugMsgBox\OnDebugMsgBox(1.2020.5.25)\OnDebugMsgBox_Example_stripped.au3
!>16:33:11 ---------------------------------------------------------------
!>16:33:11 Au3Stripper ended with errors, using original scriptfile.rc:1
!>16:33:11 ---------------------------------------------------------------
>Running:(3.3.14.5):C:\ProgFilesSelf\AutoIt3\aut2exe\aut2exe.exe  /in "N:\AppToInstall\AutoIt v3.3.14.5\My Additions for v3.3.15.5\Include\OnDebugMsgBox\OnDebugMsgBox(1.2020.5.25)\OnDebugMsgBox_Example.au3" /out "C:\Users\Tester\AppData\Local\AutoIt v3\Aut2exe\~AU4980.tmp.exe" /nopack /comp 2
+>16:33:12 Aut2exe.exe ended.C:\Users\Tester\AppData\Local\AutoIt v3\Aut2exe\~AU4980.tmp.exe. rc:0
+>16:33:12 Created program:N:\AppToInstall\AutoIt v3.3.14.5\My Additions for v3.3.15.5\Include\OnDebugMsgBox\OnDebugMsgBox(1.2020.5.25)\OnDebugMsgBox_Example.exe
+>16:33:13 AutoIt3Wrapper Finished.
>Exit code: 0    Time: 27.48

 

 

Edited by argumentum

Share this post


Link to post
Share on other sites

Sorry, but I am seeing snippets without any background info here. ;)

  • The first is when you Compile another script OnDebugMsgBox_Example.au3 ?
  • The second comment means what exactly? 

It would help me greatly when I don't have to puzzle to understand what might be meant in posts. :) 

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

Share this post


Link to post
Share on other sites

the 2nd post is that I get to realize ( from the complete console output in the hidden content ), that after the /rm, au3stripper goes over the code again and is there where it finds the error. In my line of thinking, au3stripper found the error in the renamed function. ( my 2 cents., I don't know what is happening )

Share this post


Link to post
Share on other sites
34 minutes ago, Jos said:

and the output now is: 

>Running Au3Stripper (19.1127.1402.4)  from:C:\Program Files (x86)\AutoIt3\SciTE\Au3Stripper cmdline:
- 2.38 Iteration 1 Strip Functions result: Output  3800 lines, stripped 11057 Func lines and 12080 Commentlines
-          ignored  1 error(s) in UDF's defined in #Au3Stripper_Ignore_Errors.
- 4.75 Iteration 2 Strip Variables result: Output  388 lines and stripped 3412 lines
- 4.91 Iteration 3 Strip Variables result: Output  254 lines and stripped 134 lines
- 5.00 Iteration 4 Strip Variables result: Output  249 lines and stripped 5 lines
- 5.09 Iteration 5 Strip Variables result: Output  249 lines and stripped 0 lines
+> Source    27490 lines 1284597 Characters.
+> Stripped  14608 Func/Var lines and  12080 comment lines, Total 1270797 Characters.
+> Saved     97% lines 98% Characters.

An extra line will show the number of Errors ignored due to this new directive when there are any.

I don't have that result on my side. It shows the error. :( 

Share this post


Link to post
Share on other sites
4 minutes ago, argumentum said:

I don't have that result on my side. It shows the error. :( 

Ok... this is the last time I try: Provide me with a test script that I can test with so I can see what you are doing!!!!!!

It honestly can't be that hard ....right?

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

Share this post


Link to post
Share on other sites

the file is OnDebugMsgBox_Example.au3 from  https://www.autoitscript.com/forum/files/file/500-ondebugmsgbox/

And the output I get is

>"C:\ProgFilesSelf\AutoIt3\SciTE\..\AutoIt3.exe" "C:\ProgFilesSelf\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3" /ShowGui /prod /in "C:\Users\Tester\Downloads\OnDebugMsgBox(1.2020.5.25)\OnDebugMsgBox_Example.au3"
+>16:57:06 Starting AutoIt3Wrapper (19.1127.1402.2} from:SciTE.exe (4.1.2.0)  Keyboard:00000409  OS:WIN_10/  CPU:X64 OS:X64  Environment(Language:0409)  CodePage:0  utf8.auto.check:4
+>         SciTEDir => C:\ProgFilesSelf\AutoIt3\SciTE   UserDir => C:\Users\Tester\AppData\Local\AutoIt v3\SciTE\AutoIt3Wrapper   SCITE_USERHOME => C:\Users\Tester\AppData\Local\AutoIt v3\SciTE 
-> No changes made..
>Running Au3Stripper (19.1127.1402.4)  from:C:\ProgFilesSelf\AutoIt3\SciTE\Au3Stripper cmdline:
-### StripOnly/StripFunc Error: Found DllCallbackRegister() statement using unsolvable Func, which will/could lead to removal of Funcs that are used by this Function.
>### current Func: _wi
c:\users\tester\downloads\ondebugmsgbox(1.2020.5.25)\ondebugmsgbox.au3(340,1): Warning for line:DllStructSetData($tFunctionOffset, 1, DllCallbackGetPtr(DllCallbackRegister($vNewFunction, $sRet, $sParams))) 

-=============================================================================================================
-#### Au3Stripper Found   1 Error(s)!!!!    This means your script could have problems running properly.  ####
-=============================================================================================================
- 2.44 Iteration 1 Strip and Rename Functions result: Output  5390 lines and stripped 15833 lines
- 4.78 Iteration 2 Strip Variables result: Output  1446 lines and stripped 3944 lines
- 4.97 Iteration 3 Strip Variables result: Output  1294 lines and stripped 152 lines
- 5.13 Iteration 4 Strip Variables result: Output  1289 lines and stripped 5 lines
- 5.28 Iteration 5 Strip and Rename Variables result: Output  1289 lines and stripped 0 lines
+> Source    36965 lines 1698030 Characters.
+> Stripped  19934 Func/Var lines and  15182 comment lines, Total 1658913 Characters.
+> Saved     94% lines 97% Characters.
+> Au3Stripper v19.1127.1402.4 finished created:C:\Users\Tester\Downloads\OnDebugMsgBox(1.2020.5.25)\OnDebugMsgBox_Example_stripped.au3
!>16:57:14 ---------------------------------------------------------------
!>16:57:14 Au3Stripper ended with errors, using original scriptfile.rc:1
!>16:57:14 ---------------------------------------------------------------
>Running:(3.3.14.5):C:\ProgFilesSelf\AutoIt3\aut2exe\aut2exe.exe  /in "C:\Users\Tester\Downloads\OnDebugMsgBox(1.2020.5.25)\OnDebugMsgBox_Example.au3" /out "C:\Users\Tester\AppData\Local\AutoIt v3\Aut2exe\~AU4D1F.tmp.exe" /nopack /comp 2
+>16:57:15 Aut2exe.exe ended.C:\Users\Tester\AppData\Local\AutoIt v3\Aut2exe\~AU4D1F.tmp.exe. rc:0
+>16:57:15 Created program:C:\Users\Tester\Downloads\OnDebugMsgBox(1.2020.5.25)\OnDebugMsgBox_Example.exe
+>16:57:16 AutoIt3Wrapper Finished.
>Exit code: 0    Time: 9.811

 

Share this post


Link to post
Share on other sites

Ok...   Now I understand what you are doing and what happens: The /RM function renames the function so doesn't match the original ignore errors name.
I will have a look at this tomorrow whether that's easily fixable.....  I knew this was going to be another "can of worms" ...

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

Share this post


Link to post
Share on other sites

Just uploaded a new Beta of au3stripper which should fix the issue when using /rm. 
Please be aware that I also renamed the new Directive for clarity to:

#Au3Stripper_Ignore_Errors_in_Func=__DebugMsgBox_*

I have also added the original FuncName to the warning in case it isn't ignored so it is easier to figure the error out:

-### StripOnly/StripFunc Error: Found DllCallbackRegister() statement using unsolvable Func, which will/could lead to removal of Funcs that are used by this Function.
>### current Func: _0     Original_Func_Name:__tttt_messageboxw
D:\Users\jvdza\Downloads\OnDebugMsgBox(1.2020.5.25)\test.au3(21,1): Warning for line:Local $hHandle = DllCallbackRegister($vNewFunction, $sRet, $sParams)

Give that a spin and see ig that also works for you.

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

Share this post


Link to post
Share on other sites

@Jos recently I start to use:

#AutoIt3Wrapper_Run_After=z:\TOOLs\Macro\PROGRAMY\_DigitalSign\ML_Signer.exe "%out%" "Z:\TOOLs\Macro\PROGRAMY\_DigitalSign\ML_Comodo.pfx"

Today I just found that in case of error :

Quote

..................
+>03:47:04 Starting AutoIt3Wrapper (19.1127.1402.6} from:SciTE.exe (4.2.0.0)  Keyboard:00000415  OS:WIN_10/1909  CPU:X64 OS:X64  Environment(Language:0809)  CodePage:65001  utf8.auto.check:4
..................
>Running:z:\TOOLs\Macro\PROGRAMY\_DigitalSign\ML_Signer.exe "Z:\TOOLs\Macro\PROGRAMY\Skaner\Skaner.exe" "Z:\TOOLs\Macro\PROGRAMY\_DigitalSign\ML_Comodo.pfx"
..................
! Signer intercept COM Error
!   $oError.description is:     Proces nie może uzyskać dostępu do pliku, ponieważ jest on używany przez inny proces. (my own translation by hand: Process could not access file, because the file is used by another process)

!   $oError.windescription:    Wystąpił wyjątek. (my own translation by hand: exception occured)

!   $oError.number is:     80020009
!   $oError.lastdllerror is:     0
!   $oError.scriptline is:     -1
!   $oError.source is:     
!   $oError.helpfile is:     
!   $oError.helpcontext is:     0
>z:\TOOLs\Macro\PROGRAMY\_DigitalSign\ML_Signer.exe "Z:\TOOLs\Macro\PROGRAMY\Skaner\Skaner.exe" "Z:\TOOLs\Macro\PROGRAMY\_DigitalSign\ML_Comodo.pfx" Ended   rc:20
+>03:47:53 AutoIt3Wrapper Finished.
>Exit code: 0    Time: 49.96
 

My program ML_Signer.exe properly set rc:20     but AutoIt3Wrapper ends with Exit code: 0 
I think this is not the way this process should be ended.

If APP defined by    #AutoIt3Wrapper_Run_After   ends with error then      AutoIt3Wrapper also should also return error.

Of course the exit code from AutoIt3Wrapper could be different than this one returned by APP which was runned "after".

What is your opinion about this ?

 

Edited by mLipok

Signature beginning:   Wondering who uses AutoIt and what it can be used for ?
* GHAPI UDF - modest beginning - communication with GitHub REST API Forum Rules *
Include Dependency Tree (Tool for analyzing script relations)
ADO.au3 UDF     POP3.au3 UDF     XML.au3 UDF    How to use IE.au3  UDF with  AutoIt v3.3.14.x  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 APIErrorLog.au3 UDF - A logging Library *

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 *

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

"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: 2021-01-03

Share this post


Link to post
Share on other sites
5 minutes ago, argumentum said:

..you'd need to add stuff.
#AutoIt3Wrapper_Run_After="z:\TOOLs\Macro\PROGRAMY\_DigitalSign\ML_Signer.exe "%out%" "Z:\TOOLs\Macro\PROGRAMY\_DigitalSign\ML_Comodo.pfx""
after you encase it it will run just fine :) 

This is not the problem.
Normally all works fine. Form about 2 weeks this problem occured maybe 3 times.

EDIT:
Even if I set this wrong, in case of any problem AutoIt3Wrapper should not return Exit code: 0

 

Edited by mLipok

Signature beginning:   Wondering who uses AutoIt and what it can be used for ?
* GHAPI UDF - modest beginning - communication with GitHub REST API Forum Rules *
Include Dependency Tree (Tool for analyzing script relations)
ADO.au3 UDF     POP3.au3 UDF     XML.au3 UDF    How to use IE.au3  UDF with  AutoIt v3.3.14.x  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 APIErrorLog.au3 UDF - A logging Library *

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 *

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

"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: 2021-01-03

Share this post


Link to post
Share on other sites
Just now, argumentum said:

I thought that the problem was the encasing :( 

no.

The problem occured because:

Quote

!   $oError.description is:     Proces nie może uzyskać dostępu do pliku, ponieważ jest on używany przez inny proces. (my own translation by hand: Process could not access file, because the file is used by another process)

!   $oError.windescription:    Wystąpił wyjątek. (my own translation by hand: exception occured)

 


Signature beginning:   Wondering who uses AutoIt and what it can be used for ?
* GHAPI UDF - modest beginning - communication with GitHub REST API Forum Rules *
Include Dependency Tree (Tool for analyzing script relations)
ADO.au3 UDF     POP3.au3 UDF     XML.au3 UDF    How to use IE.au3  UDF with  AutoIt v3.3.14.x  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 APIErrorLog.au3 UDF - A logging Library *

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 *

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

"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: 2021-01-03

Share this post


Link to post
Share on other sites
1 minute ago, mLipok said:

Process could not access file, because the file is used by another process)

ok, the next question Jos is gonna ask, is if you are using and antivirus or the like, that may be locking the file right at the time you try to sign it.
...classic debugging, like, is your PC plug to the wall and has electricity ( common IT joke ) :D 

Share this post


Link to post
Share on other sites

@Jos If you run second example of ConsoleWrite, you will see a couple of issues.  First, the "(line number)" doesn't jump to that line in Scite when double-click, nor it is displayed in red.  Second, Shift+F5 is both use as Test Run and Clear Output in Scite Tools menu.

3.3.14.5 au3 / 3.3.15.3 beta / 4.2.0 Scite

Edited by Nine

Share this post


Link to post
Share on other sites
4 hours ago, mLipok said:

What is your opinion about this ?

The issue with using the returncodes of any _run_before or _run_after runs is that you can have multiple and they often do not adhere to 0=ok anything else is wrong.
So what now would be the correct returncode to report when you run multiple Before and After processes?
It currently reports the result of it core supported processes, which to me is the only right way of doing this.

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

Share this post


Link to post
Share on other sites

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

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...