Requesting AutoHotKey Script.

Locked and being moved to appropriate class sections

Re: Requesting AutoHotKey Script.

Postby Wargorn » 21 Feb 2014, 17:49

Timur wrote:
Wargorn wrote:Image What is left of this game?


Beastcleave


And :)))?
User avatar
 
Posts: 101
Joined: 14 Jan 2013, 18:07
Location: Amsterdam
 

Re: Requesting AutoHotKey Script.

Postby gza » 21 Feb 2014, 21:29

Dont search auto hot key forum. Ask. When i did my shit some people helped me even they had no idea what is World of Warcraft.

I tried to look on you script but i cant pull it. I am not that experienced.

And to all people saying that using autohotkey is stupid, check this. You all play on AT and maybe on another server. So you need to change realm.wtf each time you log on or make 2 games in hard disk probably.
So i saved 17 Gb space not making 2 games with this Autohotkey shit.

Spoiler
#SingleInstance
SetTimer, ChangeButtonNames, 50
MsgBox, 3, WORLD OF WARCRAFT 3.3.5a,- CHOOSE A SERVER -
IfMsgBox, YES
{
FileDelete, D:\Games\WoW\Data\enGB\realmlist.wtf
FileAppend, Set realmlist logon.molten-wow.com, D:\Games\WoW\Data\enGB\realmlist.wtf
Sleep 1000
Run D:\Games\WoW\Wow.exe
}

IfMsgBox, No
{
FileDelete, D:\Games\WoW\Data\enGB\realmlist.wtf
FileAppend, Set realmlist logon.arena-tournament.com, D:\Games\WoW\Data\enGB\realmlist.wtf
Sleep 1000
Run D:\Games\WoW\Wow.exe
}
ExitApp

ChangeButtonNames:
IfWinNotExist, WORLD OF WARCRAFT
return ; Keep waiting.
SetTimer, ChangeButtonNames, off
WinActivate
ControlSetText, Button1, &MOLTEN
ControlSetText, Button2, &AT
return


A windows pops and asks me what server i want to start and edits realm.wtf and starts the game. Maybe its not something big but for me: IT IS. Cause i dont have high end pc nor a big hard drive.
User avatar
 
Posts: 205
Joined: 27 Jun 2012, 08:59
Location: Romania
 

Re: Requesting AutoHotKey Script.

Postby Erpforlife » 22 Feb 2014, 00:28

I found a better code, tested this at dummy for 15mins without a single malfunction, sharing it here. Also fixed another problem with modifiers not getting released.
#NoEnv
#ifWinActive World of Warcraft
#MaxHotkeysPerInterval 100000000
~NumLock::Suspend, Toggle
~Enter::Suspend, Toggle
; Disable alt-tab, windows key
!Tab::
LWin::
RWin::
  return
{
$1::
$!1::
$+1::
$^1::
    Loop
    {
      if not GetKeyState("1", "P")
        break
      if GetKeyState("LAlt", "P")
        Send !1
      else if GetKeyState("LShift", "P")
        Send +1
      else if GetKeyState("LCtrl", "P")
        Send ^1
      else
        Send 1
      Sleep 1
    }
return
}
{
$2::
$!2::
$+2::
$^2::
    Loop
    {
      if not GetKeyState("2", "P")
        break
      if GetKeyState("LAlt", "P")
        Send !2
      else if GetKeyState("LShift", "P")
        Send +2
      else if GetKeyState("LCtrl", "P")
        Send ^2
      else
        Send 2
      Sleep 1
    }
return
}
{
$3::
$!3::
$+3::
$^3::
    Loop
    {
      if not GetKeyState("3", "P")
        break
      if GetKeyState("LAlt", "P")
        Send !3
      else if GetKeyState("LShift", "P")
        Send +3
      else if GetKeyState("LCtrl", "P")
        Send ^3
      else
        Send 3
      Sleep 1
    }
return
}
{
$4::
$!4::
$+4::
$^4::
    Loop
    {
      if not GetKeyState("4", "P")
        break
      if GetKeyState("LAlt", "P")
        Send !4
      else if GetKeyState("LShift", "P")
        Send +4
      else if GetKeyState("LCtrl", "P")
        Send ^4
      else
        Send 4
      Sleep 1
    }
return
}
{
$5::
$!5::
$+5::
$^5::
    Loop
    {
      if not GetKeyState("5", "P")
        break
      if GetKeyState("LAlt", "P")
        Send !5
      else if GetKeyState("LShift", "P")
        Send +5
      else if GetKeyState("LCtrl", "P")
        Send ^5
      else
        Send 5
      Sleep 1
    }
return
}
{
$6::
$!6::
$+6::
$^6::
    Loop
    {
      if not GetKeyState("6", "P")
        break
      if GetKeyState("LAlt", "P")
        Send !6
      else if GetKeyState("LShift", "P")
        Send +6
      else if GetKeyState("LCtrl", "P")
        Send ^6
      else
        Send 6
      Sleep 1
    }
return
}
{
$q::
$!q::
$+q::
$^q::
    Loop
    {
      if not GetKeyState("q", "P")
        break
      if GetKeyState("LAlt", "P")
        Send !q
      else if GetKeyState("LShift", "P")
        Send +q
      else if GetKeyState("LCtrl", "P")
        Send ^q
      else
        Send q
      Sleep 1
    }
return
}
{
$e::
$!e::
$+e::
$^e::
    Loop
    {
      if not GetKeyState("e", "P")
        break
      if GetKeyState("LAlt", "P")
        Send !e
      else if GetKeyState("LShift", "P")
        Send +e
      else if GetKeyState("LCtrl", "P")
        Send ^e
      else
        Send e
      Sleep 1
    }
return
}
{
$r::
$!r::
$+r::
$^r::
    Loop
    {
      if not GetKeyState("r", "P")
        break
      if GetKeyState("LAlt", "P")
        Send !r
      else if GetKeyState("LShift", "P")
        Send +r
      else if GetKeyState("LCtrl", "P")
        Send ^r
      else
        Send r
      Sleep 1
    }
return
}
{
$t::
$!t::
$+t::
$^t::
    Loop
    {
      if not GetKeyState("t", "P")
        break
      if GetKeyState("LAlt", "P")
        Send !t
      else if GetKeyState("LShift", "P")
        Send +t
      else if GetKeyState("LCtrl", "P")
        Send ^t
      else
        Send t
      Sleep 1
    }
return
}
{
$y::
$!y::
$+y::
$^y::
    Loop
    {
      if not GetKeyState("y", "P")
        break
      if GetKeyState("LAlt", "P")
        Send !y
      else if GetKeyState("LShift", "P")
        Send +y
      else if GetKeyState("LCtrl", "P")
        Send ^y
      else
        Send y
      Sleep 1
    }
return
}
{
$f::
$!f::
$+f::
$^f::
    Loop
    {
      if not GetKeyState("f", "P")
        break
      if GetKeyState("LAlt", "P")
        Send !f
      else if GetKeyState("LShift", "P")
        Send +f
      else if GetKeyState("LCtrl", "P")
        Send ^f
      else
        Send f
      Sleep 1
    }
return
}
{
$g::
$!g::
$+g::
$^g::
    Loop
    {
      if not GetKeyState("g", "P")
        break
      if GetKeyState("LAlt", "P")
        Send !g
      else if GetKeyState("LShift", "P")
        Send +g
      else if GetKeyState("LCtrl", "P")
        Send ^g
      else
        Send g
      Sleep 1
    }
return
}
{
$<::
$!<::
$+<::
$^<::
    Loop
    {
      if not GetKeyState("<", "P")
        break
      if GetKeyState("LAlt", "P")
        Send !<
      else if GetKeyState("LShift", "P")
        Send +<
      else if GetKeyState("LCtrl", "P")
        Send ^<
      else
        Send <
      Sleep 1
    }
return
}
{
$z::
$!z::
$+z::
$^z::
    Loop
    {
      if not GetKeyState("z", "P")
        break
      if GetKeyState("LAlt", "P")
        Send !z
      else if GetKeyState("LShift", "P")
        Send +z
      else if GetKeyState("LCtrl", "P")
        Send ^z
      else
        Send z
      Sleep 1
    }
return
}
{
$x::
$!x::
$+x::
$^x::
    Loop
    {
      if not GetKeyState("x", "P")
        break
      if GetKeyState("LAlt", "P")
        Send !x
      else if GetKeyState("LShift", "P")
        Send +x
      else if GetKeyState("LCtrl", "P")
        Send ^x
      else
        Send x
      Sleep 1
    }
return
}
{
$c::
$!c::
$+c::
$^c::
    Loop
    {
      if not GetKeyState("c", "P")
        break
      if GetKeyState("LAlt", "P")
        Send !c
      else if GetKeyState("LShift", "P")
        Send +c
      else if GetKeyState("LCtrl", "P")
        Send ^c
      else
        Send c
      Sleep 1
    }
return
}
{
$v::
$!v::
$+v::
$^v::
    Loop
    {
      if not GetKeyState("v", "P")
        break
      if GetKeyState("LAlt", "P")
        Send !v
      else if GetKeyState("LShift", "P")
        Send +v
      else if GetKeyState("LCtrl", "P")
        Send ^v
      else
        Send v
      Sleep 1
    }
return
}
{
$TAB::
$+TAB::
$^TAB::
    Loop
    {
      if not GetKeyState("TAB", "P")
        break
      if GetKeyState("LShift", "P")
        Send +{TAB}
      else if GetKeyState("LCtrl", "P")
        Send ^{TAB}
      else
        Send {TAB}
      Sleep 1
    }
return
}
{
$XButton1::
$!XButton1::
$+XButton1::
$^XButton1::
    Loop
    {
      if not GetKeyState("XButton1", "P")
        break
      if GetKeyState("LAlt", "P")
        Send !{XButton1}
      else if GetKeyState("LShift", "P")
        Send +{XButton1}
      else if GetKeyState("LCtrl", "P")
        Send ^{XButton1}
      else
        Send {XButton1}
      Sleep 1
    }
return
}
{
$XButton2::
$!XButton2::
$+XButton2::
$^XButton2::
    Loop
    {
      if not GetKeyState("XButton2", "P")
        break
      if GetKeyState("LAlt", "P")
        Send !{XButton2}
      else if GetKeyState("LShift", "P")
        Send +{XButton2}
      else if GetKeyState("LCtrl", "P")
        Send ^{XButton2}
      else
        Send {XButton2}
      Sleep 1
    }
return
}
{
$MButton::
$!MButton::
$+MButton::
$^MButton::
    Loop
    {
      if not GetKeyState("MButton", "P")
        break
      if GetKeyState("LAlt", "P")
        Send !{MButton}
      else if GetKeyState("LShift", "P")
        Send +{MButton}
      else if GetKeyState("LCtrl", "P")
        Send ^{MButton}
      else
        Send {MButton}
      Sleep 1
    }
return
}
{
$sc029::
$!sc029::
$+sc029::
$^sc029::
    Loop
    {
      if not GetKeyState("sc029", "P")
        break
      if GetKeyState("LAlt", "P")
        Send !{sc029}
      else if GetKeyState("LShift", "P")
        Send +{sc029}
      else if GetKeyState("LCtrl", "P")
        Send ^{sc029}
      else
        Send {sc029}
      Sleep 1
    }
return
}
{
$F1::
$!F1::
$+F1::
$^F1::
    Loop
    {
      if not GetKeyState("F1", "P")
        break
      if GetKeyState("LAlt", "P")
        Send !{F1}
      else if GetKeyState("LShift", "P")
        Send +{F1}
      else if GetKeyState("LCtrl", "P")
        Send ^{F1}
      else
        Send {F1}
      Sleep 1
    }
return
}
{
$F2::
$!F2::
$+F2::
$^F2::
    Loop
    {
      if not GetKeyState("F2", "P")
        break
      if GetKeyState("LAlt", "P")
        Send !{F2}
      else if GetKeyState("LShift", "P")
        Send +{F2}
      else if GetKeyState("LCtrl", "P")
        Send ^{F2}
      else
        Send {F2}
      Sleep 1
    }
return
}
{
$F3::
$!F3::
$+F3::
$^F3::
    Loop
    {
      if not GetKeyState("F3", "P")
        break
      if GetKeyState("LAlt", "P")
        Send !{F3}
      else if GetKeyState("LShift", "P")
        Send +{F3}
      else if GetKeyState("LCtrl", "P")
        Send ^{F3}
      else
        Send {F3}
      Sleep 1
    }
return
}
{
$F4::
$!F4::
$+F4::
$^F4::
    Loop
    {
      if not GetKeyState("F4", "P")
        break
      if GetKeyState("LAlt", "P")
        Send !{F4}
      else if GetKeyState("LShift", "P")
        Send +{F4}
      else if GetKeyState("LCtrl", "P")
        Send ^{F4}
      else
        Send {F4}
      Sleep 1
    }
return
}

This one includes 1-6qertyfg<zxcvTAB§F1-F4MiddleMouseMouse4Mouse5 all with modifiers, toggle with enter to write and numlock so you can alt tab out from WoW.
To add buttons with minor effort just copy a button and press ctrl+H in notepad to replace the code for each button.
User avatar
 
Posts: 304
Joined: 26 Jun 2013, 07:49
 

Re: Requesting AutoHotKey Script.

Postby Lawz » 22 Feb 2014, 02:16

gza wrote:Dont search auto hot key forum. Ask. When i did my shit some people helped me even they had no idea what is World of Warcraft.

I tried to look on you script but i cant pull it. I am not that experienced.

And to all people saying that using autohotkey is stupid, check this. You all play on AT and maybe on another server. So you need to change realm.wtf each time you log on or make 2 games in hard disk probably.
So i saved 17 Gb space not making 2 games with this Autohotkey shit.

Spoiler
#SingleInstance
SetTimer, ChangeButtonNames, 50
MsgBox, 3, WORLD OF WARCRAFT 3.3.5a,- CHOOSE A SERVER -
IfMsgBox, YES
{
FileDelete, D:\Games\WoW\Data\enGB\realmlist.wtf
FileAppend, Set realmlist logon.molten-wow.com, D:\Games\WoW\Data\enGB\realmlist.wtf
Sleep 1000
Run D:\Games\WoW\Wow.exe
}

IfMsgBox, No
{
FileDelete, D:\Games\WoW\Data\enGB\realmlist.wtf
FileAppend, Set realmlist logon.arena-tournament.com, D:\Games\WoW\Data\enGB\realmlist.wtf
Sleep 1000
Run D:\Games\WoW\Wow.exe
}
ExitApp

ChangeButtonNames:
IfWinNotExist, WORLD OF WARCRAFT
return ; Keep waiting.
SetTimer, ChangeButtonNames, off
WinActivate
ControlSetText, Button1, &MOLTEN
ControlSetText, Button2, &AT
return


A windows pops and asks me what server i want to start and edits realm.wtf and starts the game. Maybe its not something big but for me: IT IS. Cause i dont have high end pc nor a big hard drive.

A bat file is way better actually... Btw why would anyone play on molten wow rofl
Nuriloria wrote:DK damage is LOW

skyL wrote:UnhDk are one of most hardest classes.

Audaciter wrote:most dpriests can handle a warrior alone for roughly 2 mins

argorok wrote:theres nothing wrong about warrior dmg

Brainac wrote:we do play at peak times often [...] those remaining good teams are just queue dodging us
User avatar
 
Posts: 1637
Joined: 26 Jun 2012, 22:51
 

Re: Requesting AutoHotKey Script.

Postby gza » 07 Apr 2014, 18:21

Lawz wrote:A bat file is way better actually... Btw why would anyone play on molten wow rofl


Everyone with his own madness. To be honest i play on Molten right now due to gear changes. Same crap (in my view i mean) as gear goes on both servers. This is to answer to your question but i dont think you asked expecting for any answer.

I want to ask about the bat file. You know how to do a bat file wich edits realmlist.wtf and starts game ?
User avatar
 
Posts: 205
Joined: 27 Jun 2012, 08:59
Location: Romania
 

Re: Requesting AutoHotKey Script.

Postby ASfgeaj » 08 Apr 2014, 17:08

Erpforlife wrote:I found a better code, tested this at dummy for 15mins without a single malfunction, sharing it here. Also fixed another problem with modifiers not getting released.
#NoEnv
#ifWinActive World of Warcraft
#MaxHotkeysPerInterval 100000000
~NumLock::Suspend, Toggle
~Enter::Suspend, Toggle
; Disable alt-tab, windows key
!Tab::
LWin::
RWin::
  return
{
$1::
$!1::
$+1::
$^1::
    Loop
    {
      if not GetKeyState("1", "P")
        break
      if GetKeyState("LAlt", "P")
        Send !1
      else if GetKeyState("LShift", "P")
        Send +1
      else if GetKeyState("LCtrl", "P")
        Send ^1
      else
        Send 1
      Sleep 1
    }
return
}
{
$2::
$!2::
$+2::
$^2::
    Loop
    {
      if not GetKeyState("2", "P")
        break
      if GetKeyState("LAlt", "P")
        Send !2
      else if GetKeyState("LShift", "P")
        Send +2
      else if GetKeyState("LCtrl", "P")
        Send ^2
      else
        Send 2
      Sleep 1
    }
return
}
{
$3::
$!3::
$+3::
$^3::
    Loop
    {
      if not GetKeyState("3", "P")
        break
      if GetKeyState("LAlt", "P")
        Send !3
      else if GetKeyState("LShift", "P")
        Send +3
      else if GetKeyState("LCtrl", "P")
        Send ^3
      else
        Send 3
      Sleep 1
    }
return
}
{
$4::
$!4::
$+4::
$^4::
    Loop
    {
      if not GetKeyState("4", "P")
        break
      if GetKeyState("LAlt", "P")
        Send !4
      else if GetKeyState("LShift", "P")
        Send +4
      else if GetKeyState("LCtrl", "P")
        Send ^4
      else
        Send 4
      Sleep 1
    }
return
}
{
$5::
$!5::
$+5::
$^5::
    Loop
    {
      if not GetKeyState("5", "P")
        break
      if GetKeyState("LAlt", "P")
        Send !5
      else if GetKeyState("LShift", "P")
        Send +5
      else if GetKeyState("LCtrl", "P")
        Send ^5
      else
        Send 5
      Sleep 1
    }
return
}
{
$6::
$!6::
$+6::
$^6::
    Loop
    {
      if not GetKeyState("6", "P")
        break
      if GetKeyState("LAlt", "P")
        Send !6
      else if GetKeyState("LShift", "P")
        Send +6
      else if GetKeyState("LCtrl", "P")
        Send ^6
      else
        Send 6
      Sleep 1
    }
return
}
{
$q::
$!q::
$+q::
$^q::
    Loop
    {
      if not GetKeyState("q", "P")
        break
      if GetKeyState("LAlt", "P")
        Send !q
      else if GetKeyState("LShift", "P")
        Send +q
      else if GetKeyState("LCtrl", "P")
        Send ^q
      else
        Send q
      Sleep 1
    }
return
}
{
$e::
$!e::
$+e::
$^e::
    Loop
    {
      if not GetKeyState("e", "P")
        break
      if GetKeyState("LAlt", "P")
        Send !e
      else if GetKeyState("LShift", "P")
        Send +e
      else if GetKeyState("LCtrl", "P")
        Send ^e
      else
        Send e
      Sleep 1
    }
return
}
{
$r::
$!r::
$+r::
$^r::
    Loop
    {
      if not GetKeyState("r", "P")
        break
      if GetKeyState("LAlt", "P")
        Send !r
      else if GetKeyState("LShift", "P")
        Send +r
      else if GetKeyState("LCtrl", "P")
        Send ^r
      else
        Send r
      Sleep 1
    }
return
}
{
$t::
$!t::
$+t::
$^t::
    Loop
    {
      if not GetKeyState("t", "P")
        break
      if GetKeyState("LAlt", "P")
        Send !t
      else if GetKeyState("LShift", "P")
        Send +t
      else if GetKeyState("LCtrl", "P")
        Send ^t
      else
        Send t
      Sleep 1
    }
return
}
{
$y::
$!y::
$+y::
$^y::
    Loop
    {
      if not GetKeyState("y", "P")
        break
      if GetKeyState("LAlt", "P")
        Send !y
      else if GetKeyState("LShift", "P")
        Send +y
      else if GetKeyState("LCtrl", "P")
        Send ^y
      else
        Send y
      Sleep 1
    }
return
}
{
$f::
$!f::
$+f::
$^f::
    Loop
    {
      if not GetKeyState("f", "P")
        break
      if GetKeyState("LAlt", "P")
        Send !f
      else if GetKeyState("LShift", "P")
        Send +f
      else if GetKeyState("LCtrl", "P")
        Send ^f
      else
        Send f
      Sleep 1
    }
return
}
{
$g::
$!g::
$+g::
$^g::
    Loop
    {
      if not GetKeyState("g", "P")
        break
      if GetKeyState("LAlt", "P")
        Send !g
      else if GetKeyState("LShift", "P")
        Send +g
      else if GetKeyState("LCtrl", "P")
        Send ^g
      else
        Send g
      Sleep 1
    }
return
}
{
$<::
$!<::
$+<::
$^<::
    Loop
    {
      if not GetKeyState("<", "P")
        break
      if GetKeyState("LAlt", "P")
        Send !<
      else if GetKeyState("LShift", "P")
        Send +<
      else if GetKeyState("LCtrl", "P")
        Send ^<
      else
        Send <
      Sleep 1
    }
return
}
{
$z::
$!z::
$+z::
$^z::
    Loop
    {
      if not GetKeyState("z", "P")
        break
      if GetKeyState("LAlt", "P")
        Send !z
      else if GetKeyState("LShift", "P")
        Send +z
      else if GetKeyState("LCtrl", "P")
        Send ^z
      else
        Send z
      Sleep 1
    }
return
}
{
$x::
$!x::
$+x::
$^x::
    Loop
    {
      if not GetKeyState("x", "P")
        break
      if GetKeyState("LAlt", "P")
        Send !x
      else if GetKeyState("LShift", "P")
        Send +x
      else if GetKeyState("LCtrl", "P")
        Send ^x
      else
        Send x
      Sleep 1
    }
return
}
{
$c::
$!c::
$+c::
$^c::
    Loop
    {
      if not GetKeyState("c", "P")
        break
      if GetKeyState("LAlt", "P")
        Send !c
      else if GetKeyState("LShift", "P")
        Send +c
      else if GetKeyState("LCtrl", "P")
        Send ^c
      else
        Send c
      Sleep 1
    }
return
}
{
$v::
$!v::
$+v::
$^v::
    Loop
    {
      if not GetKeyState("v", "P")
        break
      if GetKeyState("LAlt", "P")
        Send !v
      else if GetKeyState("LShift", "P")
        Send +v
      else if GetKeyState("LCtrl", "P")
        Send ^v
      else
        Send v
      Sleep 1
    }
return
}
{
$TAB::
$+TAB::
$^TAB::
    Loop
    {
      if not GetKeyState("TAB", "P")
        break
      if GetKeyState("LShift", "P")
        Send +{TAB}
      else if GetKeyState("LCtrl", "P")
        Send ^{TAB}
      else
        Send {TAB}
      Sleep 1
    }
return
}
{
$XButton1::
$!XButton1::
$+XButton1::
$^XButton1::
    Loop
    {
      if not GetKeyState("XButton1", "P")
        break
      if GetKeyState("LAlt", "P")
        Send !{XButton1}
      else if GetKeyState("LShift", "P")
        Send +{XButton1}
      else if GetKeyState("LCtrl", "P")
        Send ^{XButton1}
      else
        Send {XButton1}
      Sleep 1
    }
return
}
{
$XButton2::
$!XButton2::
$+XButton2::
$^XButton2::
    Loop
    {
      if not GetKeyState("XButton2", "P")
        break
      if GetKeyState("LAlt", "P")
        Send !{XButton2}
      else if GetKeyState("LShift", "P")
        Send +{XButton2}
      else if GetKeyState("LCtrl", "P")
        Send ^{XButton2}
      else
        Send {XButton2}
      Sleep 1
    }
return
}
{
$MButton::
$!MButton::
$+MButton::
$^MButton::
    Loop
    {
      if not GetKeyState("MButton", "P")
        break
      if GetKeyState("LAlt", "P")
        Send !{MButton}
      else if GetKeyState("LShift", "P")
        Send +{MButton}
      else if GetKeyState("LCtrl", "P")
        Send ^{MButton}
      else
        Send {MButton}
      Sleep 1
    }
return
}
{
$sc029::
$!sc029::
$+sc029::
$^sc029::
    Loop
    {
      if not GetKeyState("sc029", "P")
        break
      if GetKeyState("LAlt", "P")
        Send !{sc029}
      else if GetKeyState("LShift", "P")
        Send +{sc029}
      else if GetKeyState("LCtrl", "P")
        Send ^{sc029}
      else
        Send {sc029}
      Sleep 1
    }
return
}
{
$F1::
$!F1::
$+F1::
$^F1::
    Loop
    {
      if not GetKeyState("F1", "P")
        break
      if GetKeyState("LAlt", "P")
        Send !{F1}
      else if GetKeyState("LShift", "P")
        Send +{F1}
      else if GetKeyState("LCtrl", "P")
        Send ^{F1}
      else
        Send {F1}
      Sleep 1
    }
return
}
{
$F2::
$!F2::
$+F2::
$^F2::
    Loop
    {
      if not GetKeyState("F2", "P")
        break
      if GetKeyState("LAlt", "P")
        Send !{F2}
      else if GetKeyState("LShift", "P")
        Send +{F2}
      else if GetKeyState("LCtrl", "P")
        Send ^{F2}
      else
        Send {F2}
      Sleep 1
    }
return
}
{
$F3::
$!F3::
$+F3::
$^F3::
    Loop
    {
      if not GetKeyState("F3", "P")
        break
      if GetKeyState("LAlt", "P")
        Send !{F3}
      else if GetKeyState("LShift", "P")
        Send +{F3}
      else if GetKeyState("LCtrl", "P")
        Send ^{F3}
      else
        Send {F3}
      Sleep 1
    }
return
}
{
$F4::
$!F4::
$+F4::
$^F4::
    Loop
    {
      if not GetKeyState("F4", "P")
        break
      if GetKeyState("LAlt", "P")
        Send !{F4}
      else if GetKeyState("LShift", "P")
        Send +{F4}
      else if GetKeyState("LCtrl", "P")
        Send ^{F4}
      else
        Send {F4}
      Sleep 1
    }
return
}

This one includes 1-6qertyfg<zxcvTAB§F1-F4MiddleMouseMouse4Mouse5 all with modifiers, toggle with enter to write and numlock so you can alt tab out from WoW.
To add buttons with minor effort just copy a button and press ctrl+H in notepad to replace the code for each button.


Nice script, but it sux if you target using tab, since it keeps rotating through the targets.
User avatar
 
Posts: 17
Joined: 18 Dec 2013, 09:24
 

Re: Requesting AutoHotKey Script.

Postby Orlandish » 08 Apr 2014, 23:20

nabs
User avatar
 
Posts: 245
Joined: 09 Mar 2013, 12:58
Location: Applicant
 

Re: Requesting AutoHotKey Script.

Postby Erection » 10 Apr 2014, 11:10

Embersky wrote:CallFunction(#GoFuckYourself, Idiot$ [,Parameter1 [, Parameter2...]])

That should help AHK users.

didn't work watafak
User avatar
 
Posts: 15
Joined: 10 Apr 2014, 11:08
 

Re: Requesting AutoHotKey Script.

Postby Mikie » 11 Apr 2014, 23:09

This topic gave me cancer. Beastcleave player LF scripts
User avatar
 
Posts: 328
Joined: 02 Feb 2013, 10:34
 

Re: Requesting AutoHotKey Script.

Postby Deicidium » 12 Apr 2014, 14:37

Good script. I also think having to mash an ability at the end of your globals is quite ineloquent and pointless. Blizzard should have indeed allowed ability holding.
User avatar
 
Posts: 235
Joined: 18 Nov 2012, 20:13
 

Re: Requesting AutoHotKey Script.

Postby Juso » 13 Apr 2014, 16:40

For some reason keys 1-6 doesnt work like the others. Any idea what should I do ?
User avatar
 
Posts: 384
Joined: 11 Aug 2012, 12:45
 

Re: Requesting AutoHotKey Script.

Postby Erpforlife » 13 Apr 2014, 18:26

Juso wrote:For some reason keys 1-6 doesnt work like the others. Any idea what should I do ?

Doesn't work like the others? not sure what you mean by that..
If it's some special keys, try this: http://www.autohotkey.com/docs/commands/KeyHistory.htm, it should display the name of the keys you press.
User avatar
 
Posts: 304
Joined: 26 Jun 2013, 07:49
 

Re: Requesting AutoHotKey Script.

Postby Shyn » 14 Apr 2014, 15:43

if i use the right number under the block number ( end, down arrow, Page down,), how should I write it on auto hot key?
i have a naga and I would write in my auto hot key program 12 numbers pad
User avatar
 
Posts: 10
Joined: 21 Jul 2012, 07:07
 

Re: Requesting AutoHotKey Script.

Postby Kavax » 15 Apr 2014, 18:03

Mikie wrote:This topic gave me cancer.
Mnemosyn wrote:Have you ever tried to shave your pubes into a swastika
User avatar
 
Posts: 827
Joined: 06 Mar 2013, 21:28
 

Re: Requesting AutoHotKey Script.

Postby Shadoko » 15 Apr 2014, 22:25

Kavax wrote:
Mikie wrote:This topic gave me cancer.
Musqi wrote:I will give you advice on future
Do not insult other people who have succeeded more than you, if you a piece of shit fat.
User avatar
 
Posts: 802
Joined: 13 May 2013, 22:11
 

Return to Macros

Who is online

Users browsing this forum: No registered users and 3 guests