use the winclip clipboard html (quick example)

Put simple Tips and Tricks that are not entire Tutorials in this forum
partof
Posts: 110
Joined: 16 Jan 2016, 08:38

use the winclip clipboard html (quick example)

09 Apr 2018, 08:54

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
guest3456
Posts: 3463
Joined: 09 Oct 2013, 10:31

Re: use the winclip clipboard html (quick example)

09 Apr 2018, 08:57

winclip is a very good script to manipulate the html clipboard

gregster
Posts: 8999
Joined: 30 Sep 2013, 06:48

Re: use the winclip clipboard html (quick example)

05 Mar 2024, 11:18

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).

Return to “Tips and Tricks (v1)”

Who is online

Users browsing this forum: No registered users and 13 guests