| View previous topic :: View next topic |
| Author |
Message |
isamu
Joined: 06 Mar 2010 Posts: 3
|
Posted: Sat Mar 06, 2010 3:49 am Post subject: Fallout 3 is disabling my global hotkeys in Foobar 2000 |
|
|
Hello everyone, nice to be here I have a problem....
I have been playing the game Fallout 3, and have been playing my own music using Foobar 2000 to run in the background while playing the game. Foobar 2000 allows you to make shortcut keys to control any part of the application. For example, I have assigned "Ctrl+Alt+P" to pause the music, which it does. Problem is, Fallout 3 simply disables my Foobar 2000 shortcut keys, and I'm trying to prevent it from doing that. For example pressing Ctrl+Alt+P no longer pauses the song upon launching the game. It simply stops functioning. There is even a box within Foobar's shortkey menu that, when ticked, turns the shortcut key into a Global Hotkey. I have ticked and unticked this box and still, nothing happens.
So can someone tell me what I have to do in Auto Hotkey to prevent Fallout 3 from overriding my Foobar 2000 shortcut keys? I am still very new to Auto Hotkey, so if someone can tell me exactly what steps to do to make this work it would be very appreciated.
Thanks in advance  |
|
| Back to top |
|
 |
Guest. Guest
|
Posted: Sun Mar 07, 2010 3:26 am Post subject: |
|
|
First try this script (with control alt t) when playing the game, it will confirm that AutoHotkey works with Fallout 3.
| Code: | | ^!t::msgbox,,Testing, Yes it works |
If it works then use Window Spy (by right clicking one of the ahk green icons in the notification tray) to get the ahk class name of Foobar & put it in this script
| Code: | $^!p::
IfWinExist, ahk class Foobar-ahk-class-name
ControlSend, ahk_parent, ^!p, ahk class Foobar-ahk-class-name
Return | Repeat for your other keys
Untested |
|
| Back to top |
|
 |
isamu
Joined: 06 Mar 2010 Posts: 3
|
Posted: Mon Mar 08, 2010 11:28 am Post subject: |
|
|
| Guest. wrote: | First try this script (with control alt t) when playing the game, it will confirm that AutoHotkey works with Fallout 3.
| Code: | | ^!t::msgbox,,Testing, Yes it works |
If it works ..... |
Well, much to my dissapointment, AHK simply doesn't work when running Fallout 3. Yes, the little "Testing it Works" prompt *does* come up when not running the game. But upon launching it, and pressing Ctrl+Alt+T, nothing, nada, zilch. Unbelievable the lengths they went to make this game such a ****.
Any other scripts or whatnot I can test out? |
|
| Back to top |
|
 |
[VxE]
Joined: 07 Oct 2006 Posts: 3254 Location: Simi Valley, CA
|
|
| Back to top |
|
 |
isamu
Joined: 06 Mar 2010 Posts: 3
|
Posted: Thu Mar 11, 2010 9:11 am Post subject: |
|
|
| [VxE] wrote: | Try putting | Code: | | #IfWinActive, Fallout3 | at the top of your script. |
Tried it and it doesn't work
I *AM* however, now getting the "Testing it Works" prompt with that code at the top of the script. But not with the Foobar code that he posted:
| Code: | $^!p::
IfWinExist, ahk class Foobar-ahk-class-name
ControlSend, ahk_parent, ^!p, ahk class Foobar-ahk-class-name
Return |
Fallout 3 still doesn't respond.
Could there be an error somewhere in the script that he posted? |
|
| Back to top |
|
 |
[VxE]
Joined: 07 Oct 2006 Posts: 3254 Location: Simi Valley, CA
|
Posted: Thu Mar 11, 2010 10:40 am Post subject: |
|
|
| Code: | $^!p::
IfWinExist, ahk class Foobar-ahk-class-name
ControlSend, ahk_parent, ^!p, ahk class Foobar-ahk-class-name
Return |
The parts in red are probably incorrect. Read up on Ahk_Classes and make sure the window is detected properly. _________________ Ternary (a ? b : c) guide TSV Table Manipulation Library
Post code inside [code][/code] tags! |
|
| Back to top |
|
 |
hotkeysrock
Joined: 06 Oct 2011 Posts: 5
|
Posted: Mon Oct 10, 2011 2:59 am Post subject: |
|
|
I am running into a similar problem with winamp macros. very annoying and effects all versions of bethestda games it seems.
Just to let you know, I do not think autohotkey will work with it. Bethesda games do *something* so that you cant get any keystrokes (except alt tab, ctrl alte del) to interact with other programs. Obviously it works with counterstrike, steam games, etc... Quake 3 IIRC was not passing keystrokes to the OS as well.
just a little tidbit of information there as I am still trying to figure out how to switch mp3s in fallout grrrrrr!!
i wish developers wouldnt do that. who knows what they are thinking! |
|
| Back to top |
|
 |
strDSR
Joined: 18 Sep 2010 Posts: 1
|
Posted: Sun Dec 11, 2011 6:20 am Post subject: |
|
|
| I've had this problem with several Bethesda games (F3, F:NV, and Skyrim). However I found a workaround. I launched Skyrim using Steam, then press Alt+Tab to load the ingame Steam UI. With the Steam UI up, global hotkeys start working again, and I'm able to run my script to resize the window. This workaround should work for your media player hotkeys as well. |
|
| Back to top |
|
 |
hotkeysrock
Joined: 06 Oct 2011 Posts: 5
|
Posted: Mon Dec 12, 2011 4:19 pm Post subject: |
|
|
would work, except the game is pirated so no steam  |
|
| Back to top |
|
 |
CircuitryMaker
Joined: 28 Jan 2006 Posts: 88 Location: Germany
|
Posted: Tue Dec 27, 2011 12:22 am Post subject: |
|
|
| hotkeysrock wrote: | would work, except the game is pirated so no steam  |
Zwei Dinge sind unendlich. Das Universum und die Dummheit von hotkeysrock. Beim Universum bin ich mir nicht ganz sicher. |
|
| Back to top |
|
 |
aRt)Y
Joined: 17 Nov 2011 Posts: 392
|
Posted: Tue Dec 27, 2011 12:26 am Post subject: |
|
|
| CircuitryMaker wrote: | | hotkeysrock wrote: | would work, except the game is pirated so no steam  |
Zwei Dinge sind unendlich. Das Universum und die Dummheit von hotkeysrock. Beim Universum bin ich mir nicht ganz sicher. |
Why are you posting on german? ^^  |
|
| Back to top |
|
 |
hotkeysrock
Joined: 06 Oct 2011 Posts: 5
|
Posted: Wed Dec 28, 2011 4:49 pm Post subject: |
|
|
I think its some uber hilarious comment referring to the fact that the game is pirated. Despite the issue not having to do at all with this particular game being pirated in any way.
but you know how germans are, always trying to force their moral beliefs on others. |
|
| Back to top |
|
 |
|