; ; AutoHotkey Version: 1.x ; Language: English ; Platform: Win9x/NT ; #SingleInstance force ; ; Only run this script when BF2 is running in the foreground ; SetTimer, KeepRunning return KeepRunning: ; Get the process name of the active window (i.e. notepad.exe) WinGet, szProcessName, ProcessName, A if szProcessName = bf2.exe { Suspend, off } else { Suspend, on } return ; ; Pressing Ctrl+V while BF2 is active ; $^v:: Sleep 200 SetKeyDelay, 40 Send, {Space}%clipboard% SetKeyDelay, 0 return
For whatever reason I needed to add a Sleep 200 before pasting into BF2 because it was removing the first character in the text it was pasting.
This works great in the server browser.