Jump to content

New SciTE4AutoIt3 available with the updated SciTE v3.5.4 release.


Jos
 Share

Recommended Posts

Thanks M23 for posting about this annoying new behavior.

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 here
RegExp tutorial: enough to get started
PCRE 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

  • Moderators

jchd,

Glad it is not just me!

M23

Edited by Melba23
Typnig

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

  • Developers

@mLipok

  1. I have no issue changing the default SciTE settings for chars.accented to what you are proposing for the next release.
  2. When I use the NewFileEncoding=UTF8  setting, my new files are set to UTF without BOM. are others havings issues here?
  3. Post 2 item 1: Define what that means when you say main.au3 doesn;t open correctly as it opens fine and uses UTF8 as encoding.
  4. Post 2 item 2 point 1: Again do not understand the point you are making about au3check unless you confirm what I stated before about this?
  5. Post 2 item 2 point 2: Output console encoding: Have you looked at changing the setting for output.code.page=  ?

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Developers

Jos,

I have noticed that in this 3.5.4 release the CallTips remain visible as you enter the parameters which prevents the AutoCompletion dialog from appearing unless you use {Escape} to remove the CallTip after each appearance. I have checked previous releases and the CallTip vanishes as soon as you start entering the parameter value. I have looked through the properties files and I can find nothing changed amongst the CallTip lines, nor can I find anything about it in the SciTE Help or on their site. Does the same thing happen to you?

M23

​I am trying to track back why I made the change back in February, but have in the mean time put the previous version of AutoItAutoComplete.lua on the Beta directory that does properly work for the AutoCompletion so you guys can revert back to the "old" behaviour.

Sorry about that.

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

1.

Ok

3.

I was 
code.page=0
so when I open Main_UTF8.au3 then I saw:
 

Global $sTestString = 'Nie można uruchamiać programu wielokrotnie w tym samym czasie'

after change to 
code.page=65001
it opens almost correctly, I mean I see now:

Global $sTestString = 'Nie można uruchamiać programu wielokrotnie w tym samym czasie'

But even now when I look in menu :   File / Encodings 
Then I see that "Code page property" is selected, I expected that "UTF-8" will be selected, as is selected "UTF-8 with BOM" when I open Main_UTF8_BOM.au3.

So for this reason I ask: "is it an issue in Scintilla or in original SciTE ?"

2.

After a few more tests, I can say: This is similar issue like in 3.

Step by step how to:

set:
NewFileEncoding=UTF8

Open Main_UTF8_BOM.au3
Go to File / Encodings >> "UTF-8 with BOM" is correctly selected

Go to File / New (or just press CTRL+N)
Go to File / Encodings >> "UTF-8" is correctly selected

Close all files, exit SciTE, Open SciTE (clean==no files opens)
Go to File / Encodings >> "Code page property" is incorrectly selected 
incorectly as NewFileEncoding=UTF8

For this reason I ask:  "is it an issue in Scintilla or in original SciTE ?" 

 

4.

it is quite possible that I misunderstood you here:

Actually I'm confused so now I have question to this statement: 


Au3Check indeed doesn't support UTFxx with BOM, but AutoIt3Wrapper "works around that" because it will copy the original main script into a tempfile which is ascii encode and then runs the au3check against that. The reported errors are translated back for the original file/linenumber.

 

even if I use:
 

;~ Main_UTF8_BOM.au3

#AutoIt3Wrapper_Run_AU3Check=n
#AutoIt3Wrapper_Version=B
#AutoIt3Wrapper_Run_Au3Stripper=Y
#Au3Stripper_Parameters=/MO

#include "INCLUDE_UTF8_BOM.au3"

Global $sTestString = 'Nie można uruchamiać programu wielokrotnie w tym samym czasie'

MsgBox(0, 'Test Main', $sTestString)
MsgBox(0, 'Test Include', $sTestString_include)

 

And trying to compile by using F7 

then I get:

>"C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /NoStatus /prod /in "Z:\TOOLs\Macro\PROGRAMY\KK_EPU\Main_UTF8_BOM.au3"
+>00:28:35 Starting AutoIt3Wrapper v.14.801.2025.12 SciTE v.3.5.4.0   Keyboard:00000415  OS:WIN_81/  CPU:X64 OS:X64    Environment(Language:0415)
+>         SciTEDir => C:\Program Files (x86)\AutoIt3\SciTE   UserDir => c:\Users\MichaԜAppData\Local\AutoIt v3\SciTE\AutoIt3Wrapper   SCITE_USERHOME => c:\Users\MichaԜAppData\Local\AutoIt v3\SciTE 
>Running Au3Stripper (14.801.2025.6)  from:C:\Program Files (x86)\AutoIt3\SciTE\Au3Stripper cmdline: /Beta
+> 0 Au3Stripper v14.801.2025.6 finished merging 16 lines of code, stripped 11 comment lines and Merged 0 Continuation lines.
+>        Created:Z:\TOOLs\Macro\PROGRAMY\KK_EPU\Main_UTF8_BOM_stripped.au3 with 5 lines.
+>00:28:35 Au3Stripper ended.rc:0
>Running:(3.3.13.19):C:\Program Files (x86)\AutoIt3\Beta\aut2exe\aut2exe.exe  /in "Z:\TOOLs\Macro\PROGRAMY\KK_EPU\Main_UTF8_BOM_stripped.au3" /out "C:\Users\MichaԜAppData\Local\AutoIt v3\Aut2exe\~AU3bgqypci.exe" /nopack /comp 2

and MsgBox:

Aut2Exe Error

OK
Line 1  (File "Z:\TOOLs\Macro\PROGRAMY\KK_EPU\Main_UTF8_BOM_stripped.au3"):


^ ERROR

Error: 

here is:   Main_UTF8_BOM.au3
here is :   Main_UTF8_BOM_stripped.au3

Finally question:  Why in this case I can not compile this script ? Am I doing something wrong? 

 

 

5.

I change this:

output.code.page=65001
 #I added this line 
if PLAT_GTK
    output.code.page=65001
if PLAT_MAC
    output.code.page=65001

Exit SciTE, open SciTE,
trying to Compile F7 this file    Main_UTF8_BOM.au3

and here is screenshot:

SciTE_ConsoleOutput_UTF8-BOM.thumb.png.4

 

 

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

Spoiler

Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. 

My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST APIErrorLog.au3 UDF - A logging Library * Include Dependency Tree (Tool for analyzing script relations) * Show_Macro_Values.au3 *

 

My contribution to others projects or UDF based on  others projects: * _sql.au3 UDF  * POP3.au3 UDF *  RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF SMTP Mailer UDF * Dual Monitor resolution detection * * 2GUI on Dual Monitor System * _SciLexer.au3 UDF * SciTE - Lexer for console pane

Useful links: * Forum Rules * Forum etiquette *  Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * 

Wiki: Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * 

OpenOffice/LibreOffice/XLS Related: WriterDemo.au3 * XLS/MDB from scratch with ADOX

IE Related:  * How to use IE.au3  UDF with  AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * IE in TaskSchedulerIE Embedded Control Versioning (use IE9+ and HTML5 in a GUI) * PDF Related:How to get reference to PDF object embeded in IE * IE on Windows 11

I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions *  EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *

I also encourage you to check awesome @trancexx code:  * Create COM objects from modules without any demand on user to register anything. * Another COM object registering stuffOnHungApp handlerAvoid "AutoIt Error" message box in unknown errors  * HTML editor

winhttp.au3 related : * https://www.autoitscript.com/forum/topic/206771-winhttpau3-download-problem-youre-speaking-plain-http-to-an-ssl-enabled-server-port/

"Homo sum; humani nil a me alienum puto" - Publius Terentius Afer
"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming"
:naughty:  :ranting:, be  :) and       \\//_.

Anticipating Errors :  "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty."

Signature last update: 2023-04-24

Link to comment
Share on other sites

AFAIK these strings are local ANSI "converted" to (invalid) UTF8; I experience the same thing but I really don't care.

Edited by jchd

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 here
RegExp tutorial: enough to get started
PCRE 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

Jos,

Thanks for the old AutoItAutoComplete.lua, works like a charm.

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 here
RegExp tutorial: enough to get started
PCRE 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

  • Developers

Before I try to go over extensive post, I first have a question: Are you sure you have installed the full new installation with the installer?
I see Beta program versions for AutoIt3Wrapper and au3stripper in your screen capture.

  1. As to mixed encoding support for Includes: There is no proper support for includes that are differently encoded in the current setup with AU3Stripper. I will look at your example when I have time to see if I can fix that.
  2. SciTE Output pane: I have no experience with encoding in the output pane and have no setup to test. There are no modifications in the version I maintain.
  3. The New file when no file is open issue: Will add that to my open items lists to check. I always have a file open already so probably never encounter this issue.

Jos

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Jos,

If you update the Scite release with AutoItAutoComplete.lua don't forget to update the SciTE Web page as History link in https://www.autoitscript.com/site/autoit-script-editor/

This page also refer to May 3 version as the online doc

Another question why the installed file is not uptodate for au3.keywords.properties (version 19 instead of 20 as stated in download page?

 

Thanks for your awesome work

Jpm

Link to comment
Share on other sites

  • Developers

I haven't updated the installer yet.
Will check to see why the format changed of the download page as I am used a template that auto generates the HTML for the static webpage.

Another question why the installed file is not uptodate for au3.keywords.properties (version 19 instead of 20 as stated in download page?

Have you used the updated version of the installer generated May 4 as that was also fixed in there?

Jos

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Developers

I just made a new Beta version available for au3stripper with the following change:

*** Updated Au3Stripper v15.503.1200.0 (Jos)
    - 15.503.1200.1: Added check for File encoding for include files and strip the BOM which was leading to an invalid merged script.

@mLipok, please test to see if that fixes your MergeOnly issue you reported.

Jos

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Developers

​I am trying to track back why I made the change back in February, but have in the mean time put the previous version of AutoItAutoComplete.lua on the Beta directory that does properly work for the AutoCompletion so you guys can revert back to the "old" behaviour.

Sorry about that.

Jos

​mmm I tracked back what happened. I applied the proposed changes by @Yashied from this post and didn't finish the process of testing and making it available in Beta.
Will leave the reverted version and publish an updated installer in the next couple of days.

Jos
 

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

I just made a new Beta version available for au3stripper with the following change:

*** Updated Au3Stripper v15.503.1200.0 (Jos)
    - 15.503.1200.1: Added check for File encoding for include files and strip the BOM which was leading to an invalid merged script.

@mLipok, please test to see if that fixes your MergeOnly issue you reported.

Jos

​I just download from here

History.html
Au3Stripper.exe
AutoIt3Wrapper.exe
Au3Check.exe
AutoItAutoComplete.lua
 

and replace this file in program files....

and here are results using:

#AutoIt3Wrapper_Run_AU3Check=n

 

>"C:\Program Files\AutoIt3\scite\AutoIt3Wrapper\AutoIt3Wrapper.exe" /NoStatus /prod /in "Z:\TOOLs\Macro\PROGRAMY\KK_EPU\Main_UTF8_BOM.au3"
+>10:55:01 Starting AutoIt3Wrapper v.15.503.1200.1 SciTE v.3.5.4.0   Keyboard:00000415  OS:WIN_7/Service Pack 1  CPU:X64 OS:X86    Environment(Language:0415)
+>         SciTEDir => C:\Program Files\AutoIt3\scite   UserDir => C:\Users\biuro\AppData\Local\AutoIt v3\SciTE\AutoIt3Wrapper   SCITE_USERHOME => C:\Users\biuro\AppData\Local\AutoIt v3\SciTE
>Running Au3Stripper (15.503.1200.1)  from:C:\Program Files\AutoIt3\scite\Au3Stripper cmdline: /Beta
+> 0 Au3Stripper v15.503.1200.1 finished merging 16 lines of code, stripped 12 comment lines and Merged 0 Continuation lines.
+>        Created:Z:\TOOLs\Macro\PROGRAMY\KK_EPU\Main_UTF8_BOM_stripped.au3 with 4 lines.
+>10:55:01 Au3Stripper ended.rc:0
>Running:(3.3.13.20):C:\Program Files\AutoIt3\Beta\aut2exe\aut2exe.exe  /in "Z:\TOOLs\Macro\PROGRAMY\KK_EPU\Main_UTF8_BOM_stripped.au3" /out "C:\Users\biuro\AppData\Local\AutoIt v3\Aut2exe\~AU3ieoeeag.exe" /nopack /comp 2
+>10:55:02 Aut2exe.exe ended.C:\Users\biuro\AppData\Local\AutoIt v3\Aut2exe\~AU3ieoeeag.exe. rc:0
+>10:55:02 Created program:Z:\TOOLs\Macro\PROGRAMY\KK_EPU\Main_UTF8_BOM.exe
+>10:55:02 AutoIt3Wrapper Finished.
>Exit code: 0    Time: 1.873

 

using:

#AutoIt3Wrapper_Run_AU3Check=y

 

 

>"C:\Program Files\AutoIt3\scite\AutoIt3Wrapper\AutoIt3Wrapper.exe" /NoStatus /prod /in "Z:\TOOLs\Macro\PROGRAMY\KK_EPU\Main_UTF8_BOM.au3"
+>10:56:35 Starting AutoIt3Wrapper v.15.503.1200.1 SciTE v.3.5.4.0   Keyboard:00000415  OS:WIN_7/Service Pack 1  CPU:X64 OS:X86    Environment(Language:0415)
+>         SciTEDir => C:\Program Files\AutoIt3\scite   UserDir => C:\Users\biuro\AppData\Local\AutoIt v3\SciTE\AutoIt3Wrapper   SCITE_USERHOME => C:\Users\biuro\AppData\Local\AutoIt v3\SciTE
>Running AU3Check (3.3.13.20)  from:C:\Program Files\AutoIt3\Beta  input:Z:\TOOLs\Macro\PROGRAMY\KK_EPU\Main_UTF8_BOM.au3
! Au3check on UTF8 with BOM: Z:\TOOLs\Macro\PROGRAMY\KK_EPU\INCLUDE_UTF8_BOM.au3
+>10:56:35 AU3Check ended.rc:0
>Running Au3Stripper (15.503.1200.1)  from:C:\Program Files\AutoIt3\scite\Au3Stripper cmdline: /Beta
+> 0 Au3Stripper v15.503.1200.1 finished merging 16 lines of code, stripped 12 comment lines and Merged 0 Continuation lines.
+>        Created:Z:\TOOLs\Macro\PROGRAMY\KK_EPU\Main_UTF8_BOM_stripped.au3 with 4 lines.
+>10:56:35 Au3Stripper ended.rc:0
>Running AU3Check (3.3.13.20)  from:C:\Program Files\AutoIt3\Beta  input:Z:\TOOLs\Macro\PROGRAMY\KK_EPU\Main_UTF8_BOM_stripped.au3
+>10:56:35 AU3Check ended.rc:0
>Running:(3.3.13.20):C:\Program Files\AutoIt3\Beta\aut2exe\aut2exe.exe  /in "Z:\TOOLs\Macro\PROGRAMY\KK_EPU\Main_UTF8_BOM_stripped.au3" /out "C:\Users\biuro\AppData\Local\AutoIt v3\Aut2exe\~AU3uiinphi.exe" /nopack /comp 2
+>10:56:36 Aut2exe.exe ended.C:\Users\biuro\AppData\Local\AutoIt v3\Aut2exe\~AU3uiinphi.exe. rc:0
+>10:56:36 Created program:Z:\TOOLs\Macro\PROGRAMY\KK_EPU\Main_UTF8_BOM.exe
+>10:56:36 AutoIt3Wrapper Finished.
>Exit code: 0    Time: 2.202

 

Now in this both cases Aut2exe produce correct EXE file.

:)

Thanks.

Question:

is there any plan to add support for UTF-8 BOM to AU3Check ?

 

Edited by mLipok
added spoiler

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

Spoiler

Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. 

My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST APIErrorLog.au3 UDF - A logging Library * Include Dependency Tree (Tool for analyzing script relations) * Show_Macro_Values.au3 *

 

My contribution to others projects or UDF based on  others projects: * _sql.au3 UDF  * POP3.au3 UDF *  RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF SMTP Mailer UDF * Dual Monitor resolution detection * * 2GUI on Dual Monitor System * _SciLexer.au3 UDF * SciTE - Lexer for console pane

Useful links: * Forum Rules * Forum etiquette *  Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * 

Wiki: Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * 

OpenOffice/LibreOffice/XLS Related: WriterDemo.au3 * XLS/MDB from scratch with ADOX

IE Related:  * How to use IE.au3  UDF with  AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * IE in TaskSchedulerIE Embedded Control Versioning (use IE9+ and HTML5 in a GUI) * PDF Related:How to get reference to PDF object embeded in IE * IE on Windows 11

I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions *  EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *

I also encourage you to check awesome @trancexx code:  * Create COM objects from modules without any demand on user to register anything. * Another COM object registering stuffOnHungApp handlerAvoid "AutoIt Error" message box in unknown errors  * HTML editor

winhttp.au3 related : * https://www.autoitscript.com/forum/topic/206771-winhttpau3-download-problem-youre-speaking-plain-http-to-an-ssl-enabled-server-port/

"Homo sum; humani nil a me alienum puto" - Publius Terentius Afer
"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming"
:naughty:  :ranting:, be  :) and       \\//_.

Anticipating Errors :  "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty."

Signature last update: 2023-04-24

Link to comment
Share on other sites

  • Developers

Now in this both cases Aut2exe produce correct EXE file.

You didn't have the write the elaborate post when a "It is working fine now" is the bottomline. ;)

Question:

is there any plan to add support for UTF-8 BOM to AU3Check ?

Not that I know of and have already stated that I am not going to even try to mess around with the current au3check.

Jos

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

 

; at line 3799
$H_Res_Language = GUICtrlCreateCombo("", 100, 160, 500, 20, BitOR($GUI_SS_DEFAULT_COMBO, $CBS_SIMPLE)) ; $CBS_DROPDOWNLIST)

 

 otherwise I can't select the language out of the 120 in the list :)

Edit: I found that the array should be [ 116 ][ 2 ] and to change
 

Case 1
                If $x Then $CountryTable &= "|"
                $CountryTable &= $CountryArray[$x][0]
                If $CountryArray[$x][1] = $code Then
                    $Country = $CountryArray[$x][0]
                EndIf

I saw the fix, I hope not to be of bother, save you time. maybe.

Edited by argumentum

Follow the link to my code contribution ( and other things too ).
FAQ - Please Read Before Posting.
autoit_scripter_blue_userbar.png

Link to comment
Share on other sites

  • Developers
 otherwise I can't select the language out of the 120 in the list :)

​You actually can but agree this is nicer/easier... Will be part of the next Beta version. Thanks

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

I haven't updated the installer yet.
Will check to see why the format changed of the download page as I am used a template that auto generates the HTML for the static webpage.

Have you used the updated version of the installer generated May 4 as that was also fixed in there?

Jos

​Yes I have use the May 4 version so that the reason I comment

Link to comment
Share on other sites

  • Developers

Where exactly is the wrong Beta version file located that you are referring to?

Jos

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Developers

Not that I know of and have already stated that I am not going to even try to mess around with the current au3check.

​I take that back. @JPM modified the current beta au3check and it now does support UTF8 with BOM, it only gives a confusing message that probably should be suppressed:

! Au3check on UTF8 with BOM: UTF8_TEST\INCLUDE_UTF8_BOM.au3

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Jos locked and unpinned this topic
Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

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