Search found 24 matches
- 11 Oct 2023, 12:50
- Forum: Scripts and Functions (v2)
- Topic: windows capture, image search and colors search
- Replies: 32
- Views: 8959
Re: windows capture, image search and colors search
I'm experiencing a problem. With multiple monitors, WGC only captures the first screen.
- 08 Oct 2023, 06:38
- Forum: Scripts and Functions (v2)
- Topic: ahk binding library for cimgui
- Replies: 19
- Views: 3053
Re: ahk binding library for cimgui
Thanks, this last example impressed me and I will try to refactor my scripts using cimgui. Is it possible for imgui to display Markdown documents? This is the feature I would most like to implement in AutoHotkey as I would like to write a note-taking software with AutoHotkey, but the current AutoHot...
- 07 Oct 2023, 14:51
- Forum: Scripts and Functions (v2)
- Topic: windows capture, image search and colors search
- Replies: 32
- Views: 8959
Re: windows capture, image search and colors search
I tried capturing fullscreen with DXGI and found no performance advantage over gid. Am I missing some parameter?
7680*2160
dxcp 380ms:
bb := dxcp.captureAndSave()
gdi 220ms:
dc := DllCall("GetDC", "UInt", 0, "Cdecl UPtr")
...
DllCall("GDI32\BitBlt", "UInt", ...)
7680*2160
dxcp 380ms:
bb := dxcp.captureAndSave()
gdi 220ms:
dc := DllCall("GetDC", "UInt", 0, "Cdecl UPtr")
...
DllCall("GDI32\BitBlt", "UInt", ...)
- 07 Oct 2023, 11:01
- Forum: Scripts and Functions (v2)
- Topic: ahk binding library for cimgui
- Replies: 19
- Views: 3053
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 display...
- 03 Oct 2023, 23:07
- Forum: Scripts and Functions (v2)
- Topic: HotGestures - Customize and recognize mouse gestures
- Replies: 11
- Views: 1830
Re: HotGestures - Customize and recognize mouse gestures
Thank you. The "[6, 3, 5, 7, 5]" in the example, is that the distance travelled from one point to the next? If two lines have the same shape but huge difference in size, do they need to be scaled to the same size? In some mouse gesture software, 100 gestures are possible. Even this script, if you le...
- 01 Oct 2023, 10:20
- Forum: Scripts and Functions (v2)
- Topic: HotGestures - Customize and recognize mouse gestures
- Replies: 11
- Views: 1830
Re: HotGestures - Customize and recognize mouse gestures
Hi, could you release a separate DTW() library? I tried to test this algorithm in my brush script, but I found that I had a hard time extracting it.
Also, do you consider the performance of the algorithm, for example if it is still as fast as 3 gestures when 100 gestures exist.
Also, do you consider the performance of the algorithm, for example if it is still as fast as 3 gestures when 100 gestures exist.
- 23 Jun 2023, 13:27
- Forum: AutoHotkey Development
- Topic: Support for loading dynamic code
- Replies: 2
- Views: 637
Support for loading dynamic code
The current popular scripting languages seem to support loading dynamic code, such as JavaScript, python, lua.
Of course we also have AutoHotkey-H to support this feature, but it is not officially supported.
2.1 Should there be some attempts in this regard?
Of course we also have AutoHotkey-H to support this feature, but it is not officially supported.
2.1 Should there be some attempts in this regard?
- 29 May 2023, 12:52
- Forum: AutoHotkey_H
- Topic: How does struct() create an enum in a structure?
- Replies: 0
- Views: 1333
How does struct() create an enum in a structure?
I extracted the definition method of the structure from the .h file, but I didn't find the method to initialize the enum from the AutoHotkey_H help file. How do I create this enum structure? typedef struct { uint32 num_channels; DataType data_type; int align; } PixelFormat; typedef enum { TYPE_FLOAT...
- 29 Dec 2022, 04:25
- Forum: Ask for Help (v1)
- Topic: Modify icons of other software
- Replies: 5
- Views: 412
Re: Modify icons of other software
Sorry I didn't make myself clear, I need to change the icons of other software.
- 28 Dec 2022, 20:50
- Forum: Ask for Help (v1)
- Topic: Modify icons of other software
- Replies: 5
- Views: 412
Modify icons of other software
I searched the forum for some icon-related libraries and examples, but didn't find a directly usable script for modifying icons. Does anyone have a script for this? Thanks.
- 26 Dec 2022, 16:28
- Forum: Editors
- Topic: Issues with AutoHotkey v2 LSP + Sublime Text 4, etc.
- Replies: 22
- Views: 5859
Re: Issues with AutoHotkey v2 LSP + Sublime Text 4, etc.
Thank you very much. I searched and it seems that node also supports ipc connections, which seems to mean that we can finish the call with just one function, CallNamedPipe().
I refer to this mpv post for the call method.
viewtopic.php?f=6&t=110588
I refer to this mpv post for the call method.
viewtopic.php?f=6&t=110588
- 24 Dec 2022, 10:53
- Forum: Editors
- Topic: Issues with AutoHotkey v2 LSP + Sublime Text 4, etc.
- Replies: 22
- Views: 5859
Re: Issues with AutoHotkey v2 LSP + Sublime Text 4, etc.
thqby When I use 'SetTimer(ObjBindMethod(this, "call"), 20, 10000)', the pipe loads properly too. But I'm a little curious about what's causing this difference. I want to load this script as a system service, which means it will run forever. But SetTimer() seems to cause a performance waste, can we...
- 24 Dec 2022, 10:23
- Forum: Editors
- Topic: Issues with AutoHotkey v2 LSP + Sublime Text 4, etc.
- Replies: 22
- Views: 5859
Re: Issues with AutoHotkey v2 LSP + Sublime Text 4, etc.
I'm using v2.0.0_H, but my AutoHotkey scripts are loaded via "\\.\pipe", which may be the cause of the problem. When I save it to AutoHotkey.ahk, the example works fine.
- 24 Dec 2022, 09:05
- Forum: Editors
- Topic: Issues with AutoHotkey v2 LSP + Sublime Text 4, etc.
- Replies: 22
- Views: 5859
Re: Issues with AutoHotkey v2 LSP + Sublime Text 4, etc.
@thqby Thanks a lot, this is exciting, so that even ahk edit controls can format AutoHotkey code. I didn't run the example correctly though, and I got this error. Error: Type mismatch. Specifically: MinParams ---- Lib\child_process.ahk 069: } 069: Else ▶ 069: SetTimer(this, 20, 10000) 070: { 071: Fo...
- 19 Dec 2022, 10:23
- Forum: Editors
- Topic: Issues with AutoHotkey v2 LSP + Sublime Text 4, etc.
- Replies: 22
- Views: 5859
Re: Issues with AutoHotkey v2 LSP + Sublime Text 4, etc.
Thanks to you, I managed to format my code.
I don't know much about js scripts, but I have used a google translate script that calls ComObject("htmlfile"), can I understand that it can also be used as a container for cli.ts? That way I can just input the string and output the string.
I don't know much about js scripts, but I have used a google translate script that calls ComObject("htmlfile"), can I understand that it can also be used as a container for cli.ts? That way I can just input the string and output the string.
- 19 Dec 2022, 10:12
- Forum: Ask for Help (v2)
- Topic: ACC - Invalid memory read/write. Topic is solved
- Replies: 3
- Views: 492
Re: ACC - Invalid memory read/write. Topic is solved
Thank you very much!
- 19 Dec 2022, 09:04
- Forum: Ask for Help (v2)
- Topic: ACC - Invalid memory read/write. Topic is solved
- Replies: 3
- Views: 492
Re: ACC - Invalid memory read/write. Topic is solved
Even "Try" does not work.
Code: Select all
Critical Error: Invalid memory read/write.
018: len := 0
019: Try
▶ 020: len := acc.accChildCount
- 19 Dec 2022, 08:25
- Forum: Editors
- Topic: Issues with AutoHotkey v2 LSP + Sublime Text 4, etc.
- Replies: 22
- Views: 5859
Re: Issues with AutoHotkey v2 LSP + Sublime Text 4, etc.
Sorry I don't know how to call cli.js, it's part of node? I have some knowledge of editing and debugging AutoHotkey with SciTE, but I don't know js or node.
- 19 Dec 2022, 07:31
- Forum: Ask for Help (v2)
- Topic: ACC - Invalid memory read/write. Topic is solved
- Replies: 3
- Views: 492
ACC - Invalid memory read/write. Topic is solved
What causes this error? Critical Error: Invalid memory read/write. 007: hwnd := WinExist("A") 008: If DllCall("oleacc\AccessibleObjectFromWindow", "ptr",hWnd, "uint",idObject &= 0xFFFFFFFF , "ptr",-16 + NumPut("int64", idObject == 0xFFFFFFF0 ? 0x46000000000000C0 : 0x719B3800AA000C81, NumPut("int64",...
- 19 Dec 2022, 04:22
- Forum: Editors
- Topic: Issues with AutoHotkey v2 LSP + Sublime Text 4, etc.
- Replies: 22
- Views: 5859
Re: Issues with AutoHotkey v2 LSP + Sublime Text 4, etc.
@thqby
I remember you saying that v2 LSP can be used in the browser as well. So would it be possible to load it with WebView2 so that we can call v2 LSP externally?
I just want SciTE to be able to call it to format the code.
I remember you saying that v2 LSP can be used in the browser as well. So would it be possible to load it with WebView2 so that we can call v2 LSP externally?
I just want SciTE to be able to call it to format the code.