credits where it's due: WinClip - AHKv2 Compatibility
og is written in AutoHotkey_L v1
this project converted it to AutoHotkey_H v2 alpha
download:
https://github.com/HotKeyIt/ahkdll-v2-release/archive/master.zip
I run .ah2
with: ahkdll-v2-release-master\x64w_MT\AutoHotkey.exe
Modifying a clipboard content to be treated as HTML
tested here: https://html5-editor.net/
what you get after pasting HTML Format in WYSIWYG editor:
-
from hightlight ctrl+c:
<p><img src="https://cdn.sstatic.net/Img/teams/teams-illo-free-sidebar-promo.svg?v=47faa659a05e" alt="" width="139" height="114" /></p>
-
from ahk: src -> HTML Format (ctrl+shift+v)
<p><img src="https://cdn.sstatic.net/Img/teams/teams-illo-free-sidebar-promo.svg?v=47faa659a05e" /></p>
we only have the src in our clipboard, no size information