thqby's AutoHotkey_H started as a fork of AutoHotkey_L v2, merging the branch HotKeyIt/ahkdll-v2, but with some changes.
See the README of each branch for details.
thqby's AutoHotkey_H v2.0 & v2.1
thqby's AutoHotkey_H v2.0 & v2.1
- Attachments
-
- Ahk2Exe.zip
- (468.07 KiB) Downloaded 44 times
Last edited by thqby on 28 Mar 2024, 21:31, edited 1 time in total.
Re: thqby's AutoHotkey_H v2.0 & v2.1
Any chance of merging v1 as well? Thanks.
Re: thqby's AutoHotkey_H v2.0 & v2.1
No interest in merging v1, debugging v1 scripts is maddening.
-
- Posts: 1
- Joined: Yesterday, 19:52
- Contact:
Re: thqby's AutoHotkey_H v2.0 & v2.1
I am an AutoHotkey beginner and wanted to use multi-threading, so I installed the exe and dll files you provided. I can use the NewThread function, but I get an error when using other functions like ahkPause, with the message "Error: This value of type 'Integer' has no method named 'ahkPause'." I have tried versions 2.0.12 and 2.0.14, both of which gave me errors, but it runs fine with the official download of v2.0-beta.1. Did I miss any installation steps? Below is the code I found in the official documentation and tried to run.
[Mod edit: Fixed the codebox tags. They go around the code, not both tags before the code.]
Code: Select all
#Requires AutoHotkey v2.0.12
#SingleInstance Force
dllpath:=A_AhkDir "\AutoHotkey.dll"
dll:=NewThread("
(
Persistent
Loop
ToolTip A_TickCount
)",,dllpath)
Sleep 1000
dll.ahkPause("On")
[Mod edit: Fixed the codebox tags. They go around the code, not both tags before the code.]
Re: thqby's AutoHotkey_H v2.0 & v2.1
Maybe you used to use ahk-wrapped function NewThread. I didn't package these into ahk. You can still use these features through functions like ahkPause(1, NewThread(...)).
You can see the changes in the readme of the github repository.
You can see the changes in the readme of the github repository.
Who is online
Users browsing this forum: No registered users and 12 guests