Any good libraries for memory reading/writing in AHK?
I found https://github.com/Kalamity/classMemory but it hasn't been updated in 2 years so I'm a bit nervous writing on something that is not very future-proofed.
Search found 21 matches
- 11 Apr 2020, 18:50
- Forum: Ask For Help
- Topic: Good library for memory reading/writing?
- Replies: 0
- Views: 314
- 13 Dec 2019, 11:38
- Forum: Scripts and Functions
- Topic: convert coordinates between Client/Screen/Window modes
- Replies: 10
- Views: 5016
Re: convert coordinates between Client/Screen/Window modes
What are the ByRef vPosX2, ByRef vPosY2 variables?
- 01 Jan 2019, 21:32
- Forum: Ask For Help
- Topic: Disabling the Win key without disabling other hotkeys Topic is solved
- Replies: 4
- Views: 950
Re: Disabling the Win key without disabling other hotkeys Topic is solved
Damn nice, didn't know about that at all! Thanks for the help, it works perfectly!
- 01 Jan 2019, 17:23
- Forum: Ask For Help
- Topic: Disabling the Win key without disabling other hotkeys Topic is solved
- Replies: 4
- Views: 950
Re: Disabling the Win key without disabling other hotkeys Topic is solved
Thanks, but it doesn't really work very consistently. I usually tap my shortcuts really fast, so 0.5 is usually too slow. After some testing, it seems that I tap my shortcuts at the average of 0.06 seconds. But if I set the timeout to that length, it'd be just as fast as how I'd accidentally tap the...
- 01 Jan 2019, 14:21
- Forum: Ask For Help
- Topic: Disabling the Win key without disabling other hotkeys Topic is solved
- Replies: 4
- Views: 950
Disabling the Win key without disabling other hotkeys Topic is solved
I want to disable the Win key, but I also have several Win+* hotkeys. Is there a way to disable it without having all the other hotkeys to stop working? I tried the below, but it disables not only the Win key, but also my other hotkeys. LWin:: Return RWin:: Return This code also have the same effect...
- 01 Jan 2019, 14:19
- Forum: Tutorials
- Topic: jeeswg's Acc tutorial (Microsoft Active Accessibility) (MSAA)
- Replies: 29
- Views: 24231
Re: jeeswg's Acc tutorial (Microsoft Active Accessibility) (MSAA)
@jeeswg
Thanks for the help man! Yeah working with AHK + OBS is just a nightmare, OBS is just so bizarrely resistant to AHK fiddling.
Thanks for the help man! Yeah working with AHK + OBS is just a nightmare, OBS is just so bizarrely resistant to AHK fiddling.
- 21 Dec 2018, 10:28
- Forum: Tutorials
- Topic: jeeswg's Acc tutorial (Microsoft Active Accessibility) (MSAA)
- Replies: 29
- Views: 24231
Re: jeeswg's Acc tutorial (Microsoft Active Accessibility) (MSAA)
Hey jeeswg, I'm trying to use your code from OBS start/stop switcher, but it doesn't seem to be working WinGet, hWnd, ID, OBS ahk_class Qt5QWindowIcon ControlGet, hCtl, Hwnd,, Qt5QWindowIcon10, % "ahk_id " hWnd vAccPath := "client.push_button2" oAcc := Acc_Get("Object", vAccPath, 0, "ahk_id " hCtl) ...
- 20 Dec 2018, 01:07
- Forum: Ask For Help
- Topic: WinWaitActive not working properly on Alt+Tab Topic is solved
- Replies: 9
- Views: 1618
Re: WinWaitActive not working properly on Alt+Tab Topic is solved
Thanks that cleared it up. I didn't know you could use WinExist to compare between a group and a handle like that.
- 19 Dec 2018, 23:46
- Forum: Ask For Help
- Topic: WinWaitActive not working properly on Alt+Tab Topic is solved
- Replies: 9
- Views: 1618
Re: WinWaitActive not working properly on Alt+Tab Topic is solved
Ok my head isn't really working right now, the script does work, but I still don't understand the logic of how checking the existence of the ahk_group will help check whether or not they're active. To clarify, that line basically checks whether any windows matches with any one of the ahk_class (in t...
- 19 Dec 2018, 23:11
- Forum: Ask For Help
- Topic: WinWaitActive not working properly on Alt+Tab Topic is solved
- Replies: 9
- Views: 1618
Re: WinWaitActive not working properly on Alt+Tab Topic is solved
Thank you so much, your code works perfectly! Your insights really helped clear things up. I guess there's some kind of empty "gap" between switching windows. I also noticed in Window Spy, there's sometimes a small period between switching windows where the Window info box becomes completely empty. ...
- 19 Dec 2018, 20:55
- Forum: Ask For Help
- Topic: WinWaitActive not working properly on Alt+Tab Topic is solved
- Replies: 9
- Views: 1618
Re: WinWaitActive not working properly on Alt+Tab Topic is solved
Sorry for bumping, would really appreciate some help on this
- 19 Dec 2018, 13:56
- Forum: Ask For Help
- Topic: WinWaitActive not working properly on Alt+Tab Topic is solved
- Replies: 9
- Views: 1618
Re: WinWaitActive not working properly on Alt+Tab Topic is solved
I looked through other forum posts, and it doesn't seem to be the case. From what I gather WinWaitActive ahk_group should wait until any one of the programs in the group is active. While WinWaitNotActive ahk_group should wait until none of the programs in the group are active. But the more I test th...
- 19 Dec 2018, 12:42
- Forum: Ask For Help
- Topic: WinWaitActive not working properly on Alt+Tab Topic is solved
- Replies: 9
- Views: 1618
WinWaitActive not working properly on Alt+Tab Topic is solved
Here's my code: GroupAdd, test, ahk_class Notepad GroupAdd, test, Task Switching ahk_class MultitaskingViewFrame WinWaitActive ahk_class Notepad WinWaitNotActive ahk_group test MsgBox, Test To replicate my issue, simply run the code, open/activate Notepad, then alt+tab away to any other program othe...
- 08 Nov 2018, 17:40
- Forum: Ask For Help
- Topic: Drop files into an application Topic is solved
- Replies: 0
- Views: 528
Drop files into an application Topic is solved
I'm trying to use a code by RHCP from this old forums. It's meant to simulate dropping files into an application https://autohotkey.com/board/topic/41467-make-ahk-drop-files-into-other-applications/page-2#entry638376 DropFiles( FileList, wTitle="", Ctrl="", X=0, Y=0, NCA=0 ) { characterSize := A_IsU...
- 02 Aug 2018, 07:46
- Forum: Ask For Help
- Topic: Adding increments to filename Topic is solved
- Replies: 2
- Views: 627
Re: Adding increments to filename Topic is solved
#SingleInstance, Force #NoEnv SetBatchLines, -1 OnExit, Exit ; Uncomment if Gdip.ahk is not in your standard library ; #Include, Gdip.ahk if (!pToken := Gdip_Startup()) { MsgBox, 48, Gdiplus error!, Gdiplus failed to start. Please ensure you have Gdiplus on your system. ExitApp } return loop { File...
- 02 Aug 2018, 06:54
- Forum: Ask For Help
- Topic: Adding increments to filename Topic is solved
- Replies: 2
- Views: 627
Adding increments to filename Topic is solved
https://autohotkey.com/boards/viewtopic.php?t=2237 I'm trying the code from the above thread #SingleInstance, Force #NoEnv SetBatchLines, -1 OnExit, Exit FileOut := A_Desktop "\MyNewFile.png" ; Uncomment if Gdip.ahk is not in your standard library ; #Include, Gdip.ahk if (!pToken := Gdip_Startup()) ...
- 23 Jan 2018, 03:00
- Forum: Ask For Help
- Topic: Wait for sound from specific application
- Replies: 6
- Views: 1240
Re: Wait for sound from specific application
It's https://pomodoneapp.com/ To note, I'm using it in the mini-timer mode, so that it can hover above the application I'm working on without being too distracting and obscuring One of the features that I really need from this app is that it displays both the goal list and the remaining time, while ...
- 23 Jan 2018, 01:55
- Forum: Ask For Help
- Topic: Wait for sound from specific application
- Replies: 6
- Views: 1240
Re: Wait for sound from specific application
Sorry for bumping again, would really love help for this
- 22 Jan 2018, 14:10
- Forum: Ask For Help
- Topic: Wait for sound from specific application
- Replies: 6
- Views: 1240
Re: Wait for sound from specific application
Sorry if I'm not being clear enough, I will clarify my goals a bit more I want to make an AutoHotKey script that can make a window box alert, every time a single specific application (specified within the script) makes any sound whatsoever. To make my purpose clearer: I wanted to do this because the...
- 22 Jan 2018, 03:05
- Forum: Ask For Help
- Topic: Wait for sound from specific application
- Replies: 6
- Views: 1240
Re: Wait for sound from specific application
Bump for help