Macro that click drag things

Ask gaming related questions
alexolsson00
Posts: 2
Joined: 18 Jan 2021, 22:41

Macro that click drag things

Post by alexolsson00 » 18 Jan 2021, 22:59

Hi im really new to this and dont know anything about making scripts. But i really need a script that could do the stuff im showing in the video below.
If anyone could do this you would be a life saver. And if you could do so i can adjust the speed and check what works best would be great to
Thanks in advance!

https://youtu.be/eNsuiDpGQdM
User avatar
Spawnova
Posts: 455
Joined: 08 Jul 2015, 00:12
Contact:

Re: Macro that click drag things

Post by Spawnova » 19 Jan 2021, 17:30

You can simply use MouseClickDrag for that

For example

Code: Select all

F1::
MouseClickDrag,left,50,50,100,100
return
That would click at coordinates 50,50 and drag to 100,100 before unclicking.
Some of my AHK programs: 3D Voxel Game - Platformer Game - Langton's Ant - Raycast light/Pixel Water - Creating HD map of any game
Or check out my Youtube for these plus many more projects! :D
alexolsson00
Posts: 2
Joined: 18 Jan 2021, 22:41

Re: Macro that click drag things

Post by alexolsson00 » 21 Jan 2021, 18:57

@Spawnova
Okay, but like i dont know anything about making scripts so was hoping if anyone could help me a little
Post Reply

Return to “Gaming”