Jump to content

Uploaded a new version of the SciTE4AutoIt3.exe v21.316.1639.1


Jos
 Share

Recommended Posts

  • Developers
8 hours ago, miha04 said:

HI ,I am not sure where i should report the issue i am facint but whenever i run tidy it seems to create alot of output and be stuck in high cpu usage and not finish

Provide me with the script so I can replicate this problem so I can have a look and debug the issue. ;) 

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

3 hours ago, Jos said:

Provide me with the script so I can replicate this problem so I can have a look and debug the issue. ;) 

Jos

The issue reproduced even on a new script template , attached the scite output inside an archive (rar4) since the txt is over 20mb

Seems that after i stop executing (ctrl+break) the issue fixed itself , tidy works as before i updated to latest autoit version (previously 3.3.14.5) , i was killing the process in task manager instead to try stoping it via scite.. :sweating:

New Text Document.rar

Link to comment
Share on other sites

  • Developers

Think the latest version of Tidy won't give you that issue anymore. ....  but let me know when it does and which steps to do to simulate the issue.

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

  • 3 weeks later...
On 7/30/2022 at 8:33 AM, miha04 said:

I am using the current versions of autoit and scite4autoit
Autoit v3.3.16.0  6 -3-2022  SciTE4AutoIt3  16-3-2021
Windows 7 Ultimate SP1 x64

According to my notes AutoIt should not be installed on top of an existing AutoIt installation so I have been waiting patiently for a Scite4AutoIt update since June 2020. I just discovered in the forum that Jon has released 3.3.16.0. @JosAre my notes incorrect? Can I install Jon's 3.3.16.0 on top of my SciTE4AutoIt3.3.14.5_2019.11.27 installation without issue?

Edited by pseakins
Ref to @jos wasn't active. Wording.

Phil Seakins

Link to comment
Share on other sites

  • Developers
7 hours ago, pseakins said:

so I have been waiting patiently for a Scite4AutoIt update since June 2020

Not sure what you are waiting for, but there is an update available since:

Quote

SciTE4AutoIt3 News

Updated SciTE4AutoIt3 installer including SciTE 4.4.6 (February 15, 2021).

 

7 hours ago, pseakins said:

Can I install Jon's 3.3.16.0 on top of my SciTE4AutoIt3.3.14.5_2019.11.27 installation without issue?

Yes you can as SciTE4AutoIt3 is independent of the AutoIt3 version, the only thing that needs to be correct are the properties files that came with the latest version of AutoIt3. :) 

I currently have an SciTE v 5.2.3 Test version available for the MVP, whom are extensively testing it and supplying me with loads of feedback. This version will include some major lua functionality changes too for AutoComplete and Automatically add required Include files while typing.

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

I have had a permanent scan running on visualping.io looking for changes on https://www.autoitscript.com/site/autoit-script-editor/ waiting for an update and so far I have not had an alert. Somehow I missed the February 15, 2021 change.

Quote

 functionality changes too for AutoComplete and Automatically add required Include files while typing.

Sounds good.

Edited by pseakins
changed visualping.com to visualping.io

Phil Seakins

Link to comment
Share on other sites

1 hour ago, pseakins said:

I have had a permanent scan running on visualping.com looking for changes on https://www.autoitscript.com/site/autoit-script-editor/ waiting for an update

You should also scan:

https://www.autoitscript.com/autoit3/scite/download/beta_SciTE4AutoIt3

 

Edited by mLipok

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

Spoiler

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

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

 

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

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

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

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

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

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

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

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

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

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

Signature last update: 2023-04-24

Link to comment
Share on other sites

  • 1 month later...

Hi Jos,

installed the latest SciTE (with all Beta releases) after upgrading to AU v.3.3.16.1, thanks for all the work you put into it!

One request, could you please make to "Compile" button on the compile dialog default again? Currently the default button is "Run", for which there's also "Go" or F5.

Regards

Karsten

Link to comment
Share on other sites

  • Developers
28 minutes ago, KaFu said:

One request, could you please make to "Compile" button on the compile dialog default again? Currently the default button is "Run", for which there's also "Go" or F5.

mmm...   not sure anymore why I made RUN the default. Have changed that to Compile as this is the "Compile with options" task in the current Beta. 

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

  • 3 weeks later...

I just get PopUp message:

Error: EndUpdateResource: Returncode = 0 - LastError:1359:Wystąpił błąd wewnętrzny.

Is there a way to disable the PopUp and only get error in console ?

Edited by mLipok

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

Spoiler

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

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

 

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

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

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

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

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

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

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

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

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

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

Signature last update: 2023-04-24

Link to comment
Share on other sites

  • Developers
2 hours ago, mLipok said:

Is there a way to disable the PopUp and only get error in console ?

Just comment line 1956 in autoit3wrapper.au3. I will do the same for the next release as the error is already shown in the console.

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

It would be great, if the indention Tidy applies to text following #cs could be tab +1.

#cs is automatically indented to the current indention level.

This is how it is currently looking like after a Tidy run:

For $i = 0 To 10
    For $i = 0 To 10
        For $i = 0 To 10
            MsgBox(0, "", 1)
            MsgBox(0, "", 1)
            #cs
MsgBox(0, "", 1)
            #ce
            MsgBox(0, "", 1)
            MsgBox(0, "", 1)
        Next
    Next
Next

and it would be great if it could look like this:

For $i = 0 To 10
    For $i = 0 To 10
        For $i = 0 To 10
            MsgBox(0, "", 1)
            MsgBox(0, "", 1)
            #cs
                MsgBox(0, "", 1)
            #ce
            MsgBox(0, "", 1)
            MsgBox(0, "", 1)
        Next
    Next
Next

Much appreciated!

Link to comment
Share on other sites

  • Developers
2 hours ago, KaFu said:

and it would be great if it could look like this:

You mean like this?? :

#Tidy_Parameters = /tcb
For $i = 0 To 10
    For $i = 0 To 10
        For $i = 0 To 10
            MsgBox(0, "", 1)
            MsgBox(0, "", 1)
            #cs
                MsgBox(0, "", 1)
            #ce
            MsgBox(0, "", 1)
            MsgBox(0, "", 1)
        Next
    Next
Next

;) 

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

Ah, didn't see that, "/tcb" behavior was default in the old version I used.

I've added it to Tiny.ini in the AppData dir.

[ProgramSettings]
Tidy_commentblock=1

But that, and also the script parameter

#Tidy_Parameters = /tcb

throws an error for me on this comment (which goes unnoticed without /tcb).

For $i = 0 To 10
    For $i = 0 To 10
        For $i = 0 To 10
            MsgBox(0, "", 1)
            MsgBox(0, "", 1)
            #cs
If($a_CropImage_Last_Selection_Rectangle[0] * $iScale) + ($a_CropImage_Last_Selection_Rectangle[2] * $iScale) <= $iImageWidth_Display And _
($a_CropImage_Last_Selection_Rectangle[1] * $iScale) + ($a_CropImage_Last_Selection_Rectangle[3] * $iScale) <= $iImageHeight_Display Then
            #ce
            MsgBox(0, "", 1)
            MsgBox(0, "", 1)
        Next
    Next
Next

 

Link to comment
Share on other sites

  • Developers
8 hours ago, KaFu said:

throws an error for me on this comment (which goes unnoticed without /tcb).

Correct because it also tried to tidy inside the commentblock and then it is missing an EndIf.

8 hours ago, KaFu said:

Ah, didn't see that, "/tcb" behavior was default in the old version I used.

I think you are right that it used to do that but I encountered several issues with that behavior so removed the /tcb=0 behavior. Don't remember the exact details anymore but will have a look to see if my last couple of changes are causing this. 
Which version are you running?

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
On 10/26/2022 at 10:29 AM, KaFu said:

I guess the most recent,22.611.2153.2.

Could you give the Current Tidy v22.611.2153.3 a try from the Beta downloads?
It has a bunch of fixes/changes all related to /tcb.

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

Sadly still an error

Quote

>Running Tidy (22.611.2153.3)  from:C:\Program Files (x86)\AutoIt3\SciTE\tidy  C:\_Data\!_Keep\BIC - Batch-Image-Cropper - v2\BIC - Batch-Image-Cropper_v2_0_2_8.au3
"C:\_Data\!_Keep\BIC - Batch-Image-Cropper - v2\BIC - Batch-Image-Cropper_v2_0_2_8.au3"(1562) : ### Tidy Error-> "else" is closing previous "#cs" on line 1561
"C:\_Data\!_Keep\BIC - Batch-Image-Cropper - v2\BIC - Batch-Image-Cropper_v2_0_2_8.au3"(1564) : ### Tidy Error-> "endif" is closing previous "#cs" on line 1561
!> there were  2 error(s) encountered. look in your source for:### Tidy Error:
!>19:51:33 Tidy ended. rc:2

with this comment block

#cs
Else
_ConsoleWrite("! Last selection not re-applied:" & @TAB & $iRectangleLeft & "x" & $iRectangleTop & @TAB & $iRectangleWidth & "x" & $iRectangleHeight & @CRLF)
EndIf
            #ce

 

Edit:

Only happens when I have this in Tidy.ini

[ProgramSettings]
Tidy_commentblock=1

Strangely enough it does not happen without it, BUT the comment block is indented correctly?!

#cs
                Else
                _ConsoleWrite("! Last selection not re-applied:" & @TAB & $iRectangleLeft & "x" & $iRectangleTop & @TAB & $iRectangleWidth & "x" & $iRectangleHeight & @CRLF)
                EndIf
            #ce

 

Edited by KaFu
Link to comment
Share on other sites

  • Developers

When you put tcb to 1, it expect valid code to tidy in the comment lock ...hence the error....  Right?

Tcb or tcb=0 will onli indent the whole comment block without further processing the code.

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

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