Search found 693 matches

by arcticir
16 Jun 2022, 00:07
Forum: Ask for Help (v2)
Topic: What determines the numerical size of a memory address?
Replies: 2
Views: 507

Re: What determines the numerical size of a memory address?

I am in a dilemma. I went to the rust forum to give feedback. the rust people said that the values were large but normal and safe in rust. the AHKDLL error was a problem with the DLL itself and had nothing to do with rust. On the other hand, AHKDLL works fine in all software, but only crashes in rus...
by arcticir
15 Jun 2022, 09:32
Forum: Ask for Help (v2)
Topic: What determines the numerical size of a memory address?
Replies: 2
Views: 507

What determines the numerical size of a memory address?

I use other software to call ahk-h.dll(64) and it crashes a lot, the reason for the crash is that it has a very large memory address, for example "strptr('a') => 3092365760128", while the address value we get when using ahk.exe is usually much smaller. It frequently reports an error "Critical Error:...
by arcticir
13 Jun 2022, 01:39
Forum: AutoHotkey_H
Topic: #MapCaseSense triggers an error
Replies: 0
Views: 1598

#MapCaseSense triggers an error

This script is normal if the #MapCaseSense command is not used. to:=map("a", 1) li:=to.Clone() MsgBox li["a"] When used it will report an error of. #MapCaseSense Off to:=map("a", 1) li:=to.Clone() MsgBox li["a"] Error: Key not found. Specifically: a Line# 002: to := map("a", 1) 003: li := to.Clone()...
by arcticir
13 Jun 2022, 01:30
Forum: Bug Reports
Topic: [V2-B4] Invalid hotkey Topic is solved
Replies: 2
Views: 600

[V2-B4] Invalid hotkey Topic is solved

This hotkey is normal in B3, in B4 it reports an error:.

Code: Select all

Error at line 1.

Line Text: ~ CapsLock & i:: { MsgBox }
Error: Invalid hotkey.

The program will exit.
by arcticir
20 May 2022, 08:29
Forum: Scripts and Functions (v2)
Topic: rqrr() - QR code decoding
Replies: 0
Views: 478

rqrr() - QR code decoding

Compiled from " WanzenBug/rqrr ". It is a little lighter and faster than the current "zbarimg.exe" solution, but the recognition rate is lower. rqrr(pic) { static _ := DllCall("LoadLibrary", "str", "rqrr.dll", "Cdecl UPtr") if sz := dllcall("rqrr.dll\read", "ptr", st := strbuf(pic, "utf-16"), "uint"...
by arcticir
18 May 2022, 01:20
Forum: Scripts and Functions (v1)
Topic: [Script] Quick Picto Viewer v5+
Replies: 260
Views: 83244

Re: [Script] Quick Picto Viewer v5+

I tried using the opencv-ahk bindings released by thqby and loaded the images and got a 2.5x performance improvement compared to AutoHotkey's built-in image processing. This seems to be a good option. But I have not found a way to make it work for AHKGUI.
by arcticir
16 May 2022, 23:11
Forum: Scripts and Functions (v2)
Topic: windows capture, image search and colors search
Replies: 32
Views: 8783

Re: windows capture, image search and colors search

If I want to save the picture in JPG format, do I still need to use GDIP for conversion?
by arcticir
22 Oct 2021, 04:43
Forum: Ask for Help (v2)
Topic: [V2 B] Lost mouse events Topic is solved
Replies: 3
Views: 1449

Re: [V2 B] Lost mouse events Topic is solved

Thanks, I can't believe I overlooked the double click. :oops:
by arcticir
22 Oct 2021, 02:13
Forum: Ask for Help (v2)
Topic: [V2 B] Lost mouse events Topic is solved
Replies: 3
Views: 1449

[V2 B] Lost mouse events Topic is solved

In this example, if I click on the window 8 times quickly, the WM_LBUTTONDOWN function will only trigger 4 times or less. If I click the window slowly 8 times, WM_LBUTTONDOWN will trigger correctly 8 times. I tried using other methods, such as OnEvent("Click", ) , but that didn't work either. The on...
by arcticir
29 Sep 2021, 07:14
Forum: Suggestions on Documentation Improvements
Topic: [V2 B] Example error for CallbackCreate Topic is solved
Replies: 2
Views: 1651

[V2 B] Example error for CallbackCreate Topic is solved

The example in the documentation seems to only fetch the last data. EnumAddress := CallbackCreate(EnumWindowsProc, "Fast") ; Fast-mode is okay because it will be called only from this thread. DetectHiddenWindows True ; Due to fast-mode, this setting will go into effect for the callback too. ; Pass c...
by arcticir
25 Sep 2021, 22:08
Forum: Scripts and Functions (v1)
Topic: PaddleOCR - probably the best OCR tool available
Replies: 75
Views: 29425

Re: PaddleOCR - probably the best OCR tool available

How can I set it to be compatible with Chinese and Japanese?
I have downloaded the Japanese file but find that I cannot simply replace it.
by arcticir
21 Aug 2021, 09:36
Forum: Scripts and Functions (v1)
Topic: [Script] Quick Picto Viewer v5+
Replies: 260
Views: 83244

Re: [Script] Quick Picto Viewer v5+

It's so awesome that you forget that this was done with AHK. I tried to look at its source code and desperately found that quick-picto-viewer.ahk has 60,000+ lines of code. Such a large amount of code is equally awesome. If I follow my habit, even splitting them into 6 files would be 10000 lines eac...
by arcticir
20 Aug 2021, 00:41
Forum: Scripts and Functions (v2)
Topic: [2.0-beta.1] RunTerminal
Replies: 9
Views: 2716

Re: [2.0-beta.1] RunCMD

tranht17 I think kczx3 understands RunTerminal(), and you don't understand what kczx3 is saying. You can imagine the confusion if common LIBs like ACC.AHK and GDIP.AHK all use A_Args internally. You could even just remove all the "A_Args" code and it would still work fine. e.g. DllCall("CloseHandle...
by arcticir
18 Aug 2021, 15:08
Forum: Scripts and Functions (v1)
Topic: [Script] Quick Picto Viewer v5+
Replies: 260
Views: 83244

Re: [Script] Quick Picto Viewer v5+

I have collected two properly working packages which require AHK-H1 to run. dcomp_sample1.zip It is an example of loading and displaying an image. But it uses D3D, which D2D depends on D3D at the bottom. D3D contains all the features of D2D and is much richer. UIAnimationSample.zip is the example re...
by arcticir
16 Aug 2021, 22:07
Forum: Scripts and Functions (v1)
Topic: [Script] Quick Picto Viewer v5+
Replies: 260
Views: 83244

Re: [Script] Quick Picto Viewer v5+

Thank you. Do you have any plans to use Direct2D instead of GDI+? The performance of GDI+ is too low, very slow when loading and zooming images (20M+), a common problem for almost all image viewers using GDI+. GDI+ is almost a thing of the past. There are packaged Direct2D libraries d2d1.ahk in the ...
by arcticir
13 Aug 2021, 04:48
Forum: Ask for Help
Topic: AHK_H v2 beta
Replies: 11
Views: 4508

Re: AHK_H v2 beta

It's been half a month :beard:
by arcticir
09 Aug 2021, 06:19
Forum: Ask for Help
Topic: AHK_H v2 beta
Replies: 11
Views: 4508

Re: AHK_H v2 beta

DuyMinh exethread is a simple wrapper for NewThread. You can try to modify it. exethread(s:="",p:="",t:="",w:=0){ static lib if !lib lib:=GetModuleHandle(),ahkFunction:=GetProcAddress(lib,"ahkFunction"),ahkPostFunction:=GetProcAddress(lib,"ahkPostFunction"),addFile:=GetProcAddress(lib,"addFile"),...

Go to advanced search