I'm sorry for asking a question that's been asked a million times before, or asking a question that's easy to answer. It feels absurd that I need to apologize for asking a question, but oh well, this is the internet.
I'm attempting to create something that (with the press of only one button such as F9) will move to a part of my screen, left click, move to another part, shift + left click, and repeat.
I somewhat understand the basic components and have them ready to go, but there lies a problem with my code, and it is that I must press the chosen key to start up production (Page Up for me) for every step!
Here is a little example of what I mean.
Code: Select all
PgUp::
MouseMove, 1284, 505
^LButton::Click 1 left
{Sleep 100}
MouseMove, 2376,770
return
Escape::
ExitApp
Return
Does anyone have a possible solution for this?
Additionally, if any part of this script is wrong or could be improved/cleaned, please, please, please let me know. I honestly have no idea what I'm doing and feel like I've been cast into deep water and told to swim.