Search found 167 matches

by Dumitas
02 Oct 2019, 13:05
Forum: Gaming Help (v1)
Topic: Snake
Replies: 4
Views: 1123

Re: Snake

snakebeater123 Let's assume you move the snake to with W A S D (you need to create your own times too) This how you should start: Send // Sleep // Loop Send, {w} ;Send key up Sleep, 1000 ;Wait until send another key (Now you are in top of the field) Send, {d} ;Send key to the right Sleep, 1000 ;Now...
by Dumitas
02 Oct 2019, 12:44
Forum: Gaming Help (v1)
Topic: auto walk macro in specific game Topic is solved
Replies: 1
Views: 2554

Re: auto walk macro in specific game Topic is solved

@Teletha Try this:
IfWinActive

Code: Select all

#NoEnv
SendMode Input
#IfWinActive, GameNameHere ;replace with the windows name/game name.
#MaxThreadsPerHotkey 2
F1::
Toggle := !Toggle
If Toggle
	Send {w Down}
else
	Send {w Up}
return
In this case, press F1 to start / stop (toggle) the script.
by Dumitas
01 Oct 2019, 15:58
Forum: Gaming Help (v1)
Topic: Repeadetly jump when button is hold Topic is solved
Replies: 2
Views: 989

Re: Repeadetly jump when button is hold Topic is solved

This script send space bar while you hold it, you can change the hotkey on the first line and then on GetKeyState

Code: Select all

$Space:: ;Use space as the hotkey
While (GetKeyState("Space","P"))
{
	Send {Space down}
	Sleep 50
	Send {Space up}
	Sleep 50
}
Return
by Dumitas
27 Sep 2019, 17:23
Forum: Ask for Help (v1)
Topic: Put a % before and after a text when I press a keyshortcut
Replies: 3
Views: 702

Re: Put a % before and after a text when I press a keyshortcut

Hi, Thank you very much. It's working but when I have already something in the ClipBoard, sometimes it's doesn't work .... Do you have an idea ? Best regards, Francesco No idea but you can start the script by empty your clipboard like this: x:: clipboard := "" ; Empty the clipboard. YourText := cli...
by Dumitas
26 Sep 2019, 00:08
Forum: Ask for Help (v1)
Topic: script request Topic is solved
Replies: 3
Views: 872

Re: script request Topic is solved

This should do:

Code: Select all

Tab::
Send, {2}
Sleep, 100 ;100ms = 0.1 seconds
Send, {1}
Sleep, 100
Send, {2}
Sleep, 100
Send, {1}
Sleep, 100
Send, {2}
Sleep, 100
Send, {1}
Sleep, 100
Send, {2}
Sleep, 100
Send, {1}
Sleep, 100
return
by Dumitas
25 Sep 2019, 10:10
Forum: Ask for Help (v1)
Topic: Put a % before and after a text when I press a keyshortcut
Replies: 3
Views: 702

Re: Put a % before and after a text when I press a keyshortcut

StringReplace Select text and press x to replace the text (you can change your hotkey) x:: YourText := clipboard Send ^c StringReplace, clipboard, clipboard, %a_space%, `% , All send ^v clipboard := YourText return You can replace Send ^c with Send ^a^c it will select all text and replace a_space E...
by Dumitas
20 Sep 2019, 15:24
Forum: Gaming Help (v1)
Topic: Loop wont stop
Replies: 1
Views: 1306

Re: Loop wont stop

The first problem that you have is that you're not sending the key Up you're only sending it Down with a sleep that has no use since its always sending it down until you stop the loop. The first solution for that is the next one: Sendinput {LButton Down} Sleep, 200 Sendinput {LButton Up} Then you ha...
by Dumitas
18 Sep 2019, 15:48
Forum: Ask for Help (v1)
Topic: Add a GUI Edit box and associate it with my script file
Replies: 3
Views: 791

Re: Add a GUI Edit box and associate it with my script file

In that case, you don't even need to store then read, with a simple Submit you can get the number and use it as you want. Like this for example with different uses and errors (invalid number or negative) Gui, New Gui, Add, Edit, vPONumber Gui, Add, Button, gOK, OK Gui, Show return OK: Gui, Submit re...
by Dumitas
17 Sep 2019, 21:09
Forum: Ask for Help (v1)
Topic: Add a GUI Edit box and associate it with my script file
Replies: 3
Views: 791

Re: Add a GUI Edit box and associate it with my script file

For that you need to use IniWrite for example like this: file = %A_ScriptDir%\YourNumber.ini Gui, New Gui, Add, Text,, Test Script Gui, Add, Edit, vYourNumber Gui, Add, Button, gAccept, Accept Gui, Show return Accept: Gui, Submit IniWrite, %YourNumber%, %file%, Stored return Then you call that varia...
by Dumitas
17 Sep 2019, 21:02
Forum: Ask for Help (v1)
Topic: Specific URL Refresh
Replies: 3
Views: 1886

Re: Specific URL Refresh

Try this:

Code: Select all

ControlSend, Chrome_RenderWidgetHostHWND1, {F5}, Google - Google Chrome

#ControlSend
by Dumitas
17 Sep 2019, 18:12
Forum: Gaming Help (v1)
Topic: Need help with a "Spam while NumLock on" script. am total n00b with scripting. Topic is solved
Replies: 2
Views: 801

Re: Need help with a "Spam while NumLock on" script. am total n00b with scripting. Topic is solved

Try this, not tested with IfWinActive because I don't have that game. And you don't need that many directives on a script that simple, but that's up to you. #IfWinActive, Warframe ;Only works when Warframe windows is active ~Numlock:: ;Use Numlock without blocking it While, GetKeyState("NumLock", "T...
by Dumitas
13 Sep 2019, 18:03
Forum: Gaming Help (v1)
Topic: Remap mouse button to key without delay
Replies: 2
Views: 1036

Re: NEED HELP REMAPPING MOUSE BUTTON TO KEYBOARD BUTTON WITH NO DELAY

Avoid all caps on the title, you will get an answer regardless of that if such thing is possible. # Remap # Key I don't understand, in the title, you state that you don't want a delay but then you complain that you don't get delays. If you need to remap a Mouse Button to a keyboard key is that simpl...
by Dumitas
08 Sep 2019, 15:32
Forum: Gaming Help (v1)
Topic: Broadcasting the hold down command to multiple windows.
Replies: 5
Views: 1529

Re: Broadcasting the hold down command to multiple windows.

KeyWait

Code: Select all

~w:: 
KeyWait, w, D 
{
ControlSend,, {w}, ahk_id %skid1% 
ControlSend,, {w}, ahk_id %skid2%
ControlSend,, {w}, ahk_id %skid3% 
ControlSend,, {w}, ahk_id %skid4%
Return 
}
by Dumitas
08 Sep 2019, 13:26
Forum: Gaming Help (v1)
Topic: Loop with PixelGetColor problem
Replies: 3
Views: 2158

Re: Loop with PixelGetColor problem

This should do. f1:: loop { PixelGetColor, Color, 1769, 207 if Color = 0x575452 { send {a} ;Instead of a break try to add another sleep after this. } else { sleep, 1000 ;It's a loop it will continue/repeat after the sleep so there is no need for any other line. } } return
by Dumitas
07 Sep 2019, 12:03
Forum: Gaming Help (v1)
Topic: Random click in demarked area Topic is solved
Replies: 3
Views: 1752

Re: Random click in demarked area Topic is solved

Pixel, Image, Color searchs are all on visible windows.
by Dumitas
06 Sep 2019, 18:10
Forum: Gaming Help (v1)
Topic: Random click in demarked area Topic is solved
Replies: 3
Views: 1752

Re: Random click in demarked area Topic is solved

This should do, instead of using two loop use one, and maybe reduce the sleep time btw them. Loop { Random, xCoord, 100,1000 Random, yCoord, 300,768 MouseClick, right, %xCoord%, %yCoord% Sleep, 500 MouseClick, left, %xCoord%, %yCoord% Sleep, 500 } Return You don't need to specify for the right click...
by Dumitas
05 Sep 2019, 16:52
Forum: Ajuda e Suporte Geral
Topic: preciso criar um script para um jogo. Topic is solved
Replies: 11
Views: 5877

Re: preciso criar um script para um jogo. Topic is solved

@GaahFlash Muda Send {LButton}

Code: Select all

Send {LButton down}
Sleep 50
Send {LButton up}
by Dumitas
05 Sep 2019, 16:49
Forum: Gaming Help (v1)
Topic: Help with a Script/Ayuda con un Script
Replies: 2
Views: 691

Re: Help with a Script/Ayuda con un Script

You start/stop with "x" in this example, you can change for anything you want. #MaxThreadsPerHotkey 2 x:: Toggle := !Toggle loop { If not Toggle break Send F1 Sleep 50 Send F2 Sleep 50 Send F3 Sleep 300000 ; 5 min in ms } return Existe un subforo de ayuda en español por si queres pasarte por ahi, se...

Go to advanced search