AutoHotkey Community

It is currently May 27th, 2012, 1:18 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 25 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: July 31st, 2008, 3:32 pm 
Offline

Joined: July 28th, 2008, 1:05 pm
Posts: 10
STILL NEED HELP


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 1st, 2008, 4:30 am 
Offline
User avatar

Joined: August 30th, 2005, 8:43 pm
Posts: 8667
Location: Salem, MA
Have you tried my suggestion?

_________________
Image
(Common Answers) - New Tutorials Forum - Humongous FAQ


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 14th, 2008, 7:03 pm 
I am also using hotkey script for DotA, I have Windows Vista Basic 64 bit. (I have also tried other hotkey tools for dota) But this one had no problems when I still had WINXP. So, I can bind normal hotkeys like just A, B buttons, but when I try to bind hotkey like CTRL + A its not working, same issue with ALT + A and WinKey + A, but shift + A seems to be working. And I am living in Finland, so I think I have nordic keyboard or something. But I dont think thats the issue, cause with winxp everything worked just fine with this same keyboard.

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)
{
  SoundPlay,*64
  SetScrollLockState, Off
}
else
{
  SoundPlay,*48
  SetScrollLockState, On
}
return

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

;;;;; Toggle health on/off ;;;;;
;; the health bars are automatic now and cannot be turned off
;; however if for some reason they get turned off, pressing this key will turn it on
bHealthBarOn := not bHealthBarOn
if (bHealthBarOn == true)
  SendPlay, {[ Down}{] Down}
else
  SendPlay, {[ Up}{] Up}
return

*NumLock::
Suspend, Permit
bInChatRoom := not bInChatRoom
if (bInChatRoom == True)
{
  Suspend, On
  SetScrollLockState, Off
  SoundPlay,*64
}
else
{
  Suspend, Off
  SetScrollLockState, On
  SoundPlay,*48
}
return

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

; Inventory Keys:
q::Numpad7
w::Numpad8

; Hotkeys Remapper:

; User Specified Hotkeys:




Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: August 14th, 2008, 7:23 pm 
NO PROBLEMS ANYMORE!!!!! :D YEAH, I just disabled thats stupid vista "Do you want to run this program" thing, (running that even as an administrator didnt work) but now its working perfectly :)


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: February 11th, 2009, 3:46 pm 
3utcher wrote:
NO PROBLEMS ANYMORE!!!!! :D YEAH, I just disabled thats stupid vista "Do you want to run this program" thing, (running that even as an administrator didnt work) but now its working perfectly :)


what is that "thing" i need to find it too... can't play wc3/dota w/o it...


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: February 11th, 2009, 4:09 pm 
Offline

Joined: July 21st, 2008, 4:16 pm
Posts: 726
Location: Calgary, AB, Canada
It's called Vista's "UAC". If you do a quick google on disabling the UAC, you'll find tons of topics. There is an easy Registry Hack that does it as well... And rather than disabling the system, it tells it to always say "Yes", rather than prompting the user. Preferably, use the registry hack, but if your not comfortable use the Group Policy editor.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 12th, 2009, 1:51 pm 
nvm i fixed it anyways, you just have to make it run as administrator.


Report this post
Top
  
Reply with quote  
 Post subject: yy
PostPosted: March 3rd, 2009, 3:05 pm 
Run as administrator works !! ty kidx .. from gg ro ?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: April 23rd, 2010, 12:39 am 
3utcher wrote:
I am also using hotkey script for DotA, I have Windows Vista Basic 64 bit. (I have also tried other hotkey tools for dota) But this one had no problems when I still had WINXP. So, I can bind normal hotkeys like just A, B buttons, but when I try to bind hotkey like CTRL + A its not working, same issue with ALT + A and WinKey + A, but shift + A seems to be working. And I am living in Finland, so I think I have nordic keyboard or something. But I dont think thats the issue, cause with winxp everything worked just fine with this same keyboard.

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)
{
  SoundPlay,*64
  SetScrollLockState, Off
}
else
{
  SoundPlay,*48
  SetScrollLockState, On
}
return

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

;;;;; Toggle health on/off ;;;;;
;; the health bars are automatic now and cannot be turned off
;; however if for some reason they get turned off, pressing this key will turn it on
bHealthBarOn := not bHealthBarOn
if (bHealthBarOn == true)
  SendPlay, {[ Down}{] Down}
else
  SendPlay, {[ Up}{] Up}
return

*NumLock::
Suspend, Permit
bInChatRoom := not bInChatRoom
if (bInChatRoom == True)
{
  Suspend, On
  SetScrollLockState, Off
  SoundPlay,*64
}
else
{
  Suspend, Off
  SetScrollLockState, On
  SoundPlay,*48
}
return

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

; Inventory Keys:
q::Numpad7
w::Numpad8

; Hotkeys Remapper:

; User Specified Hotkeys:




Report this post
Top
  
Reply with quote  
 Post subject: hotkey plss
PostPosted: September 13th, 2010, 10:33 am 
i need a ready to use dota hotkey for my windows vista..i have a hotkey but it doesnt work...any comment :shock: :shock:


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 25 posts ]  Go to page Previous  1, 2

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], BrandonHotkey, chaosad, Yahoo [Bot] and 24 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group