Second Clipboard script solved
Posted: 19 Jan 2018, 15:19
I finally managed to write a working script for a second clipboard.
Very basic but useful. It only worked once I decided to spam the ^c command. Still not totally sure why, but without spamming the copy command the script will spew up all kinds of errors and just not work correctly.
Do any of you have any idea why this works?
Very basic but useful. It only worked once I decided to spam the ^c command. Still not totally sure why, but without spamming the copy command the script will spew up all kinds of errors and just not work correctly.
Do any of you have any idea why this works?
I also had to "run as administrator." All in all a very long and weird search for what should have been a simple script.^g::
OldClip = %Clipboard%
Send, ^c
Send, ^c
Send, ^c
Send, ^c
Send, ^c
Send, ^c
Send, ^c
Send, ^c
Send, ^c
NewClip = %Clipboard%
Clipboard = %OldClip%
return
^h::
Clipboard = %NewClip%
Send, ^v
Clipboard = %OldClip%
return