Jump to content

Recommended Posts

Posted (edited)

Hi .. I m tryin' 2 use "ClipPut" command n Paste it in a New word document... Creatin' a New Word Document aswell.. Plz h3lp me out...

thnx :D

Edited by AvidLearner
Posted (edited)

See the help file for the _Word* functions.

Also I needed h3lp regardn "FileWrite" to a word doc....

I mean,, Insertin da data stored in clipboard into a word doc...

Is tat possible..??

Thnx :D

Edited by AvidLearner
Posted

Is it posssibl3..??

; *******************************************************
; Example 1 - Open an existing word document, append some text,
;              save and quit.
; *******************************************************
;
#include <Word.au3>
$oWordApp = _WordCreate (@ScriptDir & "\Test.doc")
$oDoc = _WordDocGetCollection ($oWordApp, 0)
$oDoc.Range.insertAfter ("This is some text to insert.")
_WordDocSave ($oDoc)
_WordQuit ($oWordApp)

ClipGet will also help :D I'll let you work out how.

Posted

; *******************************************************
; Example 1 - Open an existing word document, append some text,
;              save and quit.
; *******************************************************
;
#include <Word.au3>
$oWordApp = _WordCreate (@ScriptDir & "\Test.doc")
$oDoc = _WordDocGetCollection ($oWordApp, 0)
$oDoc.Range.insertAfter ("This is some text to insert.")
_WordDocSave ($oDoc)
_WordQuit ($oWordApp)

ClipGet will also help :P I'll let you work out how.

Thank you Bert...!! :D

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...