Search found 1621 matches

by HotKeyIt
Yesterday, 16:47
Forum: Ask For Help
Topic: Slower reload after upgrade
Replies: 10
Views: 467

Re: Slower reload after upgrade

Many thanks, this has been fixed now: https://github.com/HotKeyIt/ahkdll-v1-r ... master.zip
by HotKeyIt
18 Jun 2018, 16:48
Forum: Ask For Help
Topic: Slower reload after upgrade
Replies: 10
Views: 467

Re: Slower reload after upgrade

This is because your main script exits right away, you have to use #Persistent!
by HotKeyIt
16 Jun 2018, 09:40
Forum: Ask For Help
Topic: Slower reload after upgrade
Replies: 10
Views: 467

Re: Slower reload after upgrade

As far as I remember there was a bug reloading a thread and resources were not freed fully, after the fix it might take longer to reload.
With regards to crashes and slow mouse movements it would be good if you can post an example script.
by HotKeyIt
09 Jun 2018, 14:10
Forum: AutoHotkey_H
Topic: How to compile trough CMD?
Replies: 4
Views: 157

Re: How to compile trough CMD?

Either you compile Ahk2Exe.ahk or pass Ahk2Exe.ahk as first parameter to Ahk2Exe.exe!
by HotKeyIt
26 Mar 2018, 18:30
Forum: AutoHotkey_H
Topic: How to add parameters into AhkThread ? Topic is solved
Replies: 5
Views: 359

Re: How to add parameters into AhkThread ? Topic is solved

Code: [Select all] [Expand]GeSHi © Codebox Plus

by HotKeyIt
26 Mar 2018, 03:36
Forum: AutoHotkey_H
Topic: Bug on Windows XP Prof. SP3 32 bit Topic is solved
Replies: 4
Views: 306

Re: Bug on Windows XP Prof. SP3 32 bit Topic is solved

There is a missing function in XP that is now loaded dynamically when it exist.
You will have to whitelist the AutoHotkeySC.bin file in Norton.
by HotKeyIt
25 Mar 2018, 16:14
Forum: AutoHotkey_H
Topic: Crash… crash… crash…
Replies: 11
Views: 721

Re: Crash… crash… crash…

I see, I think this depends on your script since there is only one WorkingDir across all threads in a process. Running a simple MsgBox script in a different path via AhkThread does not change WorkingDir for me. Multithreaded applications and shared library code should not use the GetCurrentDirectory...
by HotKeyIt
25 Mar 2018, 10:20
Forum: AutoHotkey_H
Topic: Bug Report (AHK.dll) Topic is solved
Replies: 9
Views: 580

Re: Bug Report (AHK.dll) Topic is solved

Tried but it did not add the script to the list, when starting again I got this error: There were errors while trying to run scripts: DLL path not specified: Std I believe the bug has been fixed in the last release, can you test it please: https://github.com/HotKeyIt/ahkdll-v1-release/archive/master...
by HotKeyIt
25 Mar 2018, 10:09
Forum: AutoHotkey_H
Topic: Help me generate script run with real multithread Topic is solved
Replies: 9
Views: 437

Re: Help me generate script run with real multithread Topic is solved

This error is due to using AutoHotkey_H v2, try using AutoHotkey_H v1. AFAIK your Gdip functions are also not compatible with v2, otherwise you need to use proper syntax for v2:
ProcessSetPriority("High"), also remove Setbatchlines.
by HotKeyIt
25 Mar 2018, 10:05
Forum: AutoHotkey_H
Topic: Bugs and flaws or stupid me?
Replies: 17
Views: 816

Re: Bugs and flaws or stupid me?

Thanks for fixing the issues. There is one more in AhkThread that I had forgot about: due to a badly formed comparison it doesn't free objects when the obj parameter is not specified. It should be if (obj="") , not if obj="" . For testing: msgbox, % testFunc() testFunc(o...
by HotKeyIt
25 Mar 2018, 09:57
Forum: AutoHotkey_H
Topic: Help me generate script run with real multithread Topic is solved
Replies: 9
Views: 437

Re: Help me generate script run with real multithread Topic is solved

Yes but the script above is for AutoHotkey_H v1, your picture is not displayed unfortunately, can you type down the error?
by HotKeyIt
25 Mar 2018, 09:54
Forum: AutoHotkey_H
Topic: Crash with ahkThread on Win10 x64 - v1.1.28
Replies: 29
Views: 1381

Re: Crash with ahkThread on Win10 x64 - v1.1.28

I think I have found the problem, can you please try latest release.
by HotKeyIt
25 Mar 2018, 08:29
Forum: AutoHotkey_H
Topic: Help me generate script run with real multithread Topic is solved
Replies: 9
Views: 437

Re: Help me generate script run with real multithread Topic is solved

Try something like this: threads:=[] Loop 8 threads[A_Index]:=AhkThread(" ( SetBatchLines, -1 gdipToken := Gdip_Startup() #Include Gdip_All.ahk #Include Gdip_ImageSearch.ahk run: running:=true bmpHaystack := Gdip_CreateBitmapFromFile(link) bmpNeedle := Gdip_CreateBitmapFromFile(linkb) RET := Gd...
by HotKeyIt
25 Mar 2018, 08:06
Forum: AutoHotkey_H
Topic: Crash… crash… crash…
Replies: 11
Views: 721

Re: Crash… crash… crash…

You can call AhkThread without giving a path, it will use included dll from resources.
by HotKeyIt
24 Mar 2018, 19:01
Forum: AutoHotkey_H
Topic: Crash… crash… crash…
Replies: 11
Views: 721

Re: Crash… crash… crash…

I downloaded your files and replaced MainTestScript.exe with latest AutoHotkey.exe from Win32w folder and script worked fine.
Can you please test again with latest version and let me know if it works.
by HotKeyIt
24 Mar 2018, 18:51
Forum: AutoHotkey_H
Topic: Crash with ahkThread on Win10 x64 - v1.1.28
Replies: 29
Views: 1381

Re: Crash with ahkThread on Win10 x64 - v1.1.28

Code: [Select all]GeSHi © Codebox Plus

#Persistent
testThread := ahkThread("#Persistent`n#NoTrayIcon`nSoundBeep`nReturn")
SoundBeep
Return

Just tested with latest release (1.1.28.0-H006) using 32w, 32a and 64 bit also in C:\Temp and no crash, script runs as expected :?
Can you please test again with the newest release?
by HotKeyIt
24 Mar 2018, 18:40
Forum: AutoHotkey_H
Topic: Bugs and flaws or stupid me?
Replies: 17
Views: 816

Re: Bugs and flaws or stupid me?

I have updated Compiler lib functions and fixed ResGet to return the size and reset buffer properly.

Can you test again and give me an example showing the problem with regards to UTF-8 and StrGet/FileAppend.

Go to advanced search