Jump to content

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


Recommended Posts

Posted (edited)

just for the heck of it, I've got autoit-v3.2.12.1-sfx.exe, extracted it and used the SciTE that comes with it.
It runs in place and am sure does not have VC dependencies. You can run it at the same level folder as it should go but named to something else.

Might as well pack it up and put it here ( temporarily ) for you to download and use for testing scripts while you fix your setup

 

Edited by argumentum
removed ZIP

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

Posted
  On 9/5/2024 at 10:14 PM, argumentum said:

just for the heck of it, I've got autoit-v3.2.12.1-sfx.exe, extracted it and used the SciTE that comes with it.
It runs in place and am sure does not have VC dependencies. You can run it at the same level folder as it should go but named to something else.

Might as well pack it up and put it here ( temporarily ) for you to download and use for testing scripts while you fix your setup

  SciTe_from_3.2.12.x.zip 365.93 kB · 1 download

Expand  

That works great.  It's been a while since I could see a SciTE editor on this machine.

I don't know what the limitations are with this version.  But it is running.

Thank you very much.

You have been very helpfull!!!

Posted

when you type set in a console, what do you get for path ?
This is mine:

Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Users\Tester\AppData\Local\Microsoft\WindowsApps;

..because 0.0.0.0 is not found ( I guess )

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

Posted

Path=C:\Programs\Python312\Scripts\;C:\Programs\Python312\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Programs\LetsEncrypt\bin;C:\Windows\Microsoft.NET\Framework\v4.0.30319;C:\Program Files\Microsoft SQL Server\150\Tools\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\dotnet\;C:\Programs\PHP\;C:\Programs\OpenSSL\bin\;C:\Users\Gary\AppData\Local\Microsoft\WindowsApps;C:\Programs\Microsoft VS Code\bin;C:\Users\Gary\.dotnet\tools;C:\Programs\Nmap

Posted (edited)

wow, you've got a lot going on that PC :lol:
The path works on first found and your path should be

C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Programs\LetsEncrypt\bin;C:\Windows\Microsoft.NET\Framework\v4.0.30319;C:\Program Files\Microsoft SQL Server\150\Tools\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\dotnet\;C:\Programs\PHP\;C:\Programs\OpenSSL\bin\;C:\Users\Gary\AppData\Local\Microsoft\WindowsApps;C:\Programs\Microsoft VS Code\bin;C:\Users\Gary\.dotnet\tools;C:\Programs\Nmap;C:\Programs\Python312\Scripts\;C:\Programs\Python312\

because otherwise, whatever is in python321 will be used first. Do replace it with the one I changed around above. Maybe that does it.
Else, put it back as it was I guess. But all the "C:\Windows\*" should be first regardless.

Edited by argumentum

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

Posted (edited)

I changed the path to match your suggestion.

I rebooted

I tried it.

I'm getting the same error.

Thanks for trying.  It was a good suggestion.

My Python scripts weren't running.  I found I had to move Python and Python scripts above Letsencrypt.  Letsencrypt has it's own Python.

Software should run more reliable now.

Edited by Docfxit
Posted (edited)

  

@argumentum seems to be far more experienced in this, and I have far exceeded my knowledge limitation in this topic, but I was curious, do you see any msvcp's listed in the registry in

  Quote

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\SharedDLLs

Expand  

And if not, is it advisable to add the necessary mscvp140 paths to here? -- Probably not? (Don't try it on my suggestion).

Edit: never mind, I think that would be a bad idea. Unless you used CMD to register it (if it hasn't been for some reason?)

Edited by donnyh13

LibreOffice UDF  ; Scite4AutoIt Spell-Checker Using LibreOffice

  Reveal hidden contents

 

Posted
  On 9/6/2024 at 2:22 PM, donnyh13 said:

@argumentumis far more experienced in this

Expand  

Actually, no.
What I do is to have a virtual machine for each function. Say I need a web server. That goes into a VM. pfsense, another VM. Code in PHP, that goes in my WEB virtual PC.
So my attitude is: have a plain hardware PC and run specialized stuff in a VM. Anything goes wrong, load another VM and try there.
Win10 pro comes with Hyper-V and does not take many more resources to have VMs running.

The thing is that each time I work with something, it's got it's "gotchas" and I don't want to become a specialist of each niche situation each environment/function entails, therefore each goes in it's own VM. Say I code something for an client and it has a setup/environment and two years down the road I need to fix/change/add something, I'll load the VM I used to code that and makes it a whole lot easier

The OS goes on the C drive, data on a D drive. Anything goes wrong, reinstall the C drive

All that explained above solves most of the "it worked on my machine, don't know why it won't work here" situations.

In the case of @Docfxit, I would reinstall that PC.

 

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

  • 1 month later...
Posted (edited)

Hi Jos,

I just wanted to let you know that I am running into a hit-and-miss problem, one which I am having a problem making a reproducable script for. While working with the Libre Office project, if I run a script several times in a row, (maybe in quick succession?), and I think usually (or only) when it contains a blocker (a MsgBox in this case), the script sometimes quits on me with this message:

  Quote

> Detected your script is still running but AutoIt3Wrapper was closed.
- Script still running, so now Killing running script Pid 3176

Expand  

And now while running a script that is used to mass-test the 800+ example files, I am hitting a similar problem, the script is supposed to execute each example, close any msgboxes and record any errors. I have a test to see if my cursor is in the top left of my screen, if it is, a msgbox pops up (to pause the mass-executing). I had the script "Paused", and after about 2 minutes it all of a sudden ended without any error message.

  Quote

+>13:37:04 AU3Check ended. rc:0
>Running:(3.3.16.1):C:\Program Files (x86)\AutoIt3\autoit3.exe "C:\Users\Owner\Desktop\Test Scripts\Script - Copy.au3"    
+>Setting Hotkeys...--> Press Ctrl+Alt+Break to Restart. --> Press Ctrl+BREAK to Stop.
>
+>13:46:18 AutoIt3 ended. rc:0
+>13:46:19 AutoIt3Wrapper Finished.
>Exit code: 0    Time: 555.3442

Expand  

I have run this same script, generally, without problem, though I haven't been leaving it "paused" this long either. I think sometimes it didn't finish testing correctly (not executing all the files), but I'm not sure.

Until I can find a way to reproduce it reliably, I was mostly wondering if you've encountered anything similar? Or any better way to debug?

Thanks,

Donny

Edit: Just ran it 3 more times and all 3 completed successfully, even with pauses. Seems to be some fluke bug??

Edited by donnyh13

LibreOffice UDF  ; Scite4AutoIt Spell-Checker Using LibreOffice

  Reveal hidden contents

 

  • Developers
Posted

These messages come from the Watcher task which monitors both the AutoIt3Wrapper.au3 pid shelled by SciTE and your Script pid. When Either is not detected it will kill the other. This way you ensure that SciTE always knows when the Script Ended, but also your Script is Killed in case the AutoIT3Wrapper was killed by SciTE.

Your description sounds like some sort of race condition, but would have to be able to replicate to dive into it. 

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

Posted (edited)
  On 10/9/2024 at 8:17 PM, donnyh13 said:

Seems to be some fluke bug?? Maybe it's nothing, or just me.

Expand  

Jos can not work on it unless it happens to him ( same here ). But it does happens to you therefore, as a seasoned scripter, you can add logging to the wrapper to figure out what niche circumstances produce the event. Now, code ! :D 

Edited by argumentum

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

Posted
  On 10/10/2024 at 8:12 AM, Jos said:

but would have to be able to replicate to dive into it. 

Expand  

Okay, I'll keep working on narrowing it down. Thanks for the description on how it all works inside.

  On 10/10/2024 at 8:29 AM, argumentum said:

Jos can not work on it unless it happens to him

Expand  

Ya I know, I was hoping Jos would say "Yes! I've already fixed that!" :D

  On 10/10/2024 at 8:29 AM, argumentum said:

you can add logging to the wrapper

Expand  

Thanks for the hint, :) Hadn't thought of that.

LibreOffice UDF  ; Scite4AutoIt Spell-Checker Using LibreOffice

  Reveal hidden contents

 

  • 4 weeks later...
  • Developers
Posted

Just uploaded SciTEx86.zipSciTEx64.zip which contain the Latest SciTE 5.5.3 versions released 9 October 2024.

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

Posted (edited)

I notice issue with starting x86 version of the program.

It just appears and closes immediately.

The x64 version works well.

EDIT: Windows 11 

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:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

Same here. Windows 11 23H2

My UDFs and Tutorials:

  Reveal hidden contents

 

  • Developers
Posted (edited)

It opens fine for me:

image.png.d56b6b063c983fe4665f39cf7429b725.png

 

Any AntiVirus program warnings or something else?
I am on Windows 11 Home/23H2

You could try to temporarily renaming the SciteUser.properties file and try again to determine whether it is any of your settings causing this.

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

Posted
  On 11/5/2024 at 8:28 AM, Jos said:

Any AntiVirus program warnings or something else?

Expand  

None

  On 11/5/2024 at 8:28 AM, Jos said:

I am on Windows 11 Home/23H2

Expand  

On my OFFICE DELL works well

Wersja    Windows 11 Pro
Wersja    23H2
Zainstalowano dnia    ‎22.‎12.‎2022
Kompilacja systemu operacyjnego    22631.4391
Możliwości    Windows Feature Experience Pack 1000.22700.1047.0

I'll be able to check my home notebook this evening.

  On 11/5/2024 at 8:28 AM, Jos said:

You could try to temporarily renaming the SciteUser.properties file and try again to determine whether it is any of your settings causing this.

Expand  

I'll be able to check this evening.

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:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted (edited)

Just wanted to confirm both versions work on Windows 7.

Noticed the Scite Logo doesn't have the "A" on it anymore?

[snip]

Purposeful?

Edited by donnyh13

LibreOffice UDF  ; Scite4AutoIt Spell-Checker Using LibreOffice

  Reveal hidden contents

 

  • Developers
Posted
  On 11/5/2024 at 8:18 PM, donnyh13 said:

Purposeful?

Expand  

Nah,  that's a Merge failure from my site.
I move the lot from an SVN to a Github setup to be able to easier merge the new releases into my version, and missed the updated ico file.

Should be fixed in the current zips available. 

Thanks for letting me know. :)

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

Create an account or sign in to comment

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

Create an account

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

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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