AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

installed auto hot keys but doesnt work in DOTA (vista)
Goto page 1, 2  Next
 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Waqas7866



Joined: 28 Jul 2008
Posts: 10

PostPosted: Mon Jul 28, 2008 12:09 pm    Post subject: installed auto hot keys but doesnt work in DOTA (vista) Reply with quote

i installed auto hot keys but i still cannot use them because when i load up the dota scripts it says SUSPEND HOT KEYS....and i keep clicking on it but stil cannot get rid of it....the auto hot keys work on Xp but not on mu vista and i dont know what the problem is...

can some1 please help me..
Back to top
View user's profile Send private message Send e-mail
Sivvy



Joined: 21 Jul 2008
Posts: 726
Location: Calgary, AB, Canada

PostPosted: Mon Jul 28, 2008 12:39 pm    Post subject: Reply with quote

Might help to post your code too.
Back to top
View user's profile Send private message
Waqas7866



Joined: 28 Jul 2008
Posts: 10

PostPosted: Mon Jul 28, 2008 2:19 pm    Post subject: Reply with quote

what you mean by code mate? all i kno iz that my auto hot keys work normally buh now they stopd...and how do i find my code if you dunt mind me askin
Back to top
View user's profile Send private message Send e-mail
Sivvy



Joined: 21 Jul 2008
Posts: 726
Location: Calgary, AB, Canada

PostPosted: Mon Jul 28, 2008 2:23 pm    Post subject: Reply with quote

When you use your hotkeys, do you start the app by opening an exe file or an ahk file?
Back to top
View user's profile Send private message
Waqas7866



Joined: 28 Jul 2008
Posts: 10

PostPosted: Mon Jul 28, 2008 2:25 pm    Post subject: Reply with quote

i open the auto hot key porgamme and den the script from dota.....i think
Back to top
View user's profile Send private message Send e-mail
Sivvy



Joined: 21 Jul 2008
Posts: 726
Location: Calgary, AB, Canada

PostPosted: Mon Jul 28, 2008 2:31 pm    Post subject: Reply with quote

Right click the script and click on "Edit Script". Copy that code into a post. (Use Code blocks though, makes life easier.)
Back to top
View user's profile Send private message
Waqas7866



Joined: 28 Jul 2008
Posts: 10

PostPosted: Mon Jul 28, 2008 2:31 pm    Post subject: Reply with quote

what do you mean by code my friend?im abit new with auto hot keys...
Back to top
View user's profile Send private message Send e-mail
Waqas7866



Joined: 28 Jul 2008
Posts: 10

PostPosted: Mon Jul 28, 2008 2:34 pm    Post subject: Reply with quote

SetTimer, IsWarcraftActive, 200
return

IsWarcraftActive:
IfWinActive, Warcraft III
Suspend Off
else
Suspend On
return
$g::Send, r
$q::Send, m
$w::Send, c
$e::Send, h
$r::Send, a

$a::Send, r
$s::Send, c
$d::Send, e
$f::Send, v

$z::Send, {Numpad7}
$x::Send, {Numpad8}
$c::Send, {Numpad4}
$v::Send, {Numpad5}

*Enter::
{
Hotkey, $q, Toggle
Hotkey, $w, Toggle
Hotkey, $e, Toggle
Hotkey, $r, Toggle
Hotkey, $g, Toggle
Hotkey, $a, Toggle
Hotkey, $s, Toggle
Hotkey, $d, Toggle
Hotkey, $f, Toggle

Hotkey, $z, Toggle
Hotkey, $x, Toggle
Hotkey, $c, Toggle
Hotkey, $v, Toggle

GetKeyState, state, Shift
if state = D
Send, +{Enter}
else
Send, {Enter}
return
}
Back to top
View user's profile Send private message Send e-mail
Sivvy



Joined: 21 Jul 2008
Posts: 726
Location: Calgary, AB, Canada

PostPosted: Mon Jul 28, 2008 3:04 pm    Post subject: Reply with quote

Code:
SetTitleMatchMode, 2
#UseHook

SetTimer, IsWarcraftActive, 200
return

IsWarcraftActive:
IfWinActive, Warcraft III
    Suspend Off
else
    Suspend On
return

g::r
q::m
w::c
e::h
r::a

a::r
s::c
d::e
f::v

z::{Numpad7}
x::{Numpad8}
c::{Numpad4}
v::{Numpad5}

*Enter::
Hotkey, q, Toggle
Hotkey, w, Toggle
Hotkey, e, Toggle
Hotkey, r, Toggle

Hotkey, g, Toggle
Hotkey, a, Toggle
Hotkey, s, Toggle
Hotkey, d, Toggle
Hotkey, f, Toggle

Hotkey, z, Toggle
Hotkey, x, Toggle
Hotkey, c, Toggle
Hotkey, v, Toggle

GetKeyState, state, Shift
if state = D
    Send, +{Enter}
else
    Send, {Enter}
return


Hopefully this works... Give it a try.
Back to top
View user's profile Send private message
Waqas7866



Joined: 28 Jul 2008
Posts: 10

PostPosted: Mon Jul 28, 2008 3:43 pm    Post subject: Reply with quote

ill giv it a try now thanks for all that....thanks for tryin also
Back to top
View user's profile Send private message Send e-mail
Waqas7866



Joined: 28 Jul 2008
Posts: 10

PostPosted: Tue Jul 29, 2008 2:10 am    Post subject: Reply with quote

they code you provided dont work aswel...hmm theres something dodgy about them number 7 on da pad....or im doing something wrong buh dunno what...buh i have tried everything to get this fixed...
Back to top
View user's profile Send private message Send e-mail
engunneer



Joined: 30 Aug 2005
Posts: 8255
Location: Maywood, IL

PostPosted: Tue Jul 29, 2008 3:54 am    Post subject: Reply with quote

have you tried the example code shown in the help file for A_IsAdmin?
_________________

(Common Answers)
Back to top
View user's profile Send private message Visit poster's website
Waqas7866



Joined: 28 Jul 2008
Posts: 10

PostPosted: Tue Jul 29, 2008 10:13 am    Post subject: Reply with quote

i have not tried that....can you please give me a link to it or show me where that post is please?thank you....i tried using the codes he gave me but i stil cannot manage to sort this crap problem out. without hotkeys it makes it harder to play the game. lol
Back to top
View user's profile Send private message Send e-mail
Waqas7866



Joined: 28 Jul 2008
Posts: 10

PostPosted: Thu Jul 31, 2008 1:01 pm    Post subject: Reply with quote

can anyone help me??this is kinda annoying me,because i cnt even fix the uto hot key problem
Back to top
View user's profile Send private message Send e-mail
Waqas7867
Guest





PostPosted: Thu Jul 31, 2008 1:19 pm    Post subject: Reply with quote

Quote:
buh i have tried everything to get this fixed
to tell us afterwards ...
Quote:
I have not tried that ...
So, what's everything to you?? Confused "I played every game I could get hold of, while others should try to fix my issues!"-kinda everything Question
Quote:
have you tried the example code shown in the help file for A_IsAdmin?
Means --> it's in the help file!
Quote:
can you please give me a link to it or show me where that post is please
Means --> I'm to lazy to search for it on my own.
Quote:
this is kinda annoying me
Your damn right! Mad
Back to top
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group