Sign in to follow this  
Followers 0
a6000000

Word.au3 how to Breaks the link between the source file and the current document and the source file are kept in the current document

2 posts in this topic

. Word.au3 - How to Breaks the link between the source file and the current document. The most recently updated contents of the source file are kept in the current document , with script DOM

. Manualy I have to break the links in:: menu - Edit(de: bearbeiten) - Links(de: verkn.) - Break Link

. How to do this in autoit ?????? ::

" _WordDoc__BreakLinksAndInsertInDocument__ ( $oDoc , ?????? ) "

" _WordDocSave__InOneFile__ ( $oDoc , ?????? ) "

hallo

I have created a html file and with 4 images in a (german) image-Dateien folder

<html><body align="right" style="font-size:11.0pt; font-weight:bold; font-family:Arial;">

<p align="right" ><font face="Arial"><br /><br /><img width=505 height=378 src="__I_M_G__-Dateien/Bild 1.JPG" ><br />
  Bild 1<br/><br/><small><br/><br/></small></p>
<p align="right"><font face="Arial"><br /><br /><img width=505 height=378 src="__I_M_G__-Dateien/Bild 2.JPG" ><br /><!--qqimagqq-->
  Bild 2<!--qqbldqq--><br/><br/></p><!--/site1-->

<p align="right" ><font face="Arial"><br /><br /><img width=505 height=378 src="__I_M_G__-Dateien/Bild 3.JPG" ><br /><!--qqimagqq-->
  Bild 3<!--qqbldqq--><br/><br/><small><br/><br/></small></p>
<p align="right"><font face="Arial"><br /><br /><img width=505 height=378 src="__I_M_G__-Dateien/Bild 4.JPG" ><br /><!--qqimagqq-->
  Bild 4<!--qqbldqq--><br/><br/></p><!--/site2-->

</body></html>

Then I open the html-file in word and I like to save as a word.doc with images included in one word.doc-file without a image - folder.

$oWordApp = _WordCreate ( "__I_M_G__" & '.html', 0 ,1 ,1 )

$oDoc = _WordDocOpen ( "__I_M_G__" & '.html' )

Manualy I have to break the links in:: menu - Edit(de: bearbeiten) - Links(de: verkn.) - Break Link (Breaks the link between the source file and the current document. The most recently updated contents of the source file are kept in the current document)

How to do this in autoit ?????? ::

" _WordDoc__BreakLinksAndInsertInDocument__ ( $oDoc , ?????? ) "

" _WordDocSave__InOneFile__ ( $oDoc , ?????? ) "

Share this post


Link to post
Share on other sites



i dont think anyone understood what you are trying to do? maybe post example html / pictures and autoit code ?

-- ich denke nicht dass irgendjemand verstanden hat, was du willst? evtl beschreibst du es nochmal mit sample code und html vorlagen?

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  
Followers 0