Search found 141 matches

by mast4rwang
11 Jan 2019, 09:34
Forum: Gaming
Topic: How to bind 1 key to perform 2 key functions
Replies: 7
Views: 481

Re: How to bind 1 key to perform 2 key functions

~*Space::w
return

~ symbol means the button retains its original function and sends your commands.
* symbol means you can press other buttons while pressing yours and it will still work.
by mast4rwang
09 Jan 2019, 17:40
Forum: Gaming
Topic: Creating macros for a game
Replies: 3
Views: 516

Re: Creating macros for a game

Ok, I created a working code: #NoEnv #MaxHotkeysPerInterval 99000000 #HotkeyInterval 99000000 #NoTrayIcon #Persistent #KeyHistory 0 ListLines Off Process, Priority, , A SetBatchLines, -1 SetKeyDelay, -1, -1 SetMouseDelay, -1 SetDefaultMouseSpeed, 0 SetWinDelay, -1 SetControlDelay, -1 SendMode Input ...
by mast4rwang
09 Jan 2019, 16:48
Forum: Gaming
Topic: Help with AHK and variables.
Replies: 4
Views: 402

Re: Help with AHK and variables.

I suggest logging all of your key presses and checking if string "/drugs" is detected. If so, check the next symbols you type until you press Enter and it copies them to produce your required string
by mast4rwang
09 Jan 2019, 16:33
Forum: Gaming
Topic: Spam key in a game and tab out
Replies: 1
Views: 225

Re: Spam key in a game and tab out

You are not forced to be in that program, here you go:

*esc::Process,Close,game.exe
by mast4rwang
09 Jan 2019, 16:32
Forum: Gaming
Topic: Left and right click key auto cycle
Replies: 17
Views: 1382

Re: Left and right click key auto cycle

Try to describe your idea clearly before asking. You didn't even include an example
by mast4rwang
09 Jan 2019, 03:04
Forum: Gaming
Topic: Dragon ball fighter Z shortcuts script
Replies: 1
Views: 235

Re: Dragon ball fighter Z shortcuts script

how much in appreciation? Send me a PM
by mast4rwang
09 Jan 2019, 02:55
Forum: Gaming
Topic: Help with this script to spam abilities
Replies: 2
Views: 271

Re: Help with this script to spam abilities

This made me laugh... Your code reminds me of my first attempt to create a script without knowing what functions/methods are :D
by mast4rwang
04 Jan 2019, 16:59
Forum: Gaming
Topic: Double key press
Replies: 2
Views: 370

Re: Double key press

send,{key down}
sleep,xx (milliseconds)
send,{key up}

read about these
by mast4rwang
04 Jan 2019, 16:55
Forum: Gaming
Topic: Need help writing script
Replies: 1
Views: 273

Re: Need help writing script

google OCR
by mast4rwang
04 Jan 2019, 16:15
Forum: Ask For Help
Topic: stop a persistent script
Replies: 2
Views: 219

Re: stop a persistent script

there is a bind for that, do it like this:

~Esc::
Suspend,Off
ExitApp
Return

You can also break loops with Break command: combine it with a condition to break loop at the time you need it.
by mast4rwang
04 Jan 2019, 03:23
Forum: Gaming
Topic: Enter spam
Replies: 1
Views: 336

Re: Enter spam

Basic example, press button while holding "e"

Code: Select all

*e::
BreakLoop := 0
Loop,
{
	if (BreakLoop = 1)
		break
	send,{LButton Down}
	sleep,50
	send,{LButton Up}
	sleep,250
}


*e Up::
	BreakLoop := 1
Return
by mast4rwang
04 Jan 2019, 03:20
Forum: Gaming
Topic: Please help with checking my image for 2 minutes
Replies: 1
Views: 300

Re: Please help with checking my image for 2 minutes

Here is all you need to learn how to do it:

Code: Select all

*e::
BreakLoop := 0
Loop,
{
if (BreakLoop = 1)
break
ImageSearch, FoundX, FoundY, 929, 111, 1005, 158, C:\ Image.png

If !ErrorLevel
Soundbeep,400
Sleep,500
	if ErrorLevel
	Continue
sleep,250
}


*e Up::
BreakLoop := 1
Return
by mast4rwang
04 Jan 2019, 03:16
Forum: Gaming
Topic: Creating macros for a game
Replies: 3
Views: 516

Re: Creating macros for a game

Maybe learn to code first?
by mast4rwang
04 Jan 2019, 03:11
Forum: Ask For Help
Topic: Press and release a key button to start/stop script
Replies: 2
Views: 252

Re: Press and release a key button to start/stop script

if (condition)
return / break
by mast4rwang
06 Oct 2018, 05:26
Forum: Ask For Help
Topic: Geometry please
Replies: 1
Views: 197

Geometry please

There are points for start and end of the line, also there is a point for a circle and its radius.
startX,Y = [10,10]
endX,Y = [15,15]
circle_centerX,Y = [12,12]
circle radius = 2

How do I calculate intersection coordinates?
by mast4rwang
18 Jun 2018, 10:04
Forum: Ask For Help
Topic: I can not find a damn key :D
Replies: 5
Views: 412

Re: I can not find a damn key :D

I figured it out guys, it works after I removed #IfWinActive, ahk_class Notepad++

ctr + ~ didn't work because console pops up and notepad++ looses focus :(
by mast4rwang
18 Jun 2018, 09:45
Forum: Ask For Help
Topic: I can not find a damn key :D
Replies: 5
Views: 412

Re: I can not find a damn key :D

*xbutton2::
send,^{Tilde}
keywait,xbutton2
return

Doesn't work :(
by mast4rwang
18 Jun 2018, 04:18
Forum: Ask For Help
Topic: I can not find a damn key :D
Replies: 5
Views: 412

I can not find a damn key :D

Can anyone tell me how to send ctrl + ~ ?
I am in a hurry and can not figure out how console key is called aka "wave" :D

First time I didn't find a button in ahk buttons list :cry:
by mast4rwang
18 Jun 2018, 04:17
Forum: Gaming
Topic: Rapid click script
Replies: 17
Views: 58590

Re: Rapid click script

Most likely the fastest clicker possible. Last time I checked it is twice as fast as normal send,{click} command. You might want to add some sleep command to make it slower because game wont detect such fast clicks xD ,, *TAB:: bl=0 loop, { if bl=1 break DllCall("mouse_event", "UInt", 0x02) ; left ...

Go to advanced search