Real Time Subtilties to Pasting Program
Go to solution
Solved by ahuckphin,
^F1:: ; Ctrl + F1 MouseClickDrag, Left, 320, 980, 785, 980 ; move move cursor and select the line of text from left to right sleep 25 Send ^c ; copy selected text sleep 25 Send {ALT DOWN}{TAB}{ALT UP} ; switch program sleep 25 Send {Space} sleep 25 Send ^+v ; paste clipboard ; paste sleep 25 Send {ALT DOWN}{TAB}{ALT UP} ; switch program NewText := Clipboard ; assigns value of clipboard to NewText variable sleep 25 loop { OldText := NewText ; assigns value of NewText variable to OldText variable sleep 25 MouseClickDrag, Left, 320, 980, 785, 980 ; move move cursor and select the line of text from left to right sleep 25 Send ^c ; copy selected text sleep 25 NewText := Clipboard ; overide the value of NewText variable with clipboard sleep 25 if (OldText = NewText) { } else { Send {ALT DOWN}{TAB}{ALT UP} ; switch program sleep 25 Send {Space} sleep 25 Send ^+v ; paste clipboard ; paste sleep 25 Send {ALT DOWN}{TAB}{ALT UP} ; switch program } } return ^F2::Reload ; ctrl+R to reload the script. return
I have done it with AutoHotkey. Truly impressed at the capabilities of this program.
Is it perfect? No. I am having problem it sometimes to selecting the whole line of text and sometimes selecting my profile pic + user name too.
Works better if less stressed a.k.a speakers talks slowly
Video demonstration:
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now