Bigbob wrote:
Hey,
Basically used macros in BF2 over a year ago before, all worked fine. Now that I've returned to playing I can't seem to use them when BF2 is in the foreground. The macros work fine on my desktop/windows explorer... Just not in game. Is this due to the new 1.5 Patch?
Anyone else having this problem? and can anyone resolve it?
Thanks.
I've never used ahk before, but I'm having exactly the same problem. Using the following script to flip to a rear view (in a jet or heli), then back to the cockpit when I press
Code:
Joy9::
Send, i ; Rear view
KeyWait, Joy9 ; Wait for the user to release the joystick button.
Send, y ; return to interior view
Sleep, 100
Send, c ; remove cockpit HUD
return
Numpad7::
SendInput, i ; Rear view
KeyWait, Numpad7 ; Wait for the user to release the button.
SendInput, y ; return to interior view
Sleep, 100
SendInput, c ; remove cockpit HUD
return
I've set I and Y to duplicate the functions of F11 and F9, for testing purposes. Outside the game it works perfectly - I can load up notepad, hold down numpad 7 or the joystick button, and it types 'i'. As soon as I let go, it types 'y', then 'c'. Works in other 3D apps as well.
It also works in BF2 chat mode. If I press J to chat, then the joystick button behaves as it should - i, followed by y and c. The numpad 7 key, however, prints a '7' to the chat box.
I've tried this with the 32 bit and the 64 bit options in the installer. I've tried replacing SendInput with SendRaw, Send and SendEvent. I've run out of ideas. I'm beginning to suspect that BF2 just won't work with ahk
