Merge documents Word w / Applescript
I write a MS Word document with contributions from several authors and publishers. I'm new Applescript, but I invested a few days now trying to figure out how to create an application that should merge several word documents. I use Microsoft Word for Mac Version 15.15 on a Mid 2011 iMac OS X El Capitan 10.11.12 running. I'm hung up on how to use the merge command in the Script Editor. From only two documents, I write things like:
tell application "Microsoft Word"
name of the file Open ((path to the folder on the desktop) & "TestingMerge.docx") as string
myMerge of name of the file to Merge the value ((path to the folder on the desktop) & "TestingMerge2.docx") as string
end say
I get an error message:
Result:
error "Microsoft Word has been an error: can not continue merger." number-1708
I did a lot of variations on this general topic, but just don't know how to use the command merge correctly or there is a weird bug that broke this command. I looked everywhere for code applescript from someone who has used the merge command to see how the syntax and format is supposed to look like, but I have not found anything.
Any help would be appreciated.
Hello
You must specify a document open and a file with the command merge path.
In the Microsoft WordApplescript dictionary:
fusion v : merges the changes marked with revision of one document to the other marks.
Merge document
file name text: the path and the name of the document to merge with this document.
a file1 set to (path to the folder on the desktop as text) & "TestingMerge.docx".
the value File2 (path to the folder on the desktop as text) & "TestingMerge2.docx".
Tell application "Microsoft Word"
the value of thisDoc1 to open the file name file1
Merge thisDoc1 file name File2
tell the end
Tags: Mac OS & System Software
Similar Questions
-
I have created a merge document and mail merge in word using an excel sheet spread as a data source. Initially, no sign of £ showed in the document among other formatting problems. I have (finally) found help explaining that I should use MS Excel via a DDE data sheets - I tried this but it seems to corrupt the data so that the column that contains say '1 names' contains "price data", "address" line contains the data of 'comments', making the e-mail merge nonsense.
If you use an alternative data source is CBO or something all NFL results (which wasn't shown on the worksheet) appear in the mail merge '0' both are unacceptable.
Surely I'm not the only person to meet these challenges is the software never tested before being sold where is the help manual, I tried to use the online help but will not accept my product key. All solutions provide the most basic assistance but my documents are fairly complex something computers should be good. I lost most of today on this. Sometimes I think it would be faster to type these longhand things than to use a Microsoft product.
Hello
Please check with the experts of the Office, Word and Excel here: (just repost your questions)
Answers - Excel Forums
http://answers.Microsoft.com/en-us/Office/ee861099.aspxAnswers - Word Forums
http://answers.Microsoft.com/en-us/Office/ee861096.aspxAnswers - Office Forums
http://answers.Microsoft.com/en-us/Office/default.aspxOr
Discussions in Excel worksheet functions
http://www.Microsoft.com/Office/Community/en-us/default.mspx?DG=Microsoft.public.Excel.worksheet.functions&lang=en&CR=usDiscussions in Word Application errors
http://www.Microsoft.com/Office/Community/en-us/default.mspx?DG=Microsoft.public.Word.application.errors&lang=en&CR=usDiscussions in Excel General questions
http://www.Microsoft.com/Office/Community/en-us/default.mspx?DG=Microsoft.public.Excel.misc&lang=en&CR=usMS Office discussion groups
http://www.Microsoft.com/Office/Community/en-us/FlyoutOverview.mspx
And here:Discussions in microsoft.public.excel.worksheet.functions
http://www.Microsoft.com/communities/newsgroups/list/en-us/default.aspx?DG=Microsoft.public.Excel.worksheet.functions&cat=en_us_b5bae73e-d79d-4720-8866-0da784ce979c&lang=en&CR=usDiscussions at the Microsoft.public.Excel
http://www.Microsoft.com/communities/newsgroups/list/en-us/default.aspx?DG=Microsoft.public.Excel&cat=en_us_a09d72a4-715e-4c37-bcd5-75e0fc616b1f&lang=en&CR=usMicrosoft.public.word.application.errors discussions
http://www.Microsoft.com/communities/newsgroups/list/en-us/default.aspx?DG=Microsoft.public.Word.application.errors&cat=en_us_f09268b3-8479-4cea-8037-d168d96833ac&lang=en&CR=usI hope this helps.
Rob - bicycle - Mark Twain said it is good. -
Creating application from merger and mail merge using Word
Hello
We are in the process of developing an application web coldfusion that allows the user to download the document Word and a data source for the mail merge.
After spending a few hours Googling, we are still unable to find a definitive solution. Everyone gives us a pointer to how we might be able to do this? If coldfusion maybe using Java may be able to access the objects of Microsoft Office?
Your help will be really appreciated.Use the
tag to coldfusion to create word application object below (you must have Microsoft word installed on your cf server).
Word.Application
Word.Document
Word.MailMergeThen you can follow the same steps how a VW program to create the word more in ColdFusion. An example of vb code is give below.
Dim oWordApp As New Word.Application
Dim WrdDoc As Word.Document
Dim wrdMailMerge As Word.MailMergeSet WrdDoc = oWordApp.Documents.Open ("path of model", ReadOnly: = True)
Set wrdMailMerge = WrdDoc.MailMerge
wrdMailMerge.OpenDataSource Name: = "file path", Format: = "format", ConfirmConversions: = True
wrdMailMerge.Destination = wdSendToNewDocument
wrdMailMerge.Execute
oWordApp.ActiveDocument.SaveAs FileName: = "path full & name", FileFormat: = "format".Set oWordApp = Nothing
-
Hello!
I want to sent a mass mailing to siebel onDemand list of contacts.
I read a help document that talk about 'Merger and mail merge for word' having a "Connect to siebel" option but... Where can I download it?
I have in word mail merge toolbar, but do not have the possibility to connect to siebel.
Any idea?
Thanks in advanceYou can draft.exe this meta link
or use link below to download.
http://SupportWeb.Siebel.com/crmondemand/documents/Mail_Merge_for_Word.dot
Dinesh
-
How to merge documents in Pages using thumbnails?
I try to combine multiple Pages documents in one. There are many images in there and the technique of the copy/paste does not work.
I know that we can use automator to merge PDF documents, but what is the way to do it in pages 5.6.1
Thank you very much
Pages ' 09 v4.3 would you allow to copy/paste or drag and drop the photos to a document in another document for effective merging of documents. It would also allow access to external Pages documents.
In the v5.6.1, Pages you can select the text of the paragraph of a document of dealer (not objects) and simply drag and drop the selection anywhere in the recipient document. You can click on a thumbnail in the donor document and paste it into the Gallery of thumbnails of the recipient document. For example, my paper receiver has a unique miniature with partial text on this page. When I copy/paste the thumbnail of the document of the donor, it will fill the remaining page of the recipient document and start a new page in the same section, after the first page is filled. If the donor paragraph style is different from that of the beneficiary style, so think about using paste them and the Style of game. There is no drag and drop miniature relief between donor and recipients documents.
If you create a blank section in your document recipient, select and then copy/paste a thumbnail of the document from donors, the content of this text is inserted into a text box by default new, with overflow of text in the center of your page in the recipient section. It departs with the behavior of clause 2, and type of paste operation does not change the result. In my view, it should paste the contents of the donors page in the body of the document of the beneficiary section - without a text box. One solution is to select the blank section of the recipient document thumbnail, and then drag on and drop a selection of text in the ordering document.
V5.6.1 pages will make you work more merging documents.
-
ActiveX activate protection document word with labview
Hi all!
I am trying to enable (or disable) protection of files"a document Word with ActiveX, someone told me that it is possible!
did someone done before?
Thanks a lot for your answers
What starting point you have? You have the report generation tool? There is no pre-made VI to do this, you will need to manipulate the ActiveX reference using nodes of property and call the nodes to perform the actions.
If you have the report Gen Toolkit, you can use the word get ActiveX references to get the reference "_Document. Once you have, it has a property of simple password stupid that you can set. Entered empty gets rid of password protection. There is also an Invoke method called Protect, which can set specific document protection options.
-
How to have a media player and a document word on the screen at the same time?
Original title: in a document.
How to have a media player and a document word on the screen at the same time? I opened an e-mail with a note of saved file and I type in a document.
Hi Carol OB,.
According to the description, it seems that you want to use document Word and Media Player at the same time. I'll be happy to help you in this problem.
I suggest you to consult and follow the steps from the link that can help you in the use of both applications at the same time and check if it helps.
Take an application: use two applications at the same time
http://Windows.Microsoft.com/en-us/Windows-8/snap-apps#1TC=T1
I hope this helps. Try the above steps and get back to us for assistance. We will be happy to help you.
-
Since I load Acrobat Reader DC, when I try to save the document, word to PDF, the pdf file pages are cut on the width. I use Microsoft Office Word 2007 and I have no problem with the previous version of Adobe Reader. Should what settings I adjust?
Hi judithl34724699,
If you want to convert Word files to PDF with the Adobe Reader application then it is possible with the service Pack of PDF. Try to use the service on the web: https://cloud.acrobat.com/convertpdf
Also try to use a different file type.
Thank you
Abhishek
-
Does anyone know how to merge documents and edit documents to PDF using Adobe Reader DC (Document Cloud). I want to try to do without having some type of subscription. When I followed the instructions, everything that appears under the 'combine files' is a reference to subscribe to a certain type of program Acrobat PRO. The instructions to do this are left blank (someone by the name of Donna Baker has written an article about it, but when you click them, nothing happens, and there is no arrow game click on). I hope that avoid buying a subscription to do this. Thank you
Sincerely,
Ken Hjerpe
Hi civmar,.
The characteristics that you are asking for are paid. Is not possible with the free player application.
Try the test for 30 days https://acrobat.adobe.com/us/en/free-trial-download.html?trackingid=KLBBQ.
Kind regards
Nicos
-
Package monthly Adobe had expired. Payment was made 2 days ago not able to merge documents, etc. Please help?
Please contact support:
I hope this helps.
Concerning
Megha Rawat
-
Why create merged document button does not work
I click on it, sometimes I see there how to start work, but it does not create a new document...
I regularly use this function.
I just restarted. No difference, except that I have the time to see things from 'fusion of documents' box.
A bug. I saved as IDML then re-imported. Worked a bit, but there is a very specific bug. When you insert variables in different layers (french, English), you cannot merge document if you are not on a particular provision by clicking on merge...
Weird. I had to put all the variable on the same layer and have two different model, one for variables of English and the other for the french. So 2 different mailing files instead of one (and play with layers to export)
-
How can I change records per Document tab, create a merged Document?
I'm trying to use the merge documents feature, but when I go to the tab create a merged Document and select several snapshot recording, unmodifiable single record drop-down list.
Which should obviously be changed in order to get InDesign to insert multiple instances of my ticket merged with data from a source of numbers, by following the instructions. So I'm stuck.
Here is the tutorial, I'm trying to follow: Adobe InDesign autodial on tickets | Smartpress.com
I understood why I couldn't select it! Somehow, I had put the placeholders on a master and a standard page.
I fixed and it works correctly. Thanks for the replies.
Moral: Don't apply old tutorials on the latest software updated, then forget what you did while learning the four days earlier!
-
Need to the tab of each document (Word or PDF) being converted/combined into a single PDF file. Only have an online account. Is this possible online?
Hi pjj,.
When you open the Bookmarks pane (the second icon from the top in the column the leftmost in Acrobat), you will see a bookmark for each file that has been attached to create the PDF. If you have created the combined file from Acrobat.com, however, file names are changed, it won't be as easy to say what are the components. If you create the file in Acrobat, then bookmarks retain the name of the original file, so your customer will be able to tell at a glance if everything was included.
Best,
Sara
-
I bought a software pour transformer of document word pdf or Vice versas I didn't never received.
Thank you
Hi m.a.h 1937.
Create PDF're UN servicio on line what's ha suscrito.
Use a c enlace para su servicio to create pdf format access.
https://cloud.Acrobat.com/convertpdf
One sesion con knew ID y contrasena adobe asociado a el.
Saludos,
Florence
-
How to convert merge documents and mailing for the docs individual pdf and each with a field record in the merge?
What is an actual field or just a piece of static text somewhere? Whatever it is, you can't do this using the Split Document command. You will need to use a script custom read the value of this 'field' and use it during extraction of pages in the file.
Maybe you are looking for
-
Window key commands Edit appears
Changed an older macbook pro to the new Imac with El Capitan 10.11.12 try to import the shortcuts from the old computer to new computer, but "Change" does not appear as an option
-
M series than 6224 to Digial of e/s P1/P2 related registry settings
Hello I'm testing 6224 card digital I/o according to the dioex2.cpp under VxWorks. My goal is to put P1 P2 as input, output. Thus, according to dioex2.cpp, I put the registry DIO_Direction = 0x00ff (in fact, it is not correct, as has been pointed out
-
How can I unstall iTunes.It does not work via the configuratie software
I can't remove iTunes on my software. The same goes for Hello. Always call to remove a previous installation, but I can't find this facility longer on my pc.
-
404 not found, get this error for every search of google chrome for fire fox
Original title: 404 not found I know that this means that the page has been moved, but I get it for every search of google chrome for fire fox. I can't find something? What I can do is to type the address if its wrong its says 404 not found, if his w
-
I have a HP Pavilion Windows Vista Home Premium, and the D: drive is full.
I have a HP Pavilion Windows Vista Home Premium, and the D: drive is full. I don't understand how he got that way... but... I've never used windows to the top, however I do back up with my Norton Security. I'm not a COMPUTER guru AT ALL and am very