Posts: 44
Threads: 10
Joined: Aug 2015
Is there a way to have a "key blah blah blah" command, but instead key a pre-existing clip board file that contains font colors and stuff?
My signature at work contains colors and stuff, and am working on an idea
thanks!
Posts: 12,072
Threads: 140
Joined: Dec 2002
Function
PasteHtml
;/
function $html
;Pastes text in HTML format.
;Works only with windows that support HTML format. For example, Word.
;Error if the active window does not support HTML format.
;EXAMPLES
;PasteHtml "<html><body>text <a href=''http://www.quickmacros.com''>Quick Macros</a> text</body></html>"
;
;str mySigFile="$desktop$\test.htm"
;str s.getfile(mySigFile)
;PasteHtml s
str sh.format("Version:1.0[]StartHTML:00000033[]%s" html)
sh.setsel("HTML Format")
err end _error