I have been looking for a way to quickly convert Markdown syntax into "paste-able" contents into Google Docs. I have started this page on Pandoc discussion Google group, but have not received a good answer.
Now, my plan is to have pandoc do its own conversion job and delegate the pasting job to AHK.
Yet, I found this post to be super relevant. However, I can only get the "pure text" from the *.docx file. Only pure/plaintexts were pasted to where I type "ttest".
Code: Select all
::ttest::
myinputfile := "c:\users\llinfeng\somewhere\DOC_with_Headers_and_BOlding_and_otheres.docx"
clipboard:=ComObjGet(myinputfile).Range.FormattedText.Copy
Send ^v ; paste
Return ; added return
Thank you in advance!