Page 1 of 1

use the winclip clipboard html (quick example)

Posted: 09 Apr 2018, 08:54
by partof
I struggle to find this info (among very complicated code)

1: download these 2 scripts:
https://autohotkey.com/board/topic/7467 ... ons/page-1

2: the script (just change the path to your files (#include). Run the script, it will add some html to the clipboard, just past it to check)

Code: Select all

#Include C:\Users\user\Desktop\Ahk\modul_ahk\WinClip\WinClipAPI.ahk
#Include C:\Users\user\Desktop\Ahk\modul_ahk\WinClip\WinClip.ahk

wc := new WinClip

WinClip.Clear()
html := "this <b>bold</b>"
WinClip.SetHTML(html)
WinClip.Paste()
Return

Re: use the winclip clipboard html (quick example)

Posted: 09 Apr 2018, 08:57
by guest3456
winclip is a very good script to manipulate the html clipboard

Re: use the winclip clipboard html (quick example)

Posted: 05 Mar 2024, 11:18
by gregster
For reference, there is also a WinClip topic on these forums in 'Scripts and Functions (v1)' with an updated library (besides the original topic mentioned above - which has been archived).
See viewtopic.php?f=6&t=29314 (also supports v2, it says).