Search found 585 matches

by Yakshongas
Today, 13:02
Forum: Gaming
Topic: Please need a code for CPS
Replies: 1
Views: 24

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
Today, 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: 56

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
Today, 11:17
Forum: Ask For Help
Topic: Loop Click and Paste Script
Replies: 3
Views: 29

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
Today, 10:03
Forum: Ask For Help
Topic: Loop Click and Paste Script
Replies: 3
Views: 29

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
Today, 09:58
Forum: Gaming
Topic: AHK Script starts to lag
Replies: 1
Views: 24

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
Today, 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: 56

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
Yesterday, 10:36
Forum: Gaming
Topic: Please help
Replies: 8
Views: 182

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: 8
Views: 182

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: 24

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: 8
Views: 182

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: 57

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: 73

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: 79

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: 60

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...
by Yakshongas
20 Sep 2020, 16:57
Forum: Gaming
Topic: Please help
Replies: 8
Views: 182

Re: Please help

Use this code:

Code: Select all

;SetMouseDelay, -1, -1

$LButton::
While, GetKeyState("LButton", "P")
{
    Click
}
Return
Also, if you want to make it crazy fast remove the semicolon from the first line and you will get this result in your clicking speed.
NewCanvas1.png
NewCanvas1.png (77.59 KiB) Viewed 173 times
by Yakshongas
19 Sep 2020, 17:15
Forum: Ask For Help
Topic: Why this Progress bar doesn't move? Topic is solved
Replies: 5
Views: 57

Re: Why this Progress bar doesn't move? Topic is solved

Tanks gregster, the script is just to use as screensaver, that way if people see the computer has an error and it's repairing itself they don't mess with it.
by Yakshongas
19 Sep 2020, 16:38
Forum: Ask For Help
Topic: Why this Progress bar doesn't move? Topic is solved
Replies: 5
Views: 57

Re: Why this Progress bar doesn't move? Topic is solved

Thank you both @gregster and @AHKStudent, also gregster, sorry for my mistake, I edited the code to show only the essential
by Yakshongas
19 Sep 2020, 16:10
Forum: Ask For Help
Topic: Why this Progress bar doesn't move? Topic is solved
Replies: 5
Views: 57

Why this Progress bar doesn't move? Topic is solved

I've made a fake old BSOD screen with a progress bar in the bottom that should advance by 1% every 1.5 Sec, but for some reason it doesn't move!!! Where is the problem? Width := 450 Gui, Bsod:New, -Caption +LastFound -Border +AlwaysOnTop Gui, Bsod:Font, S20 CFFFFFF, Consolas Gui, Bsod:Add, Progress,...
by Yakshongas
18 Sep 2020, 18:51
Forum: Ask For Help
Topic: Press key at exactly 20:00
Replies: 8
Views: 197

Re: Press key at exactly 20:00

Check once every 35 sec to see if the hour is the indicated, and if it is sends the Enter key, if it's not wait another 35 sec, also has a low CPU use (0%) and low Ram use (Less than 3Mb) Loop { If (A_Hour == 20) && (A_Min == 00) { Send, {Space} Return ;If you want to keep the script running after s...

Go to advanced search