Word formatting - Copy (into a var?)

Get help with using AutoHotkey and its commands and hotkeys
Posts: 184
Joined: 02 May 2017, 02:34

Word formatting - Copy (into a var?)

Post by Johana » 14 Nov 2017, 04:08

Is it possible to copy the word formatting? For now I have a simple CTRL + C and CTRL + V. The problem is the script is in 2 parts. First it creates a word document and copies it. Then the user can do some editing etc. Then continue the script and it opens a new word document and send CTRL + V. 9/10 people are copying something else before the new doc is created thus making the new doc with their own clipboard.

Any thoughts/ideas? COM? Or what would I do?

Re: Word formatting - Copy (into a var?)

Post by Guest » 14 Nov 2017, 04:52

You can store the formatted clipboard into a variable using ClipboardAll - See https://autohotkey.com/docs/misc/Clipbo ... ipboardAll
Post Reply

Return to “Ask For Help”