Search found 15 matches

by BeerusIV
09 Feb 2021, 17:55
Forum: Ask for Help (v1)
Topic: Is there a way to use "checkpoints" in a block?
Replies: 1
Views: 128

Is there a way to use "checkpoints" in a block?

I was wondering.. I have this code ^t:: { MouseClick, Right, %x3%, %y1% ; FIRST SLOT Sleep, 300 MouseClick, Left, %x3%, %y1d% MsgBox,260, Misc Drop Helper, Wanna drop? IfMsgBox, Yes { MouseClick, Left, %regX%, %regY% Sleep 150 } else { a=1 } MouseClick, Right, %x4%, %y1% ; SECOND SLOT Sleep, 300 Mou...
by BeerusIV
08 Feb 2021, 17:57
Forum: Ask for Help (v1)
Topic: Seperating variables inside 'clipboard'? Topic is solved
Replies: 2
Views: 180

Re: Seperating variables inside 'clipboard'? Topic is solved

garry wrote:
08 Feb 2021, 16:50

Code: Select all

$F8::
{
	MouseGetPos, showx, showy
	clipboard= %showx%`, %showy%
	MsgBox, %clipboard%
	return
}
esc::exitapp
OR

Code: Select all

$F8::
{
	MouseGetPos, showx, showy
	clipboard:= showx . "," . showy
	MsgBox, %clipboard%
	return
}
esc::exitapp
Works great now, thanks!
by BeerusIV
08 Feb 2021, 17:54
Forum: Ask for Help (v1)
Topic: Break a loop once the window is inactive?
Replies: 1
Views: 124

Break a loop once the window is inactive?

I have a loop with a bunch of clicks in different coordinates Sometimes it messes up for some reason and clicks outside the window so it kicks me into the desktop and the script continues to go crazy until I manage to stop it What solutions do I have to this problem? I tried IfWinActive before enter...
by BeerusIV
08 Feb 2021, 16:44
Forum: Ask for Help (v1)
Topic: Seperating variables inside 'clipboard'? Topic is solved
Replies: 2
Views: 180

Seperating variables inside 'clipboard'? Topic is solved

I am trying to put the coordinates of the mouse inside the clipboard seperated by a comma

Code: Select all

NumpadAdd::
{
	MouseGetPos, showx, showy
	clipboard:= showx`, showy
	MsgBox, %clipboard%
	return
}
I'm not sure why it is not working, it is currently only showing me the X but not the Y.
by BeerusIV
07 Feb 2021, 09:32
Forum: Ask for Help (v1)
Topic: How do you toggle a loop?
Replies: 2
Views: 106

Re: How do you toggle a loop?

Hallo, try: MButton:: SetTimer, MTimer,% (MTimer:=!MTimer)?2700:"Off" IF !MTimer Return MTimer: MouseClick, Left, %stallCoordX%, %stallCoordY% IF (MTimer++ < 26) Return MTimer := False SetTimer, MTimer, Off leave2() Return Hey, thanks for the reply! I tried this, the script does what its intended t...
by BeerusIV
07 Feb 2021, 04:35
Forum: Ask for Help (v1)
Topic: Calibration tool for X and Y coordinates Topic is solved
Replies: 4
Views: 171

Re: Calibration tool for X and Y coordinates Topic is solved

Rohwedder wrote:
07 Feb 2021, 04:10
just a suggestion:

Code: Select all

;Variables
X1:=X2:=X3:=X4:=0
Y1:=Y2:=Y3:=Y4:=Y5:=Y6:=Y7:=0
Thanks a ton! done and noted!
I'm still new to AHK :)
by BeerusIV
07 Feb 2021, 03:51
Forum: Ask for Help (v1)
Topic: Calibration tool for X and Y coordinates Topic is solved
Replies: 4
Views: 171

Re: Calibration tool for X and Y coordinates Topic is solved

Hallo, try: #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. #SingleInstance,Force SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. ;Variables X1 = 0 ...
by BeerusIV
07 Feb 2021, 03:50
Forum: Ask for Help (v1)
Topic: How do you toggle a loop?
Replies: 2
Views: 106

How do you toggle a loop?

I have this script Loop { MouseClick, Left, %stallCoordX%, %stallCoordY% Sleep 2700 MouseClick, Left, %stallCoordX%, %stallCoordY% Sleep 2700 MouseClick, Left, %stallCoordX%, %stallCoordY% Sleep 2700 MouseClick, Left, %stallCoordX%, %stallCoordY% Sleep 2700 MouseClick, Left, %stallCoordX%, %stallCoo...
by BeerusIV
07 Feb 2021, 01:55
Forum: Ask for Help (v1)
Topic: Calibration tool for X and Y coordinates Topic is solved
Replies: 4
Views: 171

Calibration tool for X and Y coordinates Topic is solved

I have a 7X4 grid I want to calibrate with a function I want to point the mouse at each coordinate and calibrate using text and numbers choice I made this but for some reason when I reach the part where you have to input the number of the X, it still pushes into the ELSE and pops a "Incorrect X" mes...
by BeerusIV
28 Jan 2021, 09:24
Forum: Ask for Help (v1)
Topic: How can I increment a value outside of a function?
Replies: 1
Views: 344

How can I increment a value outside of a function?

I have the following

Code: Select all

i=0
Numpad0::
MyFunc()


MyFunc() {
global i:=+1
Send,{Text}Counting
Send,{Text}Round %i%
return
}
[Mod edit: [code][/code] tags added.]

I want it to count the amount of times I ran through the loop
but for some reason it doesn't work, I can't figure out why
by BeerusIV
24 Jan 2021, 18:30
Forum: Gaming Help (v1)
Topic: Quicker alternatives for Send ? ( Used for gaming ) Topic is solved
Replies: 5
Views: 597

Re: Quicker alternatives for Send ? ( Used for gaming ) Topic is solved

OK. Remember that Send will send only to the active window. In some cases, a window needs to be activated (WinActivate) or reactivated before Send can work. If the chat area is a particular control, then it is possible that the control needs to be activated or focused first (ControlFocus). I do not...
by BeerusIV
24 Jan 2021, 17:32
Forum: Gaming Help (v1)
Topic: Quicker alternatives for Send ? ( Used for gaming ) Topic is solved
Replies: 5
Views: 597

Re: Quicker alternatives for Send ? ( Used for gaming ) Topic is solved

Some ideas: SendMode Input Clipboard = Clipboard = I am pushing the enemy in 10 seconds, ready up and cover me please ClipWait If ErrorLevel MsgBox, 48, Error, An error occurred while waiting for the clipboard. Else Send ^v You can also eliminate the clipboard approach and just use SendInput as sho...
by BeerusIV
24 Jan 2021, 17:23
Forum: Gaming Help (v1)
Topic: Quicker alternatives for Send ? ( Used for gaming ) Topic is solved
Replies: 5
Views: 597

Quicker alternatives for Send ? ( Used for gaming ) Topic is solved

I am using this script for gaming ( Apex Legends if it matters ). I live with roommates so I am unable to use a microphone most of the time, for this reason I have made a huge script with keybindings for every single thing I could possibly say. Here is an example : Numpad0:: Send, {Enter} ; opens th...
by BeerusIV
24 Jan 2021, 15:46
Forum: Ask for Help (v1)
Topic: An old clipboard tool I can't find Topic is solved
Replies: 2
Views: 162

An old clipboard tool I can't find Topic is solved

Years ago I found here a clipboard tool which allows a simple function : using the numpad keys ( 10 slots ) to copy different clipboards I remember using alt+numpad# to copy a clipboard and then ctrl+numpad# to paste it I tried searching all over the forum but I only found different clipboard manage...

Go to advanced search