Code:
;
; AutoHotkey Version: 1.x
; Language: English
; Platform: Win9x/NT
; Author: Keraam
;
; Script Function: Ctrl-# will change the Hotkey bar to # and then press 1
; (or 2 for shield). This allows you to quick swap to a bar and quickly equip
; the weapon in slot 1. Description of each function is on the first hotkey so
; if you want to change anything check that out. Shield is bound to the first
; hotbar.
#NoEnv
SendMode Input
SetWorkingDir %A_ScriptDir%
^1:: ; If Ctrl-1 is pressed...
IfWinActive, Darkfall Online ; Check to see if darkfall is active
{
Send +1 ;Send Shift-1 to change bars
Sleep, 200 ;Sleep so the command can go through
Send 1 ;Send 1 to equip weapon
Sleep, 200 ;Sleep for a bit
Send 2 ;Send 2 to equip a shield
}
return
^2::
IfWinActive, Darkfall Online
{
Send +2
Sleep, 200
Send 1
}
return
^3::
IfWinActive, Darkfall Online
{
Send +3
Sleep, 200
Send 1
}
return
^4::
IfWinActive, Darkfall Online
{
Send +4
Sleep, 200
Send 1
}
return
^5::
IfWinActive, Darkfall Online
{
Send +5
Sleep, 200
Send 1
}
return
^6::
IfWinActive, Darkfall Online
{
Send +6
Sleep, 200
Send 1
}
return
^7::
IfWinActive, Darkfall Online
{
Send +7
Sleep, 200
Send 1
}
return
^8::
IfWinActive, Darkfall Online
{
Send +8
Sleep, 200
Send 1
}
return
^9::
IfWinActive, Darkfall Online
{
Send +9
Sleep, 200
Send 1
}
return
^0::
IfWinActive, Darkfall Online
{
Send +0
Sleep, 200
Send 1
}
return






