Search found 216 matches

by neomulemi6
30 May 2017, 02:58
Forum: Ask For Help
Topic: Is there a way to simulate continuous pressing of a key based on mouse motion? Topic is solved
Replies: 4
Views: 1071

Re: Is there a way to simulate continuous pressing of a key based on mouse motion? Topic is solved

If that doesn't work for you, try this. My original script worked fine in notepad, but when I tried it in an actual game, not so much. SetTimer, Timer1, 10 Timer1: Padding = 25 ; number of pixels the mouse must be moved to activate the script. If (GetKeyState("Shift", "p")) { MouseGetPos, MouseX, Mo...
by neomulemi6
30 May 2017, 02:33
Forum: Ask For Help
Topic: Is there a way to simulate continuous pressing of a key based on mouse motion? Topic is solved
Replies: 4
Views: 1071

Re: Is there a way to simulate continuous pressing of a key based on mouse motion? Topic is solved

SetTitleMatchMode, 2 #IfWinActive, window title ; replace this with your window title #Persistent SetTimer, Timer1, 10 LButton::Send a RButton::Send b Timer1: Padding = 25 ; number of pixels the mouse must be moved to activate the script. MouseGetPos, MouseX, MouseY If (GetKeyState("Shift", "p")) {...
by neomulemi6
29 May 2017, 10:11
Forum: Gaming
Topic: Looking for a script that alters mouse input on a certain window only. Topic is solved
Replies: 2
Views: 649

Re: Looking for a script that alters mouse input on a certain window only. Topic is solved

SetTitleMatchMode, 2 #IfWinActive, window title ; replace this with your window title #Persistent SetTimer, Timer1, 10 LButton::Send a RButton::Send b Timer1: Padding = 25 ; number of pixels the mouse must be moved to activate the script. MouseGetPos, MouseX, MouseY If (MouseX <> LastX && MouseY <>...
by neomulemi6
29 May 2017, 09:54
Forum: Gaming
Topic: XBOX controller Autofire issues
Replies: 1
Views: 860

Re: XBOX controller Autofire issues

AutoHotkey can't send gamepad buttons. What you can do, however, is bind the function in the game to another key, and then activate/disable a loop with your gamepad button. Something like this: If you had "fire" bound to the 1 key in your game, this would work. Joy1:: SetTimer, J1, 100 KeyWait, Joy1...
by neomulemi6
29 May 2017, 02:04
Forum: Gaming
Topic: Request for Script
Replies: 5
Views: 1238

Re: Request for Script

Like this?

Code: Select all

~$z up::Send z
~$x up::Send x
by neomulemi6
28 May 2017, 00:41
Forum: Gaming
Topic: ahk detect in game mouse options
Replies: 4
Views: 1142

Re: ahk detect in game mouse options

Well, the window looks partially transparent, and I'm assuming this will appear in different parts of the screen, so the background will always be different. It's possible, but it won't be easy. Look into ImageSearch and PixelSearch . ImageSearch might work with a high variation, maybe 25 or so. If ...
by neomulemi6
28 May 2017, 00:33
Forum: Ask For Help
Topic: Repeating undo in Photoshop Topic is solved
Replies: 4
Views: 960

Re: Repeating undo in Photoshop Topic is solved

The P retrieves the physical state of the key, so the function returns true if the CTRL and Z keys are held down. You can read more here: GetKeyState
by neomulemi6
28 May 2017, 00:31
Forum: Pulovers Macro Creator
Topic: Random loop
Replies: 6
Views: 3729

Re: Random loop

Well, I've never even heard of Pulover's macro maker, so I can't really help you there. Why not just use AutoHotkey alone?
by neomulemi6
28 May 2017, 00:30
Forum: Gaming
Topic: Help creating AHK script for AutoSelect Topic is solved
Replies: 10
Views: 1750

Re: Help creating AHK script for AutoSelect Topic is solved

Those are functions for reading and writing memory addresses. If you do the Cheat Engine tutorial, you'll understand.
by neomulemi6
27 May 2017, 17:12
Forum: Gaming
Topic: Help creating AHK script for AutoSelect Topic is solved
Replies: 10
Views: 1750

Re: Help creating AHK script for AutoSelect Topic is solved

Well, Cheat Engine comes with a great tutorial. And you can find a library of AutoHotkey memory functions with a quick Google search. Here's the one I use: Global PROCESS_ALL_ACCESS := 0x001F0FFF Global PROCESS_VM_READ := 0x10 Global PROCESS_QUERY_INFORMATION := 0x400 Global TOKEN_ALL_ACCESS := 0xF0...
by neomulemi6
27 May 2017, 15:08
Forum: Gaming
Topic: Help creating AHK script for AutoSelect Topic is solved
Replies: 10
Views: 1750

Re: Help creating AHK script for AutoSelect Topic is solved

It should work with moving or animated objects just fine. Maybe try specifying a variation in your ImageSearch, like so: ImageSearch, FoundX, FoundY, 0,0, 1300, 1300, *10 C:\My Images\test.bmp Also, that loop will run forever, and since the ImageSearch isn't enclosed inside the loop, why do you need...
by neomulemi6
27 May 2017, 13:33
Forum: Gaming
Topic: Help creating AHK script for AutoSelect Topic is solved
Replies: 10
Views: 1750

Re: Help creating AHK script for AutoSelect Topic is solved

You can still use ImageSearch. Just use ControlClick instead of MouseMove. As far as making ImageSearch faster, you can specify a smaller search region.. not much else you can do.
by neomulemi6
27 May 2017, 13:01
Forum: Pulovers Macro Creator
Topic: Random loop
Replies: 6
Views: 3729

Re: Random loop

You can use the Random function to generate a random number, then use that in your loop.

Something like this:

Code: Select all

Random, rand, 1, 10 ; random number between 1 and 10
Loop, %rand%
{
; loop contents
}
by neomulemi6
27 May 2017, 12:59
Forum: Gaming
Topic: Help creating AHK script for AutoSelect Topic is solved
Replies: 10
Views: 1750

Re: Help creating AHK script for AutoSelect Topic is solved

You can use ControlClick instead of MouseMove, to click things without losing control of your mouse.
by neomulemi6
27 May 2017, 08:06
Forum: Gaming
Topic: Triggerbot speed
Replies: 2
Views: 740

Re: Triggerbot speed

Certain AutoHotkey features only work in windowed mode. Nothing we can do here. As far as making it faster, maybe put SetBatchLines, -1 at the top of the script.
by neomulemi6
27 May 2017, 01:05
Forum: Ask For Help
Topic: A Button pressed just for 250MS in a game
Replies: 1
Views: 348

Re: A Button pressed just for 250MS in a game

Both should produce the same result. Pick your poison.

Code: Select all

Send {a down}
Sleep 250
Send {a up}

Code: Select all

SetKeyDelay, 0, 250
Send a
by neomulemi6
27 May 2017, 01:03
Forum: Ask For Help
Topic: Repeating undo in Photoshop Topic is solved
Replies: 4
Views: 960

Re: Repeating undo in Photoshop Topic is solved

Code: Select all

$^z::
While (GetKeyState("CTRL", "p") && GetKeyState("z", "p"))
{
	SendInput ^!z
	Sleep 500
}
Return
by neomulemi6
27 May 2017, 00:57
Forum: Ask For Help
Topic: Simple Multiple Timer CountDown
Replies: 5
Views: 1257

Re: Simple Multiple Timer CountDown

Hey that's pretty clever rottweiler. I might use that script myself. :)
by neomulemi6
26 May 2017, 01:22
Forum: Gaming
Topic: Need help making a combo script
Replies: 1
Views: 717

Re: Need help making a combo script

Code: Select all

~MButton::
Send ^g
SetKeyDelay, 50, 50 ; So it doesn't send the keys too fast.  You may or may not need this.
While (GetKeyState("MButton", "P"))
{
	Send v4f24f
}
SetKeyDelay, -1 ; Reset key delay
Send ^g
Return
by neomulemi6
26 May 2017, 01:16
Forum: Gaming
Topic: ahk detect in game mouse options
Replies: 4
Views: 1142

Re: ahk detect in game mouse options

Depends. Can you show us a screenshot?

Go to advanced search