Code: Select all
[code=autohotkey file=Untitled.ahk]
#Include WinClipAPI.ahk
#Include WinClip.ahk
WinClip.Clear()
fronttext := "front text"
backtext := "back text"
html := "<span class='tooltip'> %fronttext% <span class='tooltiptext'> %backtext% </span></span>"
WinClip.SetHTML(html)
WinClip.Paste()
Return