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 

Not fast?

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
stekkkie
Guest





PostPosted: Fri Jan 25, 2008 8:01 pm    Post subject: Not fast? Reply with quote

if made a script with you can select your hotkey for your mouse ingame:

Code:

#Persistent
#InstallKeybdHook
SetKeyDelay, 75, 75

XButton1::
if numb1=1
{
Send, {1}
}
if numb1=2
{
Send, {2}
}
if numb1=3
{
Send, {3}
}
if numb1=4
{
Send, {4}
}
if numb1=5
{
Send, {5}
}
if numb1=6
{
Send, {6}
}
if numb1=7
{
Send, {7}
}
Return

XButton2::
if numb2=1
{
Send, {1}
}
if numb2=2
{
Send, {2}
}
if numb2=3
{
Send, {3}
}
if numb2=4
{
Send, {4}
}
if numb2=5
{
Send, {5}
}
if numb2=6
{
Send, {6}
}
if numb2=7
{
Send, {7}

Return


$Numpad1::
Gui, Font, s12,
if test=1
{
numb1=1
Gui, Font, cRed,
GuiControl, Font, 1
Gui, Font, ,
GuiControl, Font, 2
Gui, Font, ,
GuiControl, Font, 3
Gui, Font, ,
GuiControl, Font, 4
Gui, Font, ,
GuiControl, Font, 5
Gui, Font, ,
GuiControl, Font, 6
Gui, Font, ,
GuiControl, Font, 7
}

if test=2
{
numb2=1
Gui, Font, cRed,
GuiControl, Font, 11
Gui, Font, ,
GuiControl, Font, 22
Gui, Font, ,
GuiControl, Font, 33
Gui, Font, ,
GuiControl, Font, 44
Gui, Font, ,
GuiControl, Font, 55
Gui, Font, ,
GuiControl, Font, 66
Gui, Font, ,
GuiControl, Font, 77
}
return

and so on.......


This works great in xp, but when i start bf2142 (a game) it is much to slow, and doesnt work half of the time..
Back to top
Titan



Joined: 11 Aug 2004
Posts: 5009
Location: imaginationland

PostPosted: Mon Feb 18, 2008 2:05 pm    Post subject: Reply with quote

See FAQ: How can performance be improved for games or at other times when the CPU is under heavy load?
_________________

RegExReplace("irc.freenode.net/autohotkey", "^(?=(.(?=[\0-r\[]*((?<=\.).))))(?:[c-\x73]{2,8}(\S))+((2)|\b[^\2-]){2}\D++$", "$u3$1$3$4$2")
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
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