starting slow when run inside SciTE

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
scsnake
Posts: 23
Joined: 05 Aug 2015, 03:19

starting slow when run inside SciTE

22 May 2017, 21:58

I have AutoHotkey.exe (AHK_H), AutoHotkeyU32.exe (AHK_L) and SciTE folder inside AHK folder. The InternalAHK.exe for SciTE is also AHK_L 1.1.25.02 Unicode. AHK/SciTE are executed from portable flash disk. The OS is Win 7 64bit.

Everything is fine for these setting, (probably) until I updated the AHK_L or AHK_H (not sure which one) to version 1.1.25.02. Currently when I click run/debug inside SciTE for AHK_H or AHK_L profile, there's big chance that it hangs at "Waiting for AutoHotkey to connect" and I have to terminate the process of InternalAHK.exe then re-open SciTE. Sometimes after about 30 seconds it does start to debug/run and rarely it run/debug as soon as I click the button. The situation is similar using another computer. I can't figure out which is the source of problem: AHK_L/AHK_H, SciTE? Anyone has any advice? :think:
User avatar
jmeneses
Posts: 524
Joined: 28 Oct 2014, 11:09
Location: Catalan Republic

Re: starting slow when run inside SciTE

23 May 2017, 03:12

Hi scsnake
Does it happen with several scripts?
If you can publish one of them to try it the Version 1.1.25.02 is AutoHotKey_L
I have more or less the same configuration W7 32Bits and AHK in USB and I use

SciTE4AutoHotkey Version 3.0.07 - Based on SciTE 3.6.0
Donec Perficiam
scsnake
Posts: 23
Joined: 05 Aug 2015, 03:19

Re: starting slow when run inside SciTE

23 May 2017, 03:56

Mine is Version 3.0.06.01 - Based on SciTE 3.5.1 (I didn't update the SciTE recently). The described phenomenon is not script-dependent. The starting of run/debug is slow even for a simple script like Msgbox Hello. So I think there's something to do with the main EXE (AHK_L or H).
User avatar
jmeneses
Posts: 524
Joined: 28 Oct 2014, 11:09
Location: Catalan Republic

Re: starting slow when run inside SciTE

23 May 2017, 04:17

:shock: :shock:

The USB may be degrading or have some sector damaged or almost full?

I would try to copy the AHK directory in eg C: \ Temp \ AutoHotKey_L and test but it works from C: they are the executables
See also to reinstalling temporarily in C: this url https://portableapps.com/node/39299
Donec Perficiam
scsnake
Posts: 23
Joined: 05 Aug 2015, 03:19

Re: starting slow when run inside SciTE

23 May 2017, 20:14

That's a good idea but it's the same running from My Documents. However, I deleted AHK_H related library scripts (for AHK_L) in the Lib folder and everything's fine now. Looks like AHK will still search into Lib folder (& subfolders?) even if no library script included?
scsnake
Posts: 23
Joined: 05 Aug 2015, 03:19

Re: starting slow when run inside SciTE

23 May 2017, 20:41

No, I'm wrong. Sometimes it starts slow as usual...
User avatar
jmeneses
Posts: 524
Joined: 28 Oct 2014, 11:09
Location: Catalan Republic

Re: starting slow when run inside SciTE

24 May 2017, 01:07

I'm sorry, i don't know what to tell you, my friend. :facepalm: Maybe the antivirus, I don't know
I have AHK_L, AHK_H and AHK_V2 in separate directories with their respective LIB's and only use SciTE with AHK_L
If the problem is only with the run of an AHK script from SciTE because you do not try to reinstall it
It's just unzip it in the path of AHK_L http://fincs.ahk4.net/scite4ahk/dl/s4ahk-portable.zip
Attachments
AHK.png
AHK.png (25.7 KiB) Viewed 1953 times
Donec Perficiam

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: BielGuitarJP, CrowexBR, mebelantikjaya, Spawnova and 309 guests