Poll: When you have to trigger an item, do you:
You do not have permission to vote in this poll.
1. Reach over and press the hotkey with your hand?
51.61%
16 51.61%
2. Click on it to activate with mouse?
22.58%
7 22.58%
3. Other
25.81%
8 25.81%
Total 31 vote(s) 100%
* You voted for this item. [Show Results]

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What's your keyboard technique?
#10
By request from 3imi, this is the script I use. Quite sure you dont need the full text but here it is:

Code:
#SingleInstance force        ;force a single instance
#HotkeyInterval 0        ;disable the warning dialog if a key is held down
#InstallKeybdHook        ;Forces the unconditional installation of the keyboard hook
#UseHook On            ;might increase responsiveness of hotkeys
#MaxThreads 20            ;use 20 (the max) instead of 10 threads
SetBatchLines, -1        ;makes the script run at max speed
SetKeyDelay , -1, -1        ;faster response (might be better with -1, 0)
;Thread, Interrupt , -1, -1    ;not sure what this does, could be bad for timers
SetTitleMatchMode, 3 ;title Warcraft III must match exactly
SetDefaultMouseSpeed, 0 ;Move the mouse faster for mouse moving commands

IfExist, Warcraft III.ico
  menu, tray, Icon, Warcraft III.ico, 1, 1

;;;;; Variables ;;;;;
bInChatRoom := False
bHealthBarOn := False
Return ; End Auto-Execute Section

; AutoCast Function
AutoCast(iSpellQWERHotkey)
{
  MouseGetPos, iMousePosX, IMousePosY
  if (iSpellQWERHotkey == 1)
  {
    iMouseGotoX := A_ScreenWidth*4//5
    iMouseGotoY := A_ScreenHeight*4//5
  }
  else if (iSpellQWERHotkey == 2)
  {
    iMouseGotoX := A_ScreenWidth*4//5
    iMouseGotoY := A_ScreenHeight*22//25
  }
  else if (iSpellQWERHotkey == 3)
  {    iMouseGotoX := A_ScreenWidth*4//5
    iMouseGotoY := A_ScreenHeight*19//20
  }
  else if (iSpellQWERHotkey == 4)
  {
    iMouseGotoX := A_ScreenWidth*17//20
    iMouseGotoY := A_ScreenHeight*4//5
  }
  else if (iSpellQWERHotkey == 5)
  {
    iMouseGotoX := A_ScreenWidth*17//20
    iMouseGotoY := A_ScreenHeight*22//25
  }
  else if (iSpellQWERHotkey == 6)
  {
    iMouseGotoX := A_ScreenWidth*17//20
    iMouseGotoY := A_ScreenHeight*19//20
  }
  else if (iSpellQWERHotkey == 7)
  {
    iMouseGotoX := A_ScreenWidth*9//10
    iMouseGotoY := A_ScreenHeight*4//5
  }
  else if (iSpellQWERHotkey == 8)
  {
    iMouseGotoX := A_ScreenWidth*9//10
    iMouseGotoY := A_ScreenHeight*22//25
  }
  else if (iSpellQWERHotkey == 9)
  {
    iMouseGotoX := A_ScreenWidth*9//10
    iMouseGotoY := A_ScreenHeight*19//20
  }
  else if (iSpellQWERHotkey == 10)
  {
    iMouseGotoX := A_ScreenWidth*19//20
    iMouseGotoY := A_ScreenHeight*4//5
  }
  else if (iSpellQWERHotkey == 11)
  {
    iMouseGotoX := A_ScreenWidth*19//20
    iMouseGotoY := A_ScreenHeight*22//25
  }
  else if (iSpellQWERHotkey == 12)
  {
    iMouseGotoX := A_ScreenWidth*19//20
    iMouseGotoY := A_ScreenHeight*19//20
  }
  Click, Right, %iMouseGotoX%, %iMouseGotoY%
  MouseMove, %iMousePosX%, %iMousePosY%
}

#ifWinActive, Warcraft III ahk_class Warcraft III

;;;;; Enable/disable all hotkeys ;;;;;
~*Enter::
~*NumpadEnter::
Suspend, Permit
if (bInChatRoom == True)
  return
Suspend
if (A_IsSuspended == true)
  SetScrollLockState, Off
else
  SetScrollLockState, On
return

;; Escape will cancel chatting, so turn the hotkeys back on
~*Esc::
Suspend, Permit
if (bInChatRoom == True)
  return
Suspend, Off
SetScrollLockState, On
return

*ScrollLock::
Suspend, Permit
bInChatRoom := not bInChatRoom
if (bInChatRoom == True)
{
  Suspend, On
  SetScrollLockState, Off
}
else
{
  Suspend, Off
  SetScrollLockState, On
}
return

; Disable Left Alt-Q GG
<!q::return

; Inventory Keys:
f::Numpad4
g::Numpad5
s::Numpad1
d::Numpad2

; Hotkeys Remapper:
k::SendPlay, {Enter}-rc{Enter}{Enter}-anglez 65{Enter}{Enter}-zoom 5000{Enter}
l::SendPlay, +{Enter}-team No Skill, Just Luck{Enter}

Last 9 lines are the ones you should look at, the other things should be auto-generated by WarKey.
SC2: Equiem (Charcode 990), whisper me if you wish to practise some 1vs1 or grab some achievements

Repeat while playing: "There is no such thing as luck in Btanks" - Now watch yourself improve tenfold
Reply


Messages In This Thread
What's your keyboard technique? - by Jayzer - 2010-05-13, 22:17:34
Re: What's your keyboard technique? - by Althend - 2010-05-13, 22:40:24
Re: What's your keyboard technique? - by Prog - 2010-05-13, 23:06:22
Re: What's your keyboard technique? - by Keiser - 2010-05-15, 03:15:05
Re: What's your keyboard technique? - by Equiem - 2010-05-16, 15:19:55
Re: What's your keyboard technique? - by haz0r - 2010-06-03, 08:46:47
Re: What's your keyboard technique? - by Equiem - 2010-06-15, 00:10:44
Re: What's your keyboard technique? - by MyStique - 2010-12-09, 05:47:00



Users browsing this thread: 1 Guest(s)