Post Your Zerg AutoHotKey Scripts Here Please

verbz00

Member
Sorry I hadn't been on this site in about 6 months, came back and noticed alot of things were lost. Was looking forward to checking some of my old post and new ones in all the Script threads we had. Would appreciate it if we could share what we had.
 

gtr428

Member
something like that, but u must edit for you. It works for me prettty well.


#NoEnv
hatchX := ( A_ScreenWidth / 2 )
hatchY := ( A_ScreenHeight / 2 ) - ( 0.04 * A_ScreenHeight )
SetDefaultMouseSpeed, 0
SetKeyDelay, -1

Numlock::suspend ; Edit hotkey for pause/resume auto-injecting

Capslock:: ; Edit hotkey for auto-injecting

Send {backspace}
{
ControlSend, , {F1,F2,F3,F4,F5,F6,F7},StarCraft II

Sleep, 50
}
{
SetBatchLines, -1
SetKeyDelay, -1
SetMouseDelay, 1
SetDefaultMouseSpeed, 0

MouseClickDrag, Left, 640, 200, 1347, 714, 0,
sendinput, {v}


}
{
SetBatchLines, -1
SetKeyDelay, -1
ControlSend, , {v}, StarCraft II
Send {Shift down}
Mouseclick, left, %hatchX%, %hatchY%

Send {Shift up}
}
Sleep, 45
SendInput, {1}
return
 

Darious4

Member
Hey nice to see this site breathing some life again!

Here was my script that I posted on the old forum, still use it, I'll post some more ahk scripts this week hopefully. If anyone has a Logitech mouse, I made a LUA script that's really efficient in game as well

Code:
hatchX := ( A_ScreenWidth / 2 )
hatchY := ( A_ScreenHeight / 2 ) - ( 0.04 * A_ScreenHeight )


; Queen Injector


#NoEnv
#KeyHistory 0
ListLines Off
Process, Priority, , A
SetBatchLines, -1
SetKeyDelay, -1, -1
SetMouseDelay, 1
SetDefaultMouseSpeed, 0

Numlock::suspend


Capslock::

Process, Priority, , A
SetBatchLines, -1
SetKeyDelay, -1, -1
SetMouseDelay, 1
SetDefaultMouseSpeed, 0




CoordMode, Mouse, Screen



MouseGetPos, x1, y1

Sendinput {backspace}
{
SendInput, {Tab}

}
   {

SetBatchLines, -1

MouseClickDrag, Left, 640, 200, 1347, 714, 0,
ControlClick , x500 y900 StarCraft II,, LEFT,, NA,

}

{
SetKeyDelay, -1


Sendinput, {x}

Sendinput {Shift down}
Mouseclick, left, %hatchX%, %hatchY%
Sendinput {Shift up}
MouseClick, left, %x1%,%y1%


Sleep, -1
Sendinput, {1}
Sendinput, {q}
   }
return
 

verbz00

Member
Wow thx for the replays, some good stuff. Was wondering if anyone figured out a good Creep Spread script or an Add Larva to Control Group script? I remember reading something a while back about how you could center the mouse over the first larva when making a round of units (roaches for example) that would shift click and add them to any control group. Not sure if it was ever made though. I spent weeks trying to get mine working to no avail.
 
#NoEnv
hatchX: = (A_ScreenWidth / 2)
hatchY: = (A_ScreenHeight / 2) - (0.04 * A_ScreenHeight)
SetDefaultMouseSpeed, 0
SetKeyDelay, -1

Numlock :: suspender; Editar teclas de acceso rápido para pausar / reanudar la autoinyección

Bloq Mayús:: ; Editar teclas de acceso rápido para autoinyección

Enviar {retroceso}
{
ControlSend,, {F1, F2, F3, F4, F5, F6, F7}, StarCraft II

Dormir, 50
}
{
SetBatchLines, -1
SetKeyDelay, -1
SetMouseDelay, 1
SetDefaultMouseSpeed, 0

MouseClickDrag, izquierda, 640, 200, 1347, 714, 0,
sendinput, {v}


}
{
SetBatchLines, -1
SetKeyDelay, -1
ControlSend,, {v}, StarCraft II
Enviar {Shift down}
Clic del mouse, izquierda,% hatchX%,% hatchY%

Enviar {Shift up}
}
Dormir, 45
SendInput, {1}
regreso
algo así, pero debes editarlo por ti. A mí me funciona bastante bien.

UNAGO BUENAS NOCHES ME PUEDES AYUDAR A CONFIGURARLO YA QUE ME MANDA ERROR NO SE MUCHO DEL TEMA PERO TENGO CONOCIMIENTO DE PROGRAMADOR PERO ANDO ALGO PERDIDO ME AYUDAS POR FAVOR.[/QUOTE]
 

Kspade

Global Moderator
Hola buenas noches no se mucho del tema pero me ayudan de como puedo ejecutar el scrip
algo así, pero debes editarlo por ti. A mí me funciona bastante bien.

UNAGO BUENAS NOCHES ME PUEDES AYUDAR A CONFIGURARLO YA QUE ME MANDA ERROR NO SE MUCHO DEL TEMA PERO TENGO CONOCIMIENTO DE PROGRAMADOR PERO ANDO ALGO PERDIDO ME AYUDAS POR FAVOR.
For the future, please use Google Translate.
 
Top