| Author |
Message |
Forum: Support Topic: How to disable the rest of the script if window exist? |
| Brandon7s |
|
Posted: September 6th, 2009, 2:32 pm
|
|
Replies: 2 Views: 244
|
| Pretty simple question, but I have not been able to find a simple solution on my own. I want to disable a hotkey script for when I'm gaming. What I want would look something like this: #IfWinNotExist, ahk_group [Gaming AppGroup] - Run rest of script - Or, inversely: #IfWinExist, ahk_group [Gaming Ap... |
|
 |
Forum: Support Topic: Binding ; to a hotkey: |
| Brandon7s |
|
Posted: October 14th, 2008, 3:50 pm
|
|
Replies: 2 Views: 301
|
BoBo² wrote: Code: Capslock & `;::SoundBeep Tested. Worked.
Aha, there. Good thing to know. Thanks  |
|
 |
Forum: Support Topic: Binding ; to a hotkey: |
| Brandon7s |
|
Posted: October 14th, 2008, 3:41 pm
|
|
Replies: 2 Views: 301
|
| I'm trying to bind ; to become - when I hold down capslock. Capslock & ;::Send, {-} It's not recognizing ; I couldn't find any reference to using it for a keystroke in the help file. Anyone else know? *EDIT*: I got around the issue by using the scancode (sc027), but just out of curiosi... |
|
 |
Forum: Support Topic: Hotkeys only when media player is active |
| Brandon7s |
|
Posted: October 14th, 2008, 10:12 am
|
|
Replies: 10 Views: 731
|
| If it were me, I would have done it like so, it's the easiest way for my mind to comprehend it. Amazing how all our minds work so differently. IfWinActive, ahk_class Afx:400000:8:0:0:7eb02db DoIt() IfWinActive, jetAudio DoIt() IfWinActive, ahk_class COWON Jet-Audio MainWnd Class DoI... |
|
 |
Forum: Support Topic: Hotkeys only when media player is active |
| Brandon7s |
|
Posted: October 9th, 2008, 4:23 pm
|
|
Replies: 10 Views: 731
|
| or you can use ahk_groups GroupAdd, MyGroup, ahk_class COWON Jet-Audio MainWnd Class GroupAdd, MyGroup, jetAudio GroupAdd, MyGroup, ahk_class Afx:400000:8:0:0:7eb02db #IfWinActive, ahk_group MyGroup !Capslock::SetCapsLockState, Off ^Capslock::SetCapsLockState, On Capslock::return Capslock & s::... |
|
 |
Forum: Support Topic: Hotkeys only when media player is active |
| Brandon7s |
|
Posted: October 6th, 2008, 1:13 pm
|
|
Replies: 10 Views: 731
|
| If (WinActive("ahk_class COWON Jet-Audio MainWnd Class") OR WinActive("jetAudio") OR WinActive("ahk_class Afx:400000:8:0:0:7eb02db")) I tried this out, but the hotkeys were available to every window and application, as opposed to just th... |
|
 |
Forum: Support Topic: Hotkeys only when media player is active |
| Brandon7s |
|
Posted: October 6th, 2008, 7:02 am
|
|
Replies: 10 Views: 731
|
Thank you Krogdor! I can't test this out until I get home in the morning, but I will test it as soon as I am able.
I appreciate the help and the speedy reply.  |
|
 |
Forum: Support Topic: Hotkeys only when media player is active |
| Brandon7s |
|
Posted: October 6th, 2008, 6:43 am
|
|
Replies: 10 Views: 731
|
| I'm making a script that changes the the s, a, q, and w keys to the arrow keys, when I hold down capslock. I want these keys to change only when I have the jetAudio (media player) application as the active window. This is what I have so far. I'm a noob at this, as you might be able to see ;) IfWinAc... |
|
 |
| Sort by: |