i hope i dont break any rule.
im playing on a private server and i use the following script with a 360 controller (wired or wireless, they work great)
i found the script on the internet (credit to the creator) and what id does is that in switches from one window to another .
the script doesnt work anymore with the xbox one controller.
is this fixable? TY
Code: Select all
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
; Run every line
Critical
; Avoid warning dialogue about over-hits
#MaxHotkeysPerInterval 50000
#HotkeyInterval 1
#UseHook
#WinActivateForce
; Switch active window from AAA to BBB
Joy6::
{
IfWinActive AAA ahk_class FFXiClass
{
If WinExist("BBB ahk_class FFXiClass")
{
WinActivate
}
}
else
{
If WinExist("AAA ahk_class FFXiClass")
{
WinActivate
}
}
return
}