Search found 590 matches

by Yakshongas
05 Oct 2020, 15:27
Forum: Pedir Ayuda
Topic: Ayuda Para Crear Una Macro Por Favor Topic is solved
Replies: 1
Views: 177

Re: Ayuda Para Crear Una Macro Por Favor Topic is solved

Code: Select all

LButton::
    MouseMove, 0, -30, 0, R ; Ajustar el -30 a tus necesidades.
    Click
Return
by Yakshongas
05 Oct 2020, 15:23
Forum: Gaming
Topic: Help Making a script
Replies: 3
Views: 51

Re: Help Making a script

Code: Select all

F1::Send,
(
d:
cd \
cd emulators
cd mame
mameui64.exe roms\alien3.zip -skip_gameinfo
exit
)
by Yakshongas
02 Oct 2020, 06:46
Forum: Pedir Ayuda
Topic: Quiero que cuando le de el w sean 2, osea w y flecha arriba como hago Topic is solved
Replies: 1
Views: 160

Re: Quiero que cuando le de el w sean 2, osea w y flecha arriba como hago Topic is solved

Code: Select all

~w::Up
Si no es eso lo que necesitas dedica un poco más de tiempo a explicar mejor lo que necesitas.
by Yakshongas
02 Oct 2020, 06:21
Forum: Gaming
Topic: Spam E as FAST AS POSSIBLE Script
Replies: 1
Views: 96

Re: Spam E as FAST AS POSSIBLE Script

*This topic should be move to the Ask For Help section*

Code: Select all

#MaxThreadsPerHotkey, 2
SetBatchLines, -1
Toggle := 0

F1::
Toggle := !Toggle
While, (Toggle= 1)
{
    SendInput, e
}
Return
by Yakshongas
24 Sep 2020, 15:28
Forum: Ask For Help
Topic: Removing Characters and Replacing Numbers Topic is solved
Replies: 6
Views: 337

Re: Removing Characters and Replacing Numbers Topic is solved

Code: Select all

SSN := "123-45-6789"

^g::
Clipboard := StrReplace(Clipboard, " ", "")
Clipboard := StrReplace(Clipboard, "-", "")
Clipboard := RegExReplace(Clipboard, "\d{5}", "XXXXX")
Send, ^v
Return
by Yakshongas
23 Sep 2020, 13:02
Forum: Gaming
Topic: Please need a code for CPS
Replies: 1
Views: 59

Re: Please need a code for CPS

!x::Gosub, Func #If, (Toggle = 1) LButton::Click, 2 RButton::Click, Right, 2 #If Func: Toggle := !Toggle Switch Toggle { Case 1: Gui, InDc:New, -Caption +LastFound +AlwaysOnTop Gui, InDc:Color, 00FF00 Gui, InDc:Add, Text,, Double Cliking Enabled Gui, InDc:Show, X0 Y0 NA Sleep, 2000 Gui, InDc:Hide R...
by Yakshongas
23 Sep 2020, 12:58
Forum: Gaming
Topic: Need a code with alt+x to turn on and off. When I right-click or left-click it make them double clicks. Topic is solved
Replies: 3
Views: 92

Re: Need a code with alt+x to turn on and off. When I right-click or left-click it make them double clicks. Topic is solved

!x::Gosub, Func #If, (Toggle = 1) LButton::Click, 2 RButton::Click, Right, 2 #If Func: Toggle := !Toggle Switch Toggle { Case 1: Gui, InDc:New, -Caption +LastFound +AlwaysOnTop Gui, InDc:Color, 00FF00 Gui, InDc:Add, Text,, Double Cliking Enabled Gui, InDc:Show, X0 Y0 NA Sleep, 2000 Gui, InDc:Hide R...
by Yakshongas
23 Sep 2020, 11:17
Forum: Ask For Help
Topic: Loop Click and Paste Script
Replies: 3
Views: 41

Re: Loop Click and Paste Script

It clicks in the position your mouse pointer is, if you want it to also click every second move the Click command inside the While curly braces.
by Yakshongas
23 Sep 2020, 10:03
Forum: Ask For Help
Topic: Loop Click and Paste Script
Replies: 3
Views: 41

Re: Loop Click and Paste Script

Activates with F1

Code: Select all

F1::
Toggle := !Toggle
Click
While, (Toggle = 1)
{
    SendInput, {LControl down}v{LControl up}
    Sleep, 1000
}
Return
by Yakshongas
23 Sep 2020, 09:58
Forum: Gaming
Topic: AHK Script starts to lag
Replies: 1
Views: 82

Re: AHK Script starts to lag

Code: Select all

F2::Toggle := !Toggle


#If (Toggle = 1)
	LButton::
	    while (GetKeyState("Lbutton", "P")
        {
            Click 2
	    }
	return

	RButton::
    	While (GetKeyState("Rbutton", "P")
        {
            Click 2
        }
	return	
#If
by Yakshongas
23 Sep 2020, 07:20
Forum: Gaming
Topic: Need a code with alt+x to turn on and off. When I right-click or left-click it make them double clicks. Topic is solved
Replies: 3
Views: 92

Re: Need a code with alt+x to turn on and off. When I right-click or left-click it make them double clicks. Topic is solved

SetMouseDelay, -1 SetBatchLines, -1 !x::Gosub, Func #If, (Toggle = 1) ~$LButton::SendInput, {LButton} ~$RButton::SendInput, {RButton} #If Func: Toggle := !Toggle Switch Toggle { Case 1: Gui, InDc:New, -Caption +LastFound +AlwaysOnTop Gui, InDc:Color, 00FF00 Gui, InDc:Add, Text,, Double Cliking Enab...
by Yakshongas
22 Sep 2020, 10:36
Forum: Gaming
Topic: Please help
Replies: 10
Views: 241

Re: Please help

Code: Select all

Lbutton::
LButton & LControl::
LButton & LShift::
    Sleep, 3000
    While, GetKeyState("LButton", "P")
    {
        Click
    }
Return
by Yakshongas
21 Sep 2020, 19:05
Forum: Gaming
Topic: Please help
Replies: 10
Views: 241

Re: Please help

Change the sixth line with Click, Right
by Yakshongas
21 Sep 2020, 08:15
Forum: Ask For Help
Topic: button spam releases manually held keys? [SOLVED] Topic is solved
Replies: 1
Views: 29

Re: button spam releases manually held keys? Topic is solved

Code: Select all

SetKeyDelay, 50, 50

<^<!F4::
While, GetKeyState("LControl", "P") && GetKeyState("LAlt", "P") && GetKeyState("F4", "P")
{
    Send, xz
}
Return
by Yakshongas
21 Sep 2020, 07:51
Forum: Gaming
Topic: Please help
Replies: 10
Views: 241

Re: Please help

Like this the CPS is around 16.33

Code: Select all

SetMouseDelay, 30

$LButton::
While, GetKeyState("LButton", "P")
{
    Click
}
Return
by Yakshongas
20 Sep 2020, 17:39
Forum: Ajuda e Suporte Geral
Topic: Limpar variavel
Replies: 3
Views: 81

Re: Limpar variavel

Code: Select all

Variable := ""
; ou
Variable = 
by Yakshongas
20 Sep 2020, 17:23
Forum: Gaming
Topic: Please help me
Replies: 3
Views: 86

Re: Please help me

Code: Select all

LButton::
While, GetKeyState(A_ThisHotkey, "P")
{
    ;Commands to execute
}
Return
by Yakshongas
20 Sep 2020, 17:12
Forum: Gaming
Topic: Hotkey long or short for Play next, play previous
Replies: 3
Views: 100

Re: Hotkey long or short for Play next, play previous

NaCloridium wrote:
20 Sep 2020, 05:21
If F13 is pressed short (max. 50ms) it skips the track
If F13 is pressed long (more than 100ms) it plays the previous track
Easy with KeyWait

Code: Select all

F13::
KeyWait, % A_ThisHotKey, T0.5
If (Errorlevel = 1)
{
    Send, {Media_Next}
}
Else if (ErrorLevel = 0)
{
    Send, {Media_Prev}
}
Return
by Yakshongas
20 Sep 2020, 17:05
Forum: Ask For Help
Topic: Help me understand what the syntax of this code means
Replies: 2
Views: 71

Re: Help me understand what the syntax of this code means

I have no Idea what the syntax of this code is saying. ~]:: SetTimer RBracket,% (RBracket:=!RBracket)?12500:"Off" This is like an If/ else statement but in a single line that switches between the two options using a variable that switches between two states (True & False). An example here. F1::MsgB...

Go to advanced search