https://autohotkey.com/boards/viewtopic.php?f=7&t=8977
Got WinClip here:
https://autohotkey.com/board/topic/7467 ... pulations/
Placed the two WinClip ahk files on my desktop along with the rtf.rtf file I'd like to have pasted somewhere.
The code I'm using:
Code: Select all
#singleinstance force
#NoEnv
#include C:\users\user.name\desktop\WinClipAPI.ahk
#include C:\users\user.name\desktop\WinClip.ahk
!m::
WinClip.Clear()
rtf := FileOpen("C:\users\user.name\desktop\rtf.rtf", "r").read()
WinClip.SetRTF(rtf)
WinClip.Paste()
Return
Thanks for your time.