Search found 19 matches

by panhartstuff
01 Jan 2019, 21:32
Forum: Ask For Help
Topic: Disabling the Win key without disabling other hotkeys Topic is solved
Replies: 4
Views: 192

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!
by panhartstuff
01 Jan 2019, 17:23
Forum: Ask For Help
Topic: Disabling the Win key without disabling other hotkeys Topic is solved
Replies: 4
Views: 192

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...
by panhartstuff
01 Jan 2019, 14:21
Forum: Ask For Help
Topic: Disabling the Win key without disabling other hotkeys Topic is solved
Replies: 4
Views: 192

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...
by panhartstuff
01 Jan 2019, 14:19
Forum: Tutorials
Topic: jeeswg's Acc tutorial (Microsoft Active Accessibility) (MSAA)
Replies: 14
Views: 4838

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.
by panhartstuff
21 Dec 2018, 10:28
Forum: Tutorials
Topic: jeeswg's Acc tutorial (Microsoft Active Accessibility) (MSAA)
Replies: 14
Views: 4838

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) ...
by panhartstuff
20 Dec 2018, 01:07
Forum: Ask For Help
Topic: WinWaitActive not working properly on Alt+Tab Topic is solved
Replies: 9
Views: 384

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.
by panhartstuff
19 Dec 2018, 23:46
Forum: Ask For Help
Topic: WinWaitActive not working properly on Alt+Tab Topic is solved
Replies: 9
Views: 384

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...
by panhartstuff
19 Dec 2018, 23:11
Forum: Ask For Help
Topic: WinWaitActive not working properly on Alt+Tab Topic is solved
Replies: 9
Views: 384

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. ...
by panhartstuff
19 Dec 2018, 20:55
Forum: Ask For Help
Topic: WinWaitActive not working properly on Alt+Tab Topic is solved
Replies: 9
Views: 384

Re: WinWaitActive not working properly on Alt+Tab Topic is solved

Sorry for bumping, would really appreciate some help on this
by panhartstuff
19 Dec 2018, 13:56
Forum: Ask For Help
Topic: WinWaitActive not working properly on Alt+Tab Topic is solved
Replies: 9
Views: 384

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...
by panhartstuff
19 Dec 2018, 12:42
Forum: Ask For Help
Topic: WinWaitActive not working properly on Alt+Tab Topic is solved
Replies: 9
Views: 384

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...
by panhartstuff
08 Nov 2018, 17:40
Forum: Ask For Help
Topic: Drop files into an application Topic is solved
Replies: 0
Views: 197

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...
by panhartstuff
02 Aug 2018, 07:46
Forum: Ask For Help
Topic: Adding increments to filename Topic is solved
Replies: 2
Views: 116

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...
by panhartstuff
02 Aug 2018, 06:54
Forum: Ask For Help
Topic: Adding increments to filename Topic is solved
Replies: 2
Views: 116

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()) ...
by panhartstuff
23 Jan 2018, 03:00
Forum: Ask For Help
Topic: Wait for sound from specific application
Replies: 6
Views: 331

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 ...
by panhartstuff
23 Jan 2018, 01:55
Forum: Ask For Help
Topic: Wait for sound from specific application
Replies: 6
Views: 331

Re: Wait for sound from specific application

Sorry for bumping again, would really love help for this
by panhartstuff
22 Jan 2018, 14:10
Forum: Ask For Help
Topic: Wait for sound from specific application
Replies: 6
Views: 331

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...
by panhartstuff
21 Jan 2018, 07:49
Forum: Ask For Help
Topic: Wait for sound from specific application
Replies: 6
Views: 331

Wait for sound from specific application

Is there a way to use any sound from a specific application as a trigger in an AutoHotKey script? It doesn't have to be a specific sound, but just any sound that originates from the application I specified. Specifically, I just need to trigger a window box alert, every time the application I specifi...

Go to advanced search