Search found 77 matches

by kazhafeizhale
22 Jan 2024, 00:24
Forum: Wish List
Topic: A more precise sleep()
Replies: 12
Views: 1195

Re: A more precise sleep()

Thank you very much. I've tested it, compared to the built-in sleep,This accuracy can reach 1 ms.
by kazhafeizhale
16 Jan 2024, 03:26
Forum: Scripts and Functions (v2)
Topic: ahk binding library for cimgui
Replies: 19
Views: 3370

Re: ahk binding library for cimgui

1、Add external drawing function
image.png
image.png (51.94 KiB) Viewed 1005 times
by kazhafeizhale
09 Oct 2023, 04:17
Forum: Scripts and Functions (v2)
Topic: ALM - Script license manager
Replies: 3
Views: 1488

Re: ALM - Script license manager

Thanks for sharing. By the way, is there any plan to add the time expiration function
by kazhafeizhale
08 Oct 2023, 04:07
Forum: Scripts and Functions (v2)
Topic: ahk binding library for cimgui
Replies: 19
Views: 3370

Re: ahk binding library for cimgui

Hi, does imgui have a control similar to ListView? I'm writing a BT search script where the search results will be inserted into a specified location based on file size, which happens to utilize the ListView's automatic sorting feature. But the thing that bothers me is that ListView can only displa...
by kazhafeizhale
28 Sep 2023, 05:21
Forum: Scripts and Functions (v2)
Topic: ahk binding library for cimgui
Replies: 19
Views: 3370

Re: ahk binding library for cimgui

crocodile wrote:
27 Sep 2023, 06:50
Thanks, but I'm terribly sorry, I originally meant to express a desire to add examples that support the RGB format, not BGRA.
I know opencv There are existing functions ,https://github.com/thqby/opencv_ahk
Or write your own conversion function in machine code
by kazhafeizhale
27 Sep 2023, 04:01
Forum: Scripts and Functions (v2)
Topic: ahk binding library for cimgui
Replies: 19
Views: 3370

Re: ahk binding library for cimgui

Thanks. Can you add an example of displaying BGRA pixels? GDIP() can display webp/avif which are emerging formats, but it can't display .jxl images because the current version of the jxl library only supports the RGB format and GdipCreateBitmapFromScan0() only supports the BGRA format and I haven't...
by kazhafeizhale
26 Sep 2023, 23:25
Forum: Scripts and Functions (v2)
Topic: ahk binding library for cimgui
Replies: 19
Views: 3370

Re: ahk binding library for cimgui

crocodile wrote:
26 Sep 2023, 11:18
What image formats does imgui support? I found that it can't open .avif images.
There are two interfaces available here:
1、 ImageFromFile use D3DX11CreateShaderResourceViewFromFileW

2、LoadTextureFromFile use stb_image
by kazhafeizhale
26 Sep 2023, 10:38
Forum: Scripts and Functions (v2)
Topic: ahk binding library for cimgui
Replies: 19
Views: 3370

Re: ahk binding library for cimgui

Add demo
image.png
image.png (373.89 KiB) Viewed 2722 times
by kazhafeizhale
25 Sep 2023, 03:05
Forum: C/C++
Topic: Diamond inheritance problem
Replies: 1
Views: 1036

Diamond inheritance problem

I have a diamond inheritance problem here,For the gcc compiler, how do I access the members of the base class
image.png
image.png (183.19 KiB) Viewed 1036 times
by kazhafeizhale
25 Sep 2023, 02:34
Forum: Scripts and Functions (v2)
Topic: ahk binding library for cimgui
Replies: 19
Views: 3370

Re: ahk binding library for cimgui

hoppfrosch wrote:
25 Sep 2023, 00:44
Trying to run the examples from the freshly cloned repository (Authotkey V2.0.9):

AutoHotkey64_KAQIp0oN2Z.png
I have made compatibility changes to version L, version 2.0.10 test
by kazhafeizhale
25 Sep 2023, 01:04
Forum: Scripts and Functions (v2)
Topic: ahk binding library for cimgui
Replies: 19
Views: 3370

Re: ahk binding library for cimgui

Trying to run the examples from the freshly cloned repository (Authotkey V2.0.9): AutoHotkey64_KAQIp0oN2Z.png Sorry,sizeof is built in to version H. I checked it just now, and there may be a few changes that need to be made You can run it with version H first https://github.com/thqby/AutoHotkey_H/r...
by kazhafeizhale
24 Sep 2023, 21:02
Forum: Scripts and Functions (v2)
Topic: ahk binding library for cimgui
Replies: 19
Views: 3370

Re: ahk binding library for cimgui

crocodile wrote:
24 Sep 2023, 12:00
Thank you for your work.
What are its advantages over imgui4ahk? Which one should I use?
cimgui is recommended because it is automatically generated by the tool and the function is more complete
by kazhafeizhale
24 Sep 2023, 03:35
Forum: Scripts and Functions (v2)
Topic: ahk binding library for cimgui
Replies: 19
Views: 3370

Re: ahk binding library for cimgui

add Log in to demo
image.png
image.png (292.44 KiB) Viewed 3134 times
by kazhafeizhale
16 Sep 2023, 05:51
Forum: Scripts and Functions (v2)
Topic: ahk binding library for cimgui
Replies: 19
Views: 3370

ahk binding library for cimgui

cimgui-ahk Auto generated ahk wrapper for Dear ImGui via cimgui It comes with a default backend with win32 dx11 It works on , windows(x64) Current solution is: Use cimgui's json generate function and struct definition The type system supports the ctypes library by thqby 540617b1176fa053a11679d1b10e...
by kazhafeizhale
30 Aug 2023, 00:41
Forum: 脚本函数
Topic: 实时打字翻译
Replies: 0
Views: 1237

实时打字翻译

我写了一个实时打字翻译软件,可以边打字边翻译,解决去词典复制粘贴的操作
目前支持
1、输入到文本
2、发音
3、切换翻译API

效果:
b.png
b.png (6 KiB) Viewed 1237 times
a.gif
a.gif (259.77 KiB) Viewed 1237 times
操作:
ALT Y: 打开
ALT ENTER:发音
ENTER: 输出翻译文本
CTRL ENTER: 输出原始文本
ESC: 退出
TAB: 切换另一个翻译API
空格: 切换回默认翻译API

项目地址 https://github.com/sxzxs/Real-time-translation-typing
by kazhafeizhale
10 Aug 2023, 08:16
Forum: Gaming
Topic: tetris
Replies: 0
Views: 1001

tetris

A black and white style of tetris game,Use the d2d (by thqby) drawing library
https://github.com/sxzxs/Autohotkey-d2d-example/blob/main/example97_%E4%BF%84%E7%BD%97%E6%96%AF%E6%96%B9%E5%9D%97.ah2
image.png
image.png (49.12 KiB) Viewed 1001 times
The up and down or so key: hjkl
by kazhafeizhale
01 Aug 2023, 01:19
Forum: Scripts and Functions (v2)
Topic: simple FuzzyMatch for AHKv2
Replies: 3
Views: 997

Re: simple FuzzyMatch for AHKv2

Dllcall calls: https://github.com/sxzxs/fuzz4ahk/blob/main/v2/example.ah2 where can I read about the model/capabilities/etc? one appeal of the original link in post is it didnt require a dll which was nice. that said, if there's upside to this one Im game. @kazhafeizhale This is just a cpp dll enca...
by kazhafeizhale
22 Jul 2023, 11:49
Forum: Scripts and Functions (v2)
Topic: ctypes - create struct, union, array and pointer binding
Replies: 8
Views: 1506

Re: ctypes - create struct, union, array and pointer binding

Give some example when i study. #include <log> #include <ctypes> #include <MCode> /* #include <stdlib.h> #include <stdio.h> #include <windows.h> typedef struct { int x; int y; }POINT_STRUCT; int test_func(POINT_STRUCT *p) { p->x = 10; p->y = 20; return 0; } */ test_func := MCode("1,x64:C7010A0000003...

Go to advanced search