mLipok Posted May 3, 2015 Share Posted May 3, 2015 (edited) Normally I still use Au3.3.10.2, but sometime I use Au3.3.13.20.It seems that I missed something.When I use Edit control in Beta I notice a problem with diacratics:Czy chcesz ponowi� pr�b� uruchomienia programuIt should be:Czy chcesz ponowić próbę uruchomienia programuIn Au3.3.10.2 all is ok.What was changed in Au3.3.13.20 (or even previous - not checked) ?How to fix this ? Edited May 3, 2015 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 Code * for other useful stuff click the following button: Spoiler Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST API * ErrorLog.au3 UDF - A logging Library * Include Dependency Tree (Tool for analyzing script relations) * Show_Macro_Values.au3 * My contribution to others projects or UDF based on others projects: * _sql.au3 UDF * POP3.au3 UDF * RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF * SMTP Mailer UDF * Dual Monitor resolution detection * * 2GUI on Dual Monitor System * _SciLexer.au3 UDF * SciTE - Lexer for console pane * Useful links: * Forum Rules * Forum etiquette * Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * Wiki: * Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * OpenOffice/LibreOffice/XLS Related: WriterDemo.au3 * XLS/MDB from scratch with ADOX IE Related: * How to use IE.au3 UDF with AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * IE in TaskScheduler * IE Embedded Control Versioning (use IE9+ and HTML5 in a GUI) * PDF Related: * How to get reference to PDF object embeded in IE * IE on Windows 11 * I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions * EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *I also encourage you to check awesome @trancexx code: * Create COM objects from modules without any demand on user to register anything. * Another COM object registering stuff * OnHungApp handler * Avoid "AutoIt Error" message box in unknown errors * HTML editor * winhttp.au3 related : * https://www.autoitscript.com/forum/topic/206771-winhttpau3-download-problem-youre-speaking-plain-http-to-an-ssl-enabled-server-port/ "Homo sum; humani nil a me alienum puto" - Publius Terentius Afer"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming" , be and \\//_. Anticipating Errors : "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty." Signature last update: 2023-04-24 Link to comment Share on other sites More sharing options...
czardas Posted May 3, 2015 Share Posted May 3, 2015 Could you give a very short code example that demonstrates the problem, please? operator64 ArrayWorkshop Link to comment Share on other sites More sharing options...
mLipok Posted May 4, 2015 Author Share Posted May 4, 2015 The problem arose when using Au3Stripper#Au3Stripper_Parameters=/SOBut I do not think it is related to it.I strip manualy my script file from 9000 line to 1441 lines.First 1420 lines comes from Standard UDF. Just try to use it TEST_DIACRATICS.zipin this example I get a window with:Nie mo�na uruchamia� programu wielokrotnie w tym samym czasieit should beNie można uruchamiać programu wielokrotnie w tym samym czasie In my testing phase I comment this two lines:Func _WinAPI_GetLastError(Const $_iCurrentError = @error, Const $_iCurrentExtended = @extended) ;~ Local $aResult = DllCall("kernel32.dll", "dword", "GetLastError") ;~ Return SetError($_iCurrentError, $_iCurrentExtended, $aResult[0]) EndFunc ;==>_WinAPI_GetLastError When I try to delete this lines then this issue do not appear. It is strange to me.Any concept why this happend ? Signature beginning:* Please remember: "AutoIt"..... * Wondering who uses AutoIt and what it can be used for ? * Forum Rules ** ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Code * for other useful stuff click the following button: Spoiler Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST API * ErrorLog.au3 UDF - A logging Library * Include Dependency Tree (Tool for analyzing script relations) * Show_Macro_Values.au3 * My contribution to others projects or UDF based on others projects: * _sql.au3 UDF * POP3.au3 UDF * RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF * SMTP Mailer UDF * Dual Monitor resolution detection * * 2GUI on Dual Monitor System * _SciLexer.au3 UDF * SciTE - Lexer for console pane * Useful links: * Forum Rules * Forum etiquette * Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * Wiki: * Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * OpenOffice/LibreOffice/XLS Related: WriterDemo.au3 * XLS/MDB from scratch with ADOX IE Related: * How to use IE.au3 UDF with AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * IE in TaskScheduler * IE Embedded Control Versioning (use IE9+ and HTML5 in a GUI) * PDF Related: * How to get reference to PDF object embeded in IE * IE on Windows 11 * I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions * EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *I also encourage you to check awesome @trancexx code: * Create COM objects from modules without any demand on user to register anything. * Another COM object registering stuff * OnHungApp handler * Avoid "AutoIt Error" message box in unknown errors * HTML editor * winhttp.au3 related : * https://www.autoitscript.com/forum/topic/206771-winhttpau3-download-problem-youre-speaking-plain-http-to-an-ssl-enabled-server-port/ "Homo sum; humani nil a me alienum puto" - Publius Terentius Afer"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming" , be and \\//_. Anticipating Errors : "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty." Signature last update: 2023-04-24 Link to comment Share on other sites More sharing options...
BrewManNH Posted May 4, 2015 Share Posted May 4, 2015 If I change SciTE's encoding for the file to UTF-8 or UTF-8 with BOM and save the file, then reopen it, it works fine.Your zip file shows up like this when I open it in Scite, its encoding shows up as "Code Page Property"_UWAGA("Nie mo¿na uruchamiaæ programu wielokrotnie w tym samym czasie")If I convert it to UTF-8 that line shows up as this._UWAGA("Nie moa uruchamia桰rogramu wielokrotnie w tym samym czasie")If I encode the script as UTF-8 and copy the text you have in the OP into the script it shows up normally when I run it._UWAGA("Nie można uruchamiać programu wielokrotnie w tym samym czasie")Make sure you have SciTE's encoding set correctly before trying to use anything other than "low ASCII" characters (0-127) Skysnake 1 If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag GudeHow to ask questions the smart way! I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from. Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays. - ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script. - Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label. - _FileGetProperty - Retrieve the properties of a file - SciTE Toolbar - A toolbar demo for use with the SciTE editor - GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI. - Latin Square password generator Link to comment Share on other sites More sharing options...
mLipok Posted May 4, 2015 Author Share Posted May 4, 2015 (edited) Thanks @BrewManNHYour comment give me a solution.To the top of my script I added Example() Func Example() Local $iEncoding = FileGetEncoding(@ScriptFullPath) ; Retrieve the file encoding of the current script. If @error Then MsgBox(0, "", "Error: Could not obtain the file encoding.") Else MsgBox(0, "", "FileGetEncoding: The value returned was: " & $iEncoding) ; The value returned for this example should be 0 or $FO_ANSI. EndIf EndFunc ;==>Example And It just remember to me what I missed:Here:https://www.autoitscript.com/autoit3/files/beta/autoit/docs/script_breaking_changes.htmI read this:Files containing only characters 1-127 are opened in UTF-8 with no BOM ($FO_UTF8_NOBOM) mode by default. Previously they would be opened in ANSI mode. Use the $FO_ANSI flag to override.Files containing only characters 1-255 are opened in ANSI ($FO_ANSI) mode by default.Due to the above FileGetEncoding() now returns 512 ($FO_ANSI) or 256 ($FO_UTF8_NOBOM) instead of 0 which was undocumented but indicated ANSI. And for that Beta works in another way then stable.Big thanks, again. Edited May 4, 2015 by mLipok wording Signature beginning:* Please remember: "AutoIt"..... * Wondering who uses AutoIt and what it can be used for ? * Forum Rules ** ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Code * for other useful stuff click the following button: Spoiler Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST API * ErrorLog.au3 UDF - A logging Library * Include Dependency Tree (Tool for analyzing script relations) * Show_Macro_Values.au3 * My contribution to others projects or UDF based on others projects: * _sql.au3 UDF * POP3.au3 UDF * RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF * SMTP Mailer UDF * Dual Monitor resolution detection * * 2GUI on Dual Monitor System * _SciLexer.au3 UDF * SciTE - Lexer for console pane * Useful links: * Forum Rules * Forum etiquette * Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * Wiki: * Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * OpenOffice/LibreOffice/XLS Related: WriterDemo.au3 * XLS/MDB from scratch with ADOX IE Related: * How to use IE.au3 UDF with AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * IE in TaskScheduler * IE Embedded Control Versioning (use IE9+ and HTML5 in a GUI) * PDF Related: * How to get reference to PDF object embeded in IE * IE on Windows 11 * I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions * EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *I also encourage you to check awesome @trancexx code: * Create COM objects from modules without any demand on user to register anything. * Another COM object registering stuff * OnHungApp handler * Avoid "AutoIt Error" message box in unknown errors * HTML editor * winhttp.au3 related : * https://www.autoitscript.com/forum/topic/206771-winhttpau3-download-problem-youre-speaking-plain-http-to-an-ssl-enabled-server-port/ "Homo sum; humani nil a me alienum puto" - Publius Terentius Afer"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming" , be and \\//_. Anticipating Errors : "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty." Signature last update: 2023-04-24 Link to comment Share on other sites More sharing options...
mLipok Posted May 4, 2015 Author Share Posted May 4, 2015 (edited) Let's try again: TEST_DIACRATICS2.zipTo this new test script I add:#Region DELETE THIS AN RECHECK ... ... ... #EndRegion DELETE THIS AN RECHECKandLocal $iEncoding = FileGetEncoding(@ScriptFullPath) ; Retrieve the file encoding of the current script. _UWAGA("Nie można uruchamiać programu wielokrotnie w tym samym czasie" & @CRLF & "FileGetEncoding: The value returned was: " & $iEncoding) Just unpack andFirst Check: just run.Second check: remove entire #region and just run again. EDIT: Run using Au3.3.13.20Question:Why in first check text is displayed incorrectly and in second check the text is displayed correctly , despite the fact that the encoding has not changed ? mLipok Edited May 4, 2015 by mLipok remark about Au3.3.13.20 Signature beginning:* Please remember: "AutoIt"..... * Wondering who uses AutoIt and what it can be used for ? * Forum Rules ** ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Code * for other useful stuff click the following button: Spoiler Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST API * ErrorLog.au3 UDF - A logging Library * Include Dependency Tree (Tool for analyzing script relations) * Show_Macro_Values.au3 * My contribution to others projects or UDF based on others projects: * _sql.au3 UDF * POP3.au3 UDF * RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF * SMTP Mailer UDF * Dual Monitor resolution detection * * 2GUI on Dual Monitor System * _SciLexer.au3 UDF * SciTE - Lexer for console pane * Useful links: * Forum Rules * Forum etiquette * Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * Wiki: * Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * OpenOffice/LibreOffice/XLS Related: WriterDemo.au3 * XLS/MDB from scratch with ADOX IE Related: * How to use IE.au3 UDF with AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * IE in TaskScheduler * IE Embedded Control Versioning (use IE9+ and HTML5 in a GUI) * PDF Related: * How to get reference to PDF object embeded in IE * IE on Windows 11 * I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions * EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *I also encourage you to check awesome @trancexx code: * Create COM objects from modules without any demand on user to register anything. * Another COM object registering stuff * OnHungApp handler * Avoid "AutoIt Error" message box in unknown errors * HTML editor * winhttp.au3 related : * https://www.autoitscript.com/forum/topic/206771-winhttpau3-download-problem-youre-speaking-plain-http-to-an-ssl-enabled-server-port/ "Homo sum; humani nil a me alienum puto" - Publius Terentius Afer"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming" , be and \\//_. Anticipating Errors : "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty." Signature last update: 2023-04-24 Link to comment Share on other sites More sharing options...
czardas Posted May 5, 2015 Share Posted May 5, 2015 (edited) This is indeed a mystery. Just before the #EndRegion on line 1399, I commented out the last two functions. This does not fix the problem but if you delete the commented out lines it miraculously works again. Very Strange indeed - how can a comment in the code even trigger a bug. This is rather an obscure bug - possibly some kind of leak burried deep beneath several layers of abstraction. I couldn't track down anything that might be causing it.#cs DELETE THIS AN RECHECK Func __Debug_ReportNotepadCreate() Local $bExists = WinExists($__g_sReportTitle_Debug) If $bExists Then If $__g_hReportEdit_Debug = 0 Then $__g_hReportEdit_Debug = WinGetHandle($__g_sReportTitle_Debug) Return 0 EndIf EndIf Local $pNotepad = Run("Notepad.exe") $__g_hReportEdit_Debug = WinWait("[CLASS:Notepad]") If $pNotepad <> WinGetProcess($__g_hReportEdit_Debug) Then Return SetError(3, 0, 0) EndIf WinActivate($__g_hReportEdit_Debug) WinSetTitle($__g_hReportEdit_Debug, "", String($__g_sReportTitle_Debug)) Return 1 EndFunc ;==>__Debug_ReportNotepadCreate Func __Debug_ReportNotepadWrite($sData) If $__g_hReportEdit_Debug = 0 Then __Debug_ReportNotepadCreate() ControlCommand($__g_hReportEdit_Debug, "", "Edit1", "EditPaste", String($sData)) EndFunc ;==>__Debug_ReportNotepadWrite #ce DELETE THIS AN RECHECKEdit: Also notice that deleting other sections of code fixes the problem too - sometimes. I just can't pin it down because of these eratic results. The crazy thing about it is that none of the code being deleted is ever run (apart from the assignments) and removing the code (which never runs ^^) fixes things. Edited May 5, 2015 by czardas operator64 ArrayWorkshop Link to comment Share on other sites More sharing options...
mLipok Posted May 5, 2015 Author Share Posted May 5, 2015 (edited) This is indeed a mystery.Exactly.Your argument is exactly a reflection of my thoughts. EDIT:It looks as if the character encoding has changed inside the file content.So removing the portion of the file, thereby changing its character encoding. btw.I'm still working on it to catch this imp. Edited May 5, 2015 by mLipok czardas 1 Signature beginning:* Please remember: "AutoIt"..... * Wondering who uses AutoIt and what it can be used for ? * Forum Rules ** ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Code * for other useful stuff click the following button: Spoiler Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST API * ErrorLog.au3 UDF - A logging Library * Include Dependency Tree (Tool for analyzing script relations) * Show_Macro_Values.au3 * My contribution to others projects or UDF based on others projects: * _sql.au3 UDF * POP3.au3 UDF * RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF * SMTP Mailer UDF * Dual Monitor resolution detection * * 2GUI on Dual Monitor System * _SciLexer.au3 UDF * SciTE - Lexer for console pane * Useful links: * Forum Rules * Forum etiquette * Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * Wiki: * Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * OpenOffice/LibreOffice/XLS Related: WriterDemo.au3 * XLS/MDB from scratch with ADOX IE Related: * How to use IE.au3 UDF with AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * IE in TaskScheduler * IE Embedded Control Versioning (use IE9+ and HTML5 in a GUI) * PDF Related: * How to get reference to PDF object embeded in IE * IE on Windows 11 * I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions * EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *I also encourage you to check awesome @trancexx code: * Create COM objects from modules without any demand on user to register anything. * Another COM object registering stuff * OnHungApp handler * Avoid "AutoIt Error" message box in unknown errors * HTML editor * winhttp.au3 related : * https://www.autoitscript.com/forum/topic/206771-winhttpau3-download-problem-youre-speaking-plain-http-to-an-ssl-enabled-server-port/ "Homo sum; humani nil a me alienum puto" - Publius Terentius Afer"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming" , be and \\//_. Anticipating Errors : "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty." Signature last update: 2023-04-24 Link to comment Share on other sites More sharing options...
czardas Posted May 5, 2015 Share Posted May 5, 2015 (edited) Keep us informed if you make any progress figuring out what's going on: at the moment it's hard to define the problem. It definately needs further investigation. Thanks mLipok for reporting this issue. Edited May 5, 2015 by czardas operator64 ArrayWorkshop Link to comment Share on other sites More sharing options...
mLipok Posted May 5, 2015 Author Share Posted May 5, 2015 (edited) Initially it appears that a problem associated with:#AutoIt3Wrapper_Run_Au3Stripper=Y...check in progres.... EDIT1:Test program #1:#AutoIt3Wrapper_Version=B #include <File.au3> _Test() Func _Test() Local $sFile = FileOpenDialog("Choose file", @ScriptDir, 'Au3 File (*.au3)') ConsoleWrite('================== Choosen file:' & @CRLF) _ConsoleOut($sFile) ConsoleWrite('================== Au3.3.10.2' & @CRLF) Local $sAutoIt_InstallDir = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE" & ((@OSArch = 'X64') ? "\Wow6432Node" : "") & "\AutoIt v3\AutoIt", "InstallDir") Local $aIncludeList = _FileListToArray($sAutoIt_InstallDir & '\Include\', '*.au3', $FLTA_FILES, True) For $iFile = 1 To $aIncludeList[0] _ConsoleOut($aIncludeList[$iFile]) Next ConsoleWrite('================== Au3.3.13.20' & @CRLF) Local $sAutoIt_InstallDir = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE" & ((@OSArch = 'X64') ? "\Wow6432Node" : "") & "\AutoIt v3\AutoIt", "InstallDir") Local $aIncludeList = _FileListToArray($sAutoIt_InstallDir & '\Beta\Include\', '*.au3', $FLTA_FILES, True) For $iFile = 1 To $aIncludeList[0] _ConsoleOut($aIncludeList[$iFile]) Next ConsoleWrite('==================' & @CRLF) EndFunc ;==>_Test Func _ConsoleOut($sFileFullPath) ConsoleWrite(FileGetEncoding($sFileFullPath) & ' ' & $sFileFullPath & @CRLF) EndFunc ;==>_ConsoleOut Results:expandcollapse popup>"C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /prod /ErrorStdOut /in "Z:\TOOLs\Macro\PROGRAMY\KK_OGOLNA\test_encoding.au3" /UserParams @@ Debug(-1) : @WorkingDir = Z:\TOOLs\Macro\PROGRAMY\KK_OGOLNA >Error code: 0 +>01:24:48 Starting AutoIt3Wrapper v.15.503.1200.0 SciTE v.3.5.4.0 Keyboard:00000415 OS:WIN_7/Service Pack 1 CPU:X64 OS:X64 Environment(Language:0415) +> SciTEDir => C:\Program Files (x86)\AutoIt3\SciTE UserDir => C:\Users\user\AppData\Local\AutoIt v3\SciTE\AutoIt3Wrapper SCITE_USERHOME => C:\Users\user\AppData\Local\AutoIt v3\SciTE >Running AU3Check (3.3.13.20) from:C:\Program Files (x86)\AutoIt3\Beta input:Z:\TOOLs\Macro\PROGRAMY\KK_OGOLNA\test_encoding.au3 +>01:24:48 AU3Check ended.rc:0 >Running:(3.3.13.20):C:\Program Files (x86)\AutoIt3\Beta\autoit3.exe "Z:\TOOLs\Macro\PROGRAMY\KK_OGOLNA\test_encoding.au3" --> Press Ctrl+F11 to Restart or Ctrl+Break -or- F11 to Stop ================== Choosen file: 512 Z:\TOOLs\Macro\PROGRAMY\KK_OGOLNA\TEST_DIACRATICS2.au3 ================== Au3.3.10.2 256 C:\Program Files (x86)\AutoIt3\Include\APIComConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\APIConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\APIDiagConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\APIDlgConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\APIErrorsConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\APIFilesConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\APIGdiConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\APILocaleConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\APIMiscConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\APIProcConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\APIRegConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\APIResConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\APIShellExConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\APIShPathConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\APISysConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\APIThemeConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\Array.au3 256 C:\Program Files (x86)\AutoIt3\Include\AVIConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\BorderConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\ButtonConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\Clipboard.au3 256 C:\Program Files (x86)\AutoIt3\Include\Color.au3 256 C:\Program Files (x86)\AutoIt3\Include\ColorConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\ComboConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\Constants.au3 256 C:\Program Files (x86)\AutoIt3\Include\Crypt.au3 256 C:\Program Files (x86)\AutoIt3\Include\Date.au3 256 C:\Program Files (x86)\AutoIt3\Include\DateTimeConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\Debug.au3 256 C:\Program Files (x86)\AutoIt3\Include\DirConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\EditConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\EventLog.au3 256 C:\Program Files (x86)\AutoIt3\Include\Excel.au3 256 C:\Program Files (x86)\AutoIt3\Include\File.au3 256 C:\Program Files (x86)\AutoIt3\Include\FileConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\FontConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\FrameConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\FTPEx.au3 256 C:\Program Files (x86)\AutoIt3\Include\GDIPlus.au3 256 C:\Program Files (x86)\AutoIt3\Include\GDIPlusConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\GuiAVI.au3 256 C:\Program Files (x86)\AutoIt3\Include\GuiButton.au3 256 C:\Program Files (x86)\AutoIt3\Include\GuiComboBox.au3 256 C:\Program Files (x86)\AutoIt3\Include\GuiComboBoxEx.au3 256 C:\Program Files (x86)\AutoIt3\Include\GUIConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\GUIConstantsEx.au3 256 C:\Program Files (x86)\AutoIt3\Include\GuiDateTimePicker.au3 256 C:\Program Files (x86)\AutoIt3\Include\GuiEdit.au3 256 C:\Program Files (x86)\AutoIt3\Include\GuiHeader.au3 256 C:\Program Files (x86)\AutoIt3\Include\GuiImageList.au3 256 C:\Program Files (x86)\AutoIt3\Include\GuiIPAddress.au3 256 C:\Program Files (x86)\AutoIt3\Include\GuiListBox.au3 256 C:\Program Files (x86)\AutoIt3\Include\GuiListView.au3 256 C:\Program Files (x86)\AutoIt3\Include\GuiMenu.au3 256 C:\Program Files (x86)\AutoIt3\Include\GuiMonthCal.au3 256 C:\Program Files (x86)\AutoIt3\Include\GuiReBar.au3 512 C:\Program Files (x86)\AutoIt3\Include\GuiRichEdit.au3 256 C:\Program Files (x86)\AutoIt3\Include\GuiScrollBars.au3 256 C:\Program Files (x86)\AutoIt3\Include\GuiSlider.au3 256 C:\Program Files (x86)\AutoIt3\Include\GuiStatusBar.au3 256 C:\Program Files (x86)\AutoIt3\Include\GuiTab.au3 256 C:\Program Files (x86)\AutoIt3\Include\GuiToolbar.au3 256 C:\Program Files (x86)\AutoIt3\Include\GuiToolTip.au3 256 C:\Program Files (x86)\AutoIt3\Include\GuiTreeView.au3 256 C:\Program Files (x86)\AutoIt3\Include\HeaderConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\IE.au3 256 C:\Program Files (x86)\AutoIt3\Include\IE_updated.au3 256 C:\Program Files (x86)\AutoIt3\Include\ImageListConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\Inet.au3 256 C:\Program Files (x86)\AutoIt3\Include\InetConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\IPAddressConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\ListBoxConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\ListViewConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\Math.au3 256 C:\Program Files (x86)\AutoIt3\Include\Memory.au3 256 C:\Program Files (x86)\AutoIt3\Include\MemoryConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\MenuConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\Misc.au3 256 C:\Program Files (x86)\AutoIt3\Include\MsgBoxConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\NamedPipes.au3 256 C:\Program Files (x86)\AutoIt3\Include\NetShare.au3 512 C:\Program Files (x86)\AutoIt3\Include\NTSTATUSConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\Process.au3 256 C:\Program Files (x86)\AutoIt3\Include\ProcessConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\ProgressConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\RebarConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\RichEditConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\ScreenCapture.au3 256 C:\Program Files (x86)\AutoIt3\Include\ScrollBarConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\ScrollBarsConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\Security.au3 256 C:\Program Files (x86)\AutoIt3\Include\SecurityConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\SendMessage.au3 256 C:\Program Files (x86)\AutoIt3\Include\SliderConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\Sound.au3 256 C:\Program Files (x86)\AutoIt3\Include\SQLite.au3 256 C:\Program Files (x86)\AutoIt3\Include\SQLite.dll.au3 256 C:\Program Files (x86)\AutoIt3\Include\StaticConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\StatusBarConstants.au3 512 C:\Program Files (x86)\AutoIt3\Include\String.au3 256 C:\Program Files (x86)\AutoIt3\Include\StringConstants.au3 512 C:\Program Files (x86)\AutoIt3\Include\StructureConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\TabConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\test.au3 256 C:\Program Files (x86)\AutoIt3\Include\Timers.au3 256 C:\Program Files (x86)\AutoIt3\Include\ToolbarConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\ToolTipConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\TrayConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\TreeViewConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\UDFGlobalID.au3 256 C:\Program Files (x86)\AutoIt3\Include\UpDownConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\Visa.au3 256 C:\Program Files (x86)\AutoIt3\Include\WinAPI.au3 256 C:\Program Files (x86)\AutoIt3\Include\WinAPICom.au3 256 C:\Program Files (x86)\AutoIt3\Include\WinAPIConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\WinAPIDiag.au3 256 C:\Program Files (x86)\AutoIt3\Include\WinAPIDlg.au3 256 C:\Program Files (x86)\AutoIt3\Include\WinAPIError.au3 256 C:\Program Files (x86)\AutoIt3\Include\WinAPIEx.au3 256 C:\Program Files (x86)\AutoIt3\Include\WinAPIFiles.au3 256 C:\Program Files (x86)\AutoIt3\Include\WinAPIGdi.au3 256 C:\Program Files (x86)\AutoIt3\Include\WinAPIInternals.au3 256 C:\Program Files (x86)\AutoIt3\Include\WinAPIlangConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\WinAPILocale.au3 256 C:\Program Files (x86)\AutoIt3\Include\WinAPIMisc.au3 256 C:\Program Files (x86)\AutoIt3\Include\WinAPIProc.au3 256 C:\Program Files (x86)\AutoIt3\Include\WinAPIReg.au3 256 C:\Program Files (x86)\AutoIt3\Include\WinAPIRes.au3 256 C:\Program Files (x86)\AutoIt3\Include\WinAPIShellEx.au3 256 C:\Program Files (x86)\AutoIt3\Include\WinAPIShPath.au3 256 C:\Program Files (x86)\AutoIt3\Include\WinAPISys.au3 256 C:\Program Files (x86)\AutoIt3\Include\WinAPIsysinfoConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\WinAPITheme.au3 256 C:\Program Files (x86)\AutoIt3\Include\WinAPIvkeysConstants.au3 256 C:\Program Files (x86)\AutoIt3\Include\WindowsConstants.au3 512 C:\Program Files (x86)\AutoIt3\Include\WinNet.au3 256 C:\Program Files (x86)\AutoIt3\Include\Word.au3 256 C:\Program Files (x86)\AutoIt3\Include\WordConstants.au3 ================== Au3.3.13.20 256 C:\Program Files (x86)\AutoIt3\Beta\Include\APIComConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\APIConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\APIDiagConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\APIDlgConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\APIErrorsConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\APIFilesConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\APIGdiConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\APILocaleConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\APIMiscConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\APIProcConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\APIRegConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\APIResConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\APIShellExConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\APIShPathConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\APISysConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\APIThemeConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\Array.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\AutoItConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\AVIConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\BorderConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\ButtonConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\Clipboard.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\Color.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\ColorConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\ComboConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\Constants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\Crypt.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\Date.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\DateTimeConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\Debug.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\DirConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\EditConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\EventLog.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\Excel.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\ExcelConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\File.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\FileConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\FontConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\FrameConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\FTPEx.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\GDIPlus.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\GDIPlusConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\GuiAVI.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\GuiButton.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\GuiComboBox.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\GuiComboBoxEx.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\GUIConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\GUIConstantsEx.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\GuiDateTimePicker.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\GuiEdit.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\GuiHeader.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\GuiImageList.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\GuiIPAddress.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\GuiListBox.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\GuiListView.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\GuiMenu.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\GuiMonthCal.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\GuiReBar.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\GuiRichEdit.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\GuiScrollBars.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\GuiSlider.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\GuiStatusBar.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\GuiTab.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\GuiToolbar.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\GuiToolTip.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\GuiTreeView.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\HeaderConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\IE.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\IE2.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\IE_UPDATED.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\ImageListConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\Inet.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\InetConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\IPAddressConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\ListBoxConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\ListViewConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\Math.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\MathConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\Memory.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\MemoryConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\MenuConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\Misc.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\MsgBoxConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\NamedPipes.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\NetShare.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\NTSTATUSConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\Process.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\ProcessConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\ProgressConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\RebarConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\RichEditConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\ScreenCapture.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\ScrollBarConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\ScrollBarsConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\Security.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\SecurityConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\SendMessage.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\SliderConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\Sound.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\SQLite.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\SQLite.dll.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\StaticConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\StatusBarConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\String.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\StringConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\StructureConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\TabConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\Timers.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\ToolbarConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\ToolTipConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\TrayConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\TreeViewConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\UDFGlobalID.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\UpDownConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\Visa.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\WinAPI.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\WinAPICom.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\WinAPIConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\WinAPIDiag.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\WinAPIDlg.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\WinAPIError.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\WinAPIEx.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\WinAPIFiles.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\WinAPIGdi.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\WinAPIInternals.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\WinAPIlangConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\WinAPILocale.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\WinAPIMisc.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\WinAPIProc.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\WinAPIReg.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\WinAPIRes.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\WinAPIShellEx.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\WinAPIShPath.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\WinAPISys.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\WinAPIsysinfoConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\WinAPITheme.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\WinAPIvkeysConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\WindowsConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\WinNet.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\Word.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\WordConstants.au3 256 C:\Program Files (x86)\AutoIt3\Beta\Include\_DateAdd.au3 ================== +>01:24:52 AutoIt3.exe ended.rc:0 +>01:24:52 AutoIt3Wrapper Finished. >Exit code: 0 Time: 3.91 Edited May 5, 2015 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 Code * for other useful stuff click the following button: Spoiler Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST API * ErrorLog.au3 UDF - A logging Library * Include Dependency Tree (Tool for analyzing script relations) * Show_Macro_Values.au3 * My contribution to others projects or UDF based on others projects: * _sql.au3 UDF * POP3.au3 UDF * RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF * SMTP Mailer UDF * Dual Monitor resolution detection * * 2GUI on Dual Monitor System * _SciLexer.au3 UDF * SciTE - Lexer for console pane * Useful links: * Forum Rules * Forum etiquette * Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * Wiki: * Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * OpenOffice/LibreOffice/XLS Related: WriterDemo.au3 * XLS/MDB from scratch with ADOX IE Related: * How to use IE.au3 UDF with AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * IE in TaskScheduler * IE Embedded Control Versioning (use IE9+ and HTML5 in a GUI) * PDF Related: * How to get reference to PDF object embeded in IE * IE on Windows 11 * I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions * EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *I also encourage you to check awesome @trancexx code: * Create COM objects from modules without any demand on user to register anything. * Another COM object registering stuff * OnHungApp handler * Avoid "AutoIt Error" message box in unknown errors * HTML editor * winhttp.au3 related : * https://www.autoitscript.com/forum/topic/206771-winhttpau3-download-problem-youre-speaking-plain-http-to-an-ssl-enabled-server-port/ "Homo sum; humani nil a me alienum puto" - Publius Terentius Afer"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming" , be and \\//_. Anticipating Errors : "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty." Signature last update: 2023-04-24 Link to comment Share on other sites More sharing options...
czardas Posted May 5, 2015 Share Posted May 5, 2015 I don't know what the problem is. I am having difficulty pasting unicode into SciTE - for example 啕. I haven't looked in any depth at the change logs. I was under the impression that unicode was now fully supported. operator64 ArrayWorkshop Link to comment Share on other sites More sharing options...
mLipok Posted May 5, 2015 Author Share Posted May 5, 2015 (edited) Attached script: test_encoding.au3: expandcollapse popup#AutoIt3Wrapper_Version=B #AutoIt3Wrapper_Run_Au3Stripper=Y #Au3Stripper_Parameters=/MO #include <File.au3> Global Const $ES_MULTILINE = 4 Global Const $ES_AUTOVSCROLL = 64 Global Const $ES_WANTRETURN = 4096 Global Const $ECM_FIRST = 0X1500 Global Const $EM_CHARFROMPOS = 0xD7 Global Const $EM_GETLINECOUNT = 0xBA Global Const $EM_HIDEBALLOONTIP = ($ECM_FIRST + 4) Global Const $EM_LIMITTEXT = 0xC5 Global Const $EM_LINESCROLL = 0xB6 Global Const $EM_REPLACESEL = 0xC2 Global Const $EM_SCROLL = 0xB5 Global Const $EM_SCROLLCARET = 0x00B7 Global Const $EM_SETLIMITTEXT = $EM_LIMITTEXT Global Const $EM_SETREADONLY = 0xCF Global Const $EM_SETSEL = 0xB1 Global Const $EM_SHOWBALLOONTIP = ($ECM_FIRST + 3) Global Const $GUI_SS_DEFAULT_EDIT = 0x003010c0 Global Const $ES_READONLY = 2048 Global Const $WS_BORDER = 0x00800000 Global Const $WS_EX_CLIENTEDGE = 0x00000200 Global Const $WS_EX_STATICEDGE = 0x00020000 Global Const $GUI_EVENT_CLOSE = -3 _Test() Func _Test() Local $sText = '' $sText &= _Diagnostic('================== @ScriptFullPath:') $sText &= _Diagnostic(@ScriptFullPath) $sText &= _Diagnostic('================== Au3.3.10.2') Local $sAutoIt_InstallDir = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE" & ((@OSArch = 'X64') ? "\Wow6432Node" : "") & "\AutoIt v3\AutoIt", "InstallDir") Local $aIncludeList = _FileListToArray($sAutoIt_InstallDir & '\Include\', '*.au3', $FLTA_FILES, True) For $iFile = 1 To $aIncludeList[0] $sText &= _Diagnostic($aIncludeList[$iFile]) Next $sText &= _Diagnostic('================== Au3.3.13.20') Local $sAutoIt_InstallDir = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE" & ((@OSArch = 'X64') ? "\Wow6432Node" : "") & "\AutoIt v3\AutoIt", "InstallDir") Local $aIncludeList = _FileListToArray($sAutoIt_InstallDir & '\Beta\Include\', '*.au3', $FLTA_FILES, True) For $iFile = 1 To $aIncludeList[0] $sText &= _Diagnostic($aIncludeList[$iFile]) Next $sText &= _Diagnostic('==================') Local $iEncoding = FileGetEncoding(@ScriptFullPath) ; Retrieve the file encoding of the current script. _Attention("Nie można uruchamiać programu wielokrotnie w tym samym czasie" & @CRLF & @CRLF & $sText) EndFunc ;==>_Test Func _Diagnostic($sFileFullPath_or_CommentString) If FileExists($sFileFullPath_or_CommentString) Then Return FileGetEncoding($sFileFullPath_or_CommentString) & ' ' & $sFileFullPath_or_CommentString & @CRLF Else Return $sFileFullPath_or_CommentString & @CRLF EndIf EndFunc ;==>_Diagnostic Func _Attention($s_text) Local $hGUI_Attention = GUICreate('Attention', 574, 532, 286, 134, -1, -1, 0) Local $idEdit = GUICtrlCreateEdit($s_text , 0, 0, 569, 497, BitOR($GUI_SS_DEFAULT_EDIT, $ES_READONLY, $WS_BORDER), BitOR($WS_EX_CLIENTEDGE, $WS_EX_STATICEDGE)) GUICtrlSetLimit($idEdit, 64 * 1024) GUICtrlSetFont($idEdit, 10) GUISetState(@SW_SHOW) Local $nMsg While 1 Sleep(10) $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE ExitLoop EndSwitch WEnd GUIDelete($hGUI_Attention) EndFunc ;==>_Attention RUN (F5) Results:>"C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /NoStatus /prod /in "Z:\TOOLs\Macro\PROGRAMY\KK_OGOLNA\test_encoding.au3" @@ Debug(-1) : @WorkingDir = Z:\TOOLs\Macro\PROGRAMY\KK_OGOLNA >Error code: 0 +>01:43:53 Starting AutoIt3Wrapper v.15.503.1200.0 SciTE v.3.5.4.0 Keyboard:00000415 OS:WIN_7/Service Pack 1 CPU:X64 OS:X64 Environment(Language:0415) +> SciTEDir => C:\Program Files (x86)\AutoIt3\SciTE UserDir => C:\Users\user\AppData\Local\AutoIt v3\SciTE\AutoIt3Wrapper SCITE_USERHOME => C:\Users\user\AppData\Local\AutoIt v3\SciTE >Running AU3Check (3.3.13.20) from:C:\Program Files (x86)\AutoIt3\Beta input:Z:\TOOLs\Macro\PROGRAMY\KK_OGOLNA\test_encoding.au3 +>01:43:53 AU3Check ended.rc:0 >Running Au3Stripper (15.503.1200.0) from:C:\Program Files (x86)\AutoIt3\SciTE\Au3Stripper cmdline: /Beta +> 0 Au3Stripper v15.503.1200.0 finished merging 4217 lines of code, stripped 1195 comment lines and Merged 7 Continuation lines. +> Created:Z:\TOOLs\Macro\PROGRAMY\KK_OGOLNA\test_encoding_stripped.au3 with 3015 lines. +>01:43:53 Au3Stripper ended.rc:0 >Running AU3Check (3.3.13.20) from:C:\Program Files (x86)\AutoIt3\Beta input:Z:\TOOLs\Macro\PROGRAMY\KK_OGOLNA\test_encoding_stripped.au3 +>01:43:53 AU3Check ended.rc:0 >Running:(3.3.13.20):C:\Program Files (x86)\AutoIt3\Beta\aut2exe\aut2exe.exe /in "Z:\TOOLs\Macro\PROGRAMY\KK_OGOLNA\test_encoding_stripped.au3" /out "C:\Users\user\AppData\Local\AutoIt v3\Aut2exe\~AU3gugjizb.exe" /nopack /comp 2 +>01:43:54 Aut2exe.exe ended.C:\Users\user\AppData\Local\AutoIt v3\Aut2exe\~AU3gugjizb.exe. rc:0 +>01:43:54 Created program:Z:\TOOLs\Macro\PROGRAMY\KK_OGOLNA\test_encoding.exe +>01:43:54 AutoIt3Wrapper Finished. >Exit code: 0 Time: 1.963 COMPILED (F7) Results: Compiled (F7) with commented:;~ #AutoIt3Wrapper_Run_Au3Stripper=Y QUESTION 1:Whats mean 16:16 Z:\TOOLs\Macro\PROGRAMY\KK_OGOLNA\test_encoding.exe HelpFilehttps://www.autoitscript.com/autoit3/files/beta/autoit/docs/functions/FileGetEncoding.htmdo not know this type. Question 2:What Au3Stripper doing with encoding when merging files ? Edited May 5, 2015 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 Code * for other useful stuff click the following button: Spoiler Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST API * ErrorLog.au3 UDF - A logging Library * Include Dependency Tree (Tool for analyzing script relations) * Show_Macro_Values.au3 * My contribution to others projects or UDF based on others projects: * _sql.au3 UDF * POP3.au3 UDF * RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF * SMTP Mailer UDF * Dual Monitor resolution detection * * 2GUI on Dual Monitor System * _SciLexer.au3 UDF * SciTE - Lexer for console pane * Useful links: * Forum Rules * Forum etiquette * Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * Wiki: * Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * OpenOffice/LibreOffice/XLS Related: WriterDemo.au3 * XLS/MDB from scratch with ADOX IE Related: * How to use IE.au3 UDF with AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * IE in TaskScheduler * IE Embedded Control Versioning (use IE9+ and HTML5 in a GUI) * PDF Related: * How to get reference to PDF object embeded in IE * IE on Windows 11 * I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions * EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *I also encourage you to check awesome @trancexx code: * Create COM objects from modules without any demand on user to register anything. * Another COM object registering stuff * OnHungApp handler * Avoid "AutoIt Error" message box in unknown errors * HTML editor * winhttp.au3 related : * https://www.autoitscript.com/forum/topic/206771-winhttpau3-download-problem-youre-speaking-plain-http-to-an-ssl-enabled-server-port/ "Homo sum; humani nil a me alienum puto" - Publius Terentius Afer"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming" , be and \\//_. Anticipating Errors : "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty." Signature last update: 2023-04-24 Link to comment Share on other sites More sharing options...
mLipok Posted May 5, 2015 Author Share Posted May 5, 2015 I don't know what the problem is. I am having difficulty pasting unicode into SciTE - for example 啕. I haven't looked in any depth at the change logs. I was under the impression that unicode was now fully supported.You can dowload file from my previous post (just next to yours post) Signature beginning:* Please remember: "AutoIt"..... * Wondering who uses AutoIt and what it can be used for ? * Forum Rules ** ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Code * for other useful stuff click the following button: Spoiler Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST API * ErrorLog.au3 UDF - A logging Library * Include Dependency Tree (Tool for analyzing script relations) * Show_Macro_Values.au3 * My contribution to others projects or UDF based on others projects: * _sql.au3 UDF * POP3.au3 UDF * RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF * SMTP Mailer UDF * Dual Monitor resolution detection * * 2GUI on Dual Monitor System * _SciLexer.au3 UDF * SciTE - Lexer for console pane * Useful links: * Forum Rules * Forum etiquette * Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * Wiki: * Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * OpenOffice/LibreOffice/XLS Related: WriterDemo.au3 * XLS/MDB from scratch with ADOX IE Related: * How to use IE.au3 UDF with AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * IE in TaskScheduler * IE Embedded Control Versioning (use IE9+ and HTML5 in a GUI) * PDF Related: * How to get reference to PDF object embeded in IE * IE on Windows 11 * I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions * EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *I also encourage you to check awesome @trancexx code: * Create COM objects from modules without any demand on user to register anything. * Another COM object registering stuff * OnHungApp handler * Avoid "AutoIt Error" message box in unknown errors * HTML editor * winhttp.au3 related : * https://www.autoitscript.com/forum/topic/206771-winhttpau3-download-problem-youre-speaking-plain-http-to-an-ssl-enabled-server-port/ "Homo sum; humani nil a me alienum puto" - Publius Terentius Afer"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming" , be and \\//_. Anticipating Errors : "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty." Signature last update: 2023-04-24 Link to comment Share on other sites More sharing options...
mLipok Posted May 5, 2015 Author Share Posted May 5, 2015 hmm.Answer 1: $FO_BINARY (16) = Force binary mode (See Remarks). Signature beginning:* Please remember: "AutoIt"..... * Wondering who uses AutoIt and what it can be used for ? * Forum Rules ** ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Code * for other useful stuff click the following button: Spoiler Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST API * ErrorLog.au3 UDF - A logging Library * Include Dependency Tree (Tool for analyzing script relations) * Show_Macro_Values.au3 * My contribution to others projects or UDF based on others projects: * _sql.au3 UDF * POP3.au3 UDF * RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF * SMTP Mailer UDF * Dual Monitor resolution detection * * 2GUI on Dual Monitor System * _SciLexer.au3 UDF * SciTE - Lexer for console pane * Useful links: * Forum Rules * Forum etiquette * Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * Wiki: * Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * OpenOffice/LibreOffice/XLS Related: WriterDemo.au3 * XLS/MDB from scratch with ADOX IE Related: * How to use IE.au3 UDF with AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * IE in TaskScheduler * IE Embedded Control Versioning (use IE9+ and HTML5 in a GUI) * PDF Related: * How to get reference to PDF object embeded in IE * IE on Windows 11 * I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions * EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *I also encourage you to check awesome @trancexx code: * Create COM objects from modules without any demand on user to register anything. * Another COM object registering stuff * OnHungApp handler * Avoid "AutoIt Error" message box in unknown errors * HTML editor * winhttp.au3 related : * https://www.autoitscript.com/forum/topic/206771-winhttpau3-download-problem-youre-speaking-plain-http-to-an-ssl-enabled-server-port/ "Homo sum; humani nil a me alienum puto" - Publius Terentius Afer"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming" , be and \\//_. Anticipating Errors : "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty." Signature last update: 2023-04-24 Link to comment Share on other sites More sharing options...
jchd Posted May 5, 2015 Share Posted May 5, 2015 AFAICT AutoIt currently uses UCS2, not plain UTF16. UCS2 is (roughly) the restriction of Unicode to the subset of codepoints that fit in a single 16-bit encoding unit (that is without surrogates). This is Unicode plane 0, also called BMP (Basic Multilingual Plane). This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe hereRegExp tutorial: enough to get startedPCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta. SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt) Link to comment Share on other sites More sharing options...
czardas Posted May 6, 2015 Share Posted May 6, 2015 (edited) The unicode character I couldn't paste into SciTE was U+5555 which is well within the BMP. Oh I just read BrewmanNH's responce. Edited May 6, 2015 by czardas operator64 ArrayWorkshop Link to comment Share on other sites More sharing options...
jchd Posted May 6, 2015 Share Posted May 6, 2015 Works like a charm for me. Latest SciTE4AutoIt3, release or beta, Au3Check or not. This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe hereRegExp tutorial: enough to get startedPCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta. SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt) Link to comment Share on other sites More sharing options...
czardas Posted May 6, 2015 Share Posted May 6, 2015 (edited) Yeah I've tried all the available encodings now. Sorry for the mistake. It still doesn't answer mLipok's query though. The issue is rather odd. Edited May 6, 2015 by czardas operator64 ArrayWorkshop Link to comment Share on other sites More sharing options...
mLipok Posted May 6, 2015 Author Share Posted May 6, 2015 Works like a charm for me. Latest SciTE4AutoIt3, release or beta, Au3Check or not.AuCheck is not a problem, this issue is related to Au3Stripper. Signature beginning:* Please remember: "AutoIt"..... * Wondering who uses AutoIt and what it can be used for ? * Forum Rules ** ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Code * for other useful stuff click the following button: Spoiler Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST API * ErrorLog.au3 UDF - A logging Library * Include Dependency Tree (Tool for analyzing script relations) * Show_Macro_Values.au3 * My contribution to others projects or UDF based on others projects: * _sql.au3 UDF * POP3.au3 UDF * RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF * SMTP Mailer UDF * Dual Monitor resolution detection * * 2GUI on Dual Monitor System * _SciLexer.au3 UDF * SciTE - Lexer for console pane * Useful links: * Forum Rules * Forum etiquette * Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * Wiki: * Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * OpenOffice/LibreOffice/XLS Related: WriterDemo.au3 * XLS/MDB from scratch with ADOX IE Related: * How to use IE.au3 UDF with AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * IE in TaskScheduler * IE Embedded Control Versioning (use IE9+ and HTML5 in a GUI) * PDF Related: * How to get reference to PDF object embeded in IE * IE on Windows 11 * I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions * EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *I also encourage you to check awesome @trancexx code: * Create COM objects from modules without any demand on user to register anything. * Another COM object registering stuff * OnHungApp handler * Avoid "AutoIt Error" message box in unknown errors * HTML editor * winhttp.au3 related : * https://www.autoitscript.com/forum/topic/206771-winhttpau3-download-problem-youre-speaking-plain-http-to-an-ssl-enabled-server-port/ "Homo sum; humani nil a me alienum puto" - Publius Terentius Afer"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming" , be and \\//_. Anticipating Errors : "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty." Signature last update: 2023-04-24 Link to comment Share on other sites More sharing options...
jchd Posted May 6, 2015 Share Posted May 6, 2015 Oops time: need to Zzzz a bit, it's 02:38 here and me answering on the fly is irresponsible! mLipok 1 This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe hereRegExp tutorial: enough to get startedPCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta. SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now