Search found 590 matches

by Yakshongas
07 Aug 2020, 08:54
Forum: Gaming
Topic: Im new to scripts and need help
Replies: 2
Views: 957

Re: Im new to scripts and need help

Code: Select all

#MaxThreadsPerHotkey, 2

LShift::
Toggle := !Toggle
While, (Toggle = 1)
{
    Send, e
}
Return
by Yakshongas
07 Aug 2020, 08:52
Forum: Ask For Help
Topic: How to open programs cross dics
Replies: 1
Views: 726

Re: How to open programs cross dics

Something like this?

Code: Select all

Gui, SearchAndOpen:New
FileSelectFolder, Folders
Gui, SearchAndOpen:Add, ListView, W500 R10, FileName
    Loop, %Folders%\*.*
    {
        LV_Add("", A_LoopFileName)
    }
    LV_ModifyCol()
Gui, SearchAndOpen:Show
Return
by Yakshongas
07 Aug 2020, 08:38
Forum: Gaming
Topic: How to make an auto-clicker?
Replies: 2
Views: 965

Re: How to make an auto-clicker?

This should work, but for some games you might have to include at the top of the script SetKeyDelay, 50, 50 or even run the script as admin (right click the script file and run as admin). #MaxThreadsPerHotkey, 2 F:: Toggle := !Toggle While, (Toggle = 1) { Send, {Space} Sleep, 1000 } Return
by Yakshongas
07 Aug 2020, 08:33
Forum: Gaming
Topic: Clicking on the space bar several times
Replies: 2
Views: 1006

Re: Clicking on the space bar several times

Maybe with this? It uses a HotString instead of a HotKey.

Code: Select all

:X*:,::Send, {Space 4}
by Yakshongas
07 Aug 2020, 08:31
Forum: Gaming
Topic: simple macro well not so simple for me
Replies: 2
Views: 1147

Re: simple macro well not so simple for me

The script activates withF1 also stops with the same key.

Code: Select all

#MaxThreadsPerHotkey, 2
Toggle := 0

F1::
Toggle := !Toggle
While, (Toggle = 1)
{
    Send, {Left Down}
    Sleep, 240000 ;4 Min
    Send, {Left Up}{Down 16}
}
Return
by Yakshongas
07 Aug 2020, 08:27
Forum: Gaming
Topic: a script that spams 1 2 and 3
Replies: 2
Views: 985

Re: a script that spams 1 2 and 3

Is better if you use the While-Loop, like this:

Code: Select all

#MaxThreadsPerHotkey, 2
SetKeyDelay, 50, 50
Toggle := 0
P::
Toggle := !Toggle
While, (Toggle = 1)
{
    Send, 123
}
Return
by Yakshongas
06 Aug 2020, 06:09
Forum: Gaming
Topic: GTA SA (SA:MP) ANTI-AFK SCRIPT Topic is solved
Replies: 20
Views: 7580

Re: GTA SA (SA:MP) ANTI-AFK SCRIPT Topic is solved

The topic took like a year and a half to be solved lmao.
by Yakshongas
04 Aug 2020, 04:19
Forum: Gaming
Topic: GTA SA (SA:MP) ANTI-AFK SCRIPT Topic is solved
Replies: 20
Views: 7580

Re: GTA SA (SA:MP) ANTI-AFK SCRIPT Topic is solved

Then change LControl to LWin
by Yakshongas
01 Aug 2020, 07:48
Forum: Gaming
Topic: GTA SA (SA:MP) ANTI-AFK SCRIPT Topic is solved
Replies: 20
Views: 7580

Re: GTA SA (SA:MP) ANTI-AFK SCRIPT Topic is solved

Of course! like this:

Code: Select all

{LControl Down}d{LControl Up}
by Yakshongas
31 Jul 2020, 12:32
Forum: Ask For Help
Topic: Mouse Pointer
Replies: 1
Views: 708

Re: Mouse Pointer

by Yakshongas
29 Jul 2020, 13:56
Forum: Gaming
Topic: GTA SA (SA:MP) ANTI-AFK SCRIPT Topic is solved
Replies: 20
Views: 7580

Re: GTA SA (SA:MP) ANTI-AFK SCRIPT Topic is solved

Like this?

Code: Select all

#MaxThreadsPerHotkey, 2
SetKeyDelay, 50, 50
Toggle := 0

Insert::
Toggle := !Toggle
While (Toggle = 1)
{
    WinActivate, Ahk_exe gta_sa.exe
    Sleep, 2000 ;Adjust if needed
    Send, {Esc}t/id{Enter}
    Send, {Esc}{LAlt Down}{Tab}{LAlt Up}
    Sleep, 15000
}
by Yakshongas
29 Jul 2020, 06:39
Forum: Gaming
Topic: GTA SA (SA:MP) ANTI-AFK SCRIPT Topic is solved
Replies: 20
Views: 7580

Re: GTA SA (SA:MP) ANTI-AFK SCRIPT Topic is solved

Then add under #MaxThreadsPerHotkey, 2, SetKeyDelay, 50, 50
by Yakshongas
29 Jul 2020, 06:34
Forum: Gaming
Topic: if statements don't execute. ever
Replies: 1
Views: 1075

Re: if statements don't execute. ever

Try with this one:

Code: Select all

Inv := [1,2,3]
Num := 0

$RButton::SendInput, % "{RButton}" Inv[++Num > 3 ? Num := 1 : Num]
by Yakshongas
28 Jul 2020, 15:37
Forum: Gaming
Topic: GTA SA (SA:MP) ANTI-AFK SCRIPT Topic is solved
Replies: 20
Views: 7580

Re: GTA SA (SA:MP) ANTI-AFK SCRIPT Topic is solved

Start the script with the game unpaused to test.

Code: Select all

#MaxThreadsPerHotkey, 2
Toggle := 0

Insert::
Toggle := !Toggle
Send, {Esc}
While (Toggle = 1)
{
    Send, {Esc}t /id{Enter}{Esc}{AltTab}
    Sleep, 540000 ;9 Min
}
Return
by Yakshongas
28 Jul 2020, 15:25
Forum: Gaming
Topic: Key spammer that can be paused.
Replies: 4
Views: 1559

Re: Key spammer that can be paused.

Maybe like this? Added a bit more of delay and more press duration for the keys to register properly.

Code: Select all

#MaxThreadsPerHotkey, 2
SetKeyDelay, 50, 50

$P::
Toggle := !Toggle
While (Toggle = 1)
{
    Send, p
}
Return
by Yakshongas
28 Jul 2020, 15:22
Forum: Ask For Help
Topic: Newbie help with simple script (at least i think it is simple)
Replies: 5
Views: 1400

Re: Newbie help with simple script (at least i think it is simple)

Maybe a bit to complex but does the job. LeTT1 := [2,3,"D", "E", "W"] LeTT2 := ["A", "S"] *$w:: Num := 0 Loop, 5 { Send, % Lett1[++Num > 5 ? Num := 0 : Num] Sleep, Rand(1, 70) } Return *$a:: Num := 0 Loop, 2 { Send, % LeTT2[++Num > 2 ? Num := 0 : Num] Sleep, Rand(1, 70) } Return Rand(Min, Max) { Ran...
by Yakshongas
28 Jul 2020, 14:22
Forum: Gaming
Topic: Key spammer that can be paused.
Replies: 4
Views: 1559

Re: Key spammer that can be paused.

Or:

Code: Select all

#MaxThreadsPerHotkey, 2

$P::
Toggle := !Toggle
While (Toggle = 1)
{
    Send, p
    Sleep, 10
}
Return
by Yakshongas
26 Jul 2020, 10:07
Forum: Gaming
Topic: Pls help me
Replies: 1
Views: 717

Re: Pls help me

Code: Select all

$F1::Send, {Click, Right}{F1}{Click, Left}{Click, Right}
by Yakshongas
26 Jul 2020, 10:04
Forum: Automatización de Juegos
Topic: macro para juego Topic is solved
Replies: 2
Views: 1054

Re: macro para juego Topic is solved

Code: Select all

#MaxThreadsPerHotkey, 2
Toggle := 0

¡::
Toggle := !Toggle
While, (Toggle = 1)
{
    SendInput, 1
    SetTimer, Nums, 10
    Sleep, 5050
    SetTimer, Nums, Off
}
Return

Nums:
Send, 234
Return
by Yakshongas
26 Jul 2020, 09:58
Forum: Gaming
Topic: Scrolling Macro Help
Replies: 1
Views: 520

Re: Scrolling Macro Help

Code: Select all

#MaxThreadsPerHotkey, 2
Toggle := 0

^{::
Toggle := !Toggle
While (Toggle = 1)
{
    Send, {WheelDown}
    Sleep, 100
}
Return

Go to advanced search