Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do I save a file to the clipboard?
#1
I would like to put a file, save to the clipboard, because behind, I have to use it many times, in the need to use the place, I can paste directly, very convenient, I wrote the following code, but suggested that mistakes, hope someone can help thank you very much

Macro Macro6
Code:
Copy      Help
str ss="$desktop$\A.doc"
ss.setclip("CF_DOC")
paste ss
#2
Put .doc file content in clipboard? QM can't do it.
#3
Can not simulate the Ctrl + C implementation file into the clipboard?

If not, i can only use ctrl + c, then in the place where needed, Ctrl + v :oops:
#4
Can do it with HTML files or text, but not with .doc.
#5
"Can do it with HTML files or text, but not with .doc."
What about with *.jpg or *.png. Could you show an example of doing it with a format that it can work with. Could you show how it can have a file name also? Thanks
#6
Windows has only 1 format for images - bitmap.
*.jpg and *.png can be converted to bitmap. If you need it. With GDI+ or FreeImage. http://ftp.quickmacros.com/forum/showthr...p?tid=5046


Forum Jump:


Users browsing this thread: 1 Guest(s)