Jump to content
Sign in to follow this  
AvidLearner

H3lp needed regardin' cmd "ClipPut" , "FileWrite" and Word doc

Recommended Posts

AvidLearner

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

Share this post


Link to post
Share on other sites
big_daddy

See the help file for the _Word* functions.

Share this post


Link to post
Share on other sites
AvidLearner

See the help file for the _Word* functions.

Thnx big_daddy :D

Share this post


Link to post
Share on other sites
AvidLearner

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

Share this post


Link to post
Share on other sites
AvidLearner

Is it posssibl3..??

Share this post


Link to post
Share on other sites
BrettF

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.

Share this post


Link to post
Share on other sites
AvidLearner

; *******************************************************
; 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

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×