SetTitleMatchMode, 1
SendMode InputThenPlay
WinGet, warid, List, Warhammer: Age of Reckoning`, Copyright 2001-2008 Electronic Arts`, Inc.
~1::
#IfWinActive, Warhammer: Age of Reckoning`, Copyright 2001-2008 Electronic Arts`, Inc.
{
BlockInput, On
WinActivate, ahk_id %warid2%
Send 1
WinActivate, ahk_id %warid1%
BlockInput, Off
}
Return
~2::
#IfWinActive, Warhammer: Age of Reckoning`, Copyright 2001-2008 Electronic Arts`, Inc.
{
BlockInput, On
WinActivate, ahk_id %warid2%
Send 2
WinActivate, ahk_id %warid1%
BlockInput, Off
}
Return
~3::
#IfWinActive, Warhammer: Age of Reckoning`, Copyright 2001-2008 Electronic Arts`, Inc.
{
BlockInput, On
WinActivate, ahk_id %warid2%
Send 3
WinActivate, ahk_id %warid1%
BlockInput, Off
}
Return
~4::
#IfWinActive, Warhammer: Age of Reckoning`, Copyright 2001-2008 Electronic Arts`, Inc.
{
BlockInput, On
WinActivate, ahk_id %warid2%
Send 4
WinActivate, ahk_id %warid1%
BlockInput, Off
}
Return
~5::
#IfWinActive, Warhammer: Age of Reckoning`, Copyright 2001-2008 Electronic Arts`, Inc.
{
BlockInput, On
WinActivate, ahk_id %warid2%
Send 5
WinActivate, ahk_id %warid1%
BlockInput, Off
}
Return
~6::
#IfWinActive, Warhammer: Age of Reckoning`, Copyright 2001-2008 Electronic Arts`, Inc.
{
BlockInput, On
WinActivate, ahk_id %warid2%
Send 6
WinActivate, ahk_id %warid1%
BlockInput, Off
}
Return
with this script no action, i must use the name of the window like this? (i put the name found by keyclone to be sure)
i try this too
SetTitleMatchMode, 1
SendMode InputThenPlay
WinGet, warid, List, Warhammer: Age of Reckoning`, Copyright 2001-2008 Electronic Arts`, Inc.
~1::ControlSend,,1,ahk_id %warid2%
Return
but no results too..
please send me your msn.
Connect With Us