I am trying to write a script to help me with some basic C++
Fire UMETA(DisplayName = "Fire"),
I want the script to type out the second half of the text, press home, select the word, copy it, press end, left 3 times and paste.
I can't get it to do the copy pasting for some reason. I tried adding a delay to see if that helped but it doesn't. Am I missing something?
#SingleInstance force
^e::
sendinput, UMETA(DisplayName = ""),
sendinput, {home}
sendinput, {^w}
sleep, 20
sendinput, {^c}
sleep, 20
sendinput, {end}
sendinput, {left 3}
sendinput, {^v}
sleep, 20