Need help with simple script work.. Moving mouse to specified location, click, move, click move. Topic is solved

Ask gaming related questions (AHK v1.1 and older)
Kalmbach

Need help with simple script work.. Moving mouse to specified location, click, move, click move.  Topic is solved

15 Jul 2018, 11:41

So I just need some basic assistance LOL..
Im trying to create a script that will move my mouse to specified location and click then move again to another location and click. Im having trouble finding the coordinates in the program im using as well as getting a script to actually work on the program im using. :problem: :problem:
Please help!
User avatar
mshall
Posts: 35
Joined: 13 Jul 2018, 16:42
Contact:

Re: Need help with simple script work.. Moving mouse to specified location, click, move, click move.

16 Jul 2018, 14:43

This is a script we use to copy and paste information from a form to another notepad (within the same program which is why it I use the script because that is dumb).

It is based on the window resolution, and we got the coordinates with windowspy which comes with AutoHotkey. I have cut it down a bit, but hope it gives you a good idea of how to do yours:

Code: Select all

;Autofill Template
!Enter::
 
MouseClick, left, 507, 547
sleep 250
MouseClick, left, 690, 600
 
SendInput, Client Email: +{enter}
SendInput, Client Name: +{enter}
SendInput, Client Phone: +{enter}

MouseClick, left, 502, 168
SendInput, ^a
SendInput, ^c
 
MouseClick, left, 690, 600
SendInput, ^v
 
MouseClick, left, 509, 190, 2
SendInput, ^c
 
MouseClick, left, 690, 614
SendInput, ^v{Space}
 
MouseClick, left, 509, 216, 2
SendInput, ^c
 
MouseClick, left, 690, 614
SendInput, ^v
return
make sure your AHK is running as admin if it is not working

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 46 guests