Jump to content

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


Jos
 Share

Recommended Posts

image.png.0e4d18cb5cdd2f5251c2d2b81fd9a93d.png

..OCD. Just saw this video and decided to give it a try, just in case the latest and the greatest, ..is not so great. But again, all good.
Running it,  by copy and paste the AutoIt3 folder, from the other older 24H2 to this fresh install. Nice.

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

Hi Jos,

Did the following steps to test the x86 version:

  • Backup of the current SciTE directory
  • Deleted all files in the current SciTE directory
  • Deactivated the Microsoft Defender SmartScreen
  • Installed the latest SciTE 5.4.0 as described in your first post
  • Executed SciTE.exe ==> works fine
  • Unzipped your latest 86x ZIP and copied the 3 files (5.5.3.0) to the SciTE directory (overwriting the 5.4.0 files)
  • Windows security tells me that the App I try to INSTALL has not been downloaded from the MS App Store and is not verified. Even when I ignore the message and select "INSTALL anyway" SciTE pops up for half a second and then closes again.

As I'm rather new to Windows 11 this problem might be caused by me :(

Scite 5.5.3.0.jpg

Security message.png

Edited by water

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
Share on other sites

I had a look at the EventViewer and found the following entry. Seems to be a problem with the MSVCP140.dll.

EventViewer.jpg.aee3da197ecd4dff899c765bc11c41bc.jpg

 

On 8/22/2024 at 6:23 PM, argumentum said:

... if the user forgets to unblock the files downloaded containing executable flies,

I unblocked the Scintilla.dll and lexilla.dll but got the same error.

 

Edited by water

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
Share on other sites

  • Developers

We've seen that c5 memory corruption error before in this thread, which pointed to some "wrong" version of  the MSVCP140.DLL.

 

Thanks for you help trying to find the issue. 😀

Edited by Jos

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

Link to comment
Share on other sites

  • 2 weeks later...

Hi Jos,
I was able to reproduce both errors again, sort of, the one didn’t end with the same message, but I was able to cause the error with logging. I still cannot reproduce it reliably though.
     Not sure if this will help any? The first error, where the script just ends as if it hit the end normally, has this in Scite output with debugging:

>AutoIt3Wrapper_Watcher1396-->AutoIt3Wrapper_RunUserScript1744: rc:17833895689 er:0 Text:#$#Ping:WATCHER#$#
+AutoIt3Wrapper_Watcher1396-->AutoIt3Wrapper_RunUserScript1744 Text:#$#Ping:WATCHER#$#
->>>>>> AutoIt3Wrapper_RunUserScript1744 (m) received data: #$#Ping:WATCHER#$#|Ping|WATCHER
>AutoIt3Wrapper_Watcher1396-->AutoIt3Wrapper_RunUserScript1744: rc:0 er:3 Text:#$#Ping:WATCHER#$#
!AutoIt3Wrapper_Watcher1396-->AutoIt3Wrapper_RunUserScript1744: Error=3 Text:#$#Ping:WATCHER#$#
->>>>>>> AutoIt3Wrapper_Watcher1396 (w) No Ping response from : AutoIt3Wrapper_RunUserScript1744
>AutoIt3Wrapper_Watcher1396-->0: rc:0 er:1 Text:#$#Stop:WATCHER#$#
!AutoIt3Wrapper_Watcher1396-->0: Error=1 Text:#$#Stop:WATCHER#$#
->>>>>>> No responce from MasterScript.
-> Watcher: Stop: Sending WinClose to your script with Pid 2432
->>>>>> Script must have ended as STDOUT & STDERR are closed
>
+>13:16:22 AutoIt3 ended. rc:0
---< Master _OnAutoItExit() 1744"C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3" /run /prod /ErrorStdOut /in "C:\Users\Owner\Desktop\Libre Office Scripts\Script - Copy.au3" /UserParams    
>AutoIt3Wrapper_Watcher1396-->AutoIt3Wrapper_RunUserScript1744: rc:0 er:1 Text:#$#ScriptEnded#$#
!AutoIt3Wrapper_Watcher1396-->AutoIt3Wrapper_RunUserScript1744: Error=1 Text:#$#ScriptEnded#$#
-##> Close |AutoIt3Wrapper_Watcher1396| (w) (IPC @error=0)
---< Watcher _OnAutoItExit() 1396"C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3" /Watcher 1744 2432
+>13:16:23 AutoIt3Wrapper Finished.
>Exit code: 0    Time: 1380.9707

And the second error when it closes while a blocker is open, in this case it is a LibreOffice Macro dialog, though I’ve had it happen with a MsgBox before. In this case my script had some AU3 warnings, I left them in case they helped reproduce the error, but so far it doesn’t make it any more reliable. Scite had an output like this:

>"C:\Program Files (x86)\AutoIt3\SciTE\..\AutoIt3.exe" "C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3" /run /prod /ErrorStdOut /in "C:\Autoit Scripts\Autoit\AutoIt stuff Jan 2022\LibreOffice Writer Test Scripts\Writer Testing.au3" /UserParams    
+>10:17:50 Starting AutoIt3Wrapper (pid=1360) 23.402.1150.10 from:SciTE.exe (0.0.0.0)  Keyboard:00000409  OS:WIN_7/Service Pack 1  CPU:X64 OS:X64  Environment(Language:0409)  CodePage:0  utf8.auto.check:4
+>         SciTEDir => C:\Program Files (x86)\AutoIt3\SciTE   UserDir => C:\Users\Owner\AppData\Local\AutoIt v3\SciTE\AutoIt3Wrapper   SCITE_USERHOME => C:\Users\Owner\AppData\Local\AutoIt v3\SciTE
>Running AU3Check (3.3.16.1)  params:-d -w 1 -w 2 -w 3 -w 4 -w 5 -w 6 -w 7  from:C:\Program Files (x86)\AutoIt3  input:C:\Autoit Scripts\Autoit\AutoIt stuff Jan 2022\LibreOffice Writer Test Scripts\Writer Testing.au3
"C:\Autoit Scripts\Autoit\AutoIt stuff Jan 2022\LibreOffice Writer Test Scripts\Writer Testing.au3"(309,43) : warning: $sName: declared, but not used in func.
Func _LOWriter_FormAdd(ByRef $oObj, $sName)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"C:\Autoit Scripts\Autoit\AutoIt stuff Jan 2022\LibreOffice Writer Test Scripts\Writer Testing.au3"(314,35) : warning: $sTempName: declared, but not used in func.
    Local $sTempName = "AutoIt_FORM_"
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"C:\Autoit Scripts\Autoit\AutoIt stuff Jan 2022\LibreOffice Writer Test Scripts\Writer Testing.au3"(315,19) : warning: $iCount: declared, but not used in func.
    Local $iCount = 1
    ~~~~~~~~~~~~~~~~~^
C:\Autoit Scripts\Autoit\AutoIt stuff Jan 2022\LibreOffice Writer Test Scripts\Writer Testing.au3 - 0 error(s), 3 warning(s)
->10:17:52 AU3Check ended. Press F4 to jump to next error. rc:1
>Running:(3.3.16.1):C:\Program Files (x86)\AutoIt3\autoit3.exe "C:\Autoit Scripts\Autoit\AutoIt stuff Jan 2022\LibreOffice Writer Test Scripts\Writer Testing.au3"    
+>Setting Hotkeys...--> Press Ctrl+Alt+Break to Restart. --> Press Ctrl+BREAK to Stop.
>
+>10:18:22 AutoIt3 ended. rc:0
+>10:18:22 AutoIt3Wrapper Finished.
>Exit code: 0    Time: 32.5800

And an error log with this:

2024-11-17 10:18:19 : >AutoIt3Wrapper_Watcher3748-->AutoIt3Wrapper_RunUserScript1360: rc:50469277137 er:0 Text:#$#Ping:WATCHER#$#
2024-11-17 10:18:19 : +AutoIt3Wrapper_Watcher3748-->AutoIt3Wrapper_RunUserScript1360 Text:#$#Ping:WATCHER#$#
2024-11-17 10:18:19 : ->>>>>> AutoIt3Wrapper_RunUserScript1360 (m) received data: #$#Ping:WATCHER#$#|Ping|WATCHER
2024-11-17 10:18:20 : >AutoIt3Wrapper_Watcher3748-->AutoIt3Wrapper_RunUserScript1360: rc:0 er:3 Text:#$#Ping:WATCHER#$#
2024-11-17 10:18:20 : !AutoIt3Wrapper_Watcher3748-->AutoIt3Wrapper_RunUserScript1360: Error=3 Text:#$#Ping:WATCHER#$#
2024-11-17 10:18:20 : ->>>>>>> AutoIt3Wrapper_Watcher3748 (w) No Ping response from : AutoIt3Wrapper_RunUserScript1360
2024-11-17 10:18:20 : >AutoIt3Wrapper_Watcher3748-->0: rc:0 er:1 Text:#$#Stop:WATCHER#$#
2024-11-17 10:18:20 : !AutoIt3Wrapper_Watcher3748-->0: Error=1 Text:#$#Stop:WATCHER#$#
2024-11-17 10:18:20 : ->>>>>>> No responce from MasterScript.
2024-11-17 10:18:20 : -> Watcher: Stop: Sending WinClose to your script with Pid 4420
2024-11-17 10:18:21 : > Detected your script is still running but AutoIt3Wrapper was closed.
2024-11-17 10:18:22 : - Script still running, so now Killing running script Pid 4420
2024-11-17 10:18:22 : ->>>>>> Script must have ended as STDOUT & STDERR are closed
2024-11-17 10:18:22 : ---< Master _OnAutoItExit() 1360"C:\\\\Program Files (x86)\\\\AutoIt3\\\\SciTE\\\\AutoIt3Wrapper\\\\AutoIt3Wrapper.au3" /run /prod /ErrorStdOut /in "C:\\\\Autoit Scripts\\\\Autoit\\\\AutoIt stuff Jan 2022\\\\LibreOffice Writer Test Scripts\\\\Writer Testing.au3" /UserParams    
2024-11-17 10:18:23 : ---< Watcher _OnAutoItExit() 3560"C:\\\\Program Files (x86)\\\\AutoIt3\\\\SciTE\\\\AutoIt3Wrapper\\\\AutoIt3Wrapper.au3" /Jump2FirstError 1360
2024-11-17 10:18:23 : > Done with cleanup.
2024-11-17 10:18:23 : >AutoIt3Wrapper_Watcher3748-->AutoIt3Wrapper_RunUserScript1360: rc:0 er:1 Text:#$#ScriptEnded#$#
2024-11-17 10:18:23 : !AutoIt3Wrapper_Watcher3748-->AutoIt3Wrapper_RunUserScript1360: Error=1 Text:#$#ScriptEnded#$#
2024-11-17 10:18:23 : -##> Close |AutoIt3Wrapper_Watcher3748| (w) (IPC @error=0)
2024-11-17 10:18:23 : ---< Watcher _OnAutoItExit() 3748"C:\\\\Program Files (x86)\\\\AutoIt3\\\\SciTE\\\\AutoIt3Wrapper\\\\AutoIt3Wrapper.au3" /Watcher 1360 4420

 

LibreOffice UDF  ; Scite4AutoIt Spell-Checker Using LibreOffice

Spoiler

"Life is chiefly made up, not of great sacrifices and wonderful achievements, but of little things. It is oftenest through the little things which seem so unworthy of notice that great good or evil is brought into our lives. It is through our failure to endure the tests that come to us in little things, that the habits are molded, the character misshaped; and when the greater tests come, they find us unready. Only by acting upon principle in the tests of daily life can we acquire power to stand firm and faithful in the most dangerous and most difficult positions."

 

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