AppleScript, convert Word to PDF doc

This applescript allowed the user to select a word, converted doc the doc to PDF, sent by mail and then the PDF file to the trash. It worked perfectly until today, after the most recent update of OS X.

Any advice would be appreciated!

--------------

Tell application "Microsoft Word"

activate

Set target_file choose file

Open target_file

doc the name value in the window active

tell the end

Tell application "system events".

delay 1

the x value of the offset of the "." in the doc

There the text 1 thru (x - 1) from the doc value

tell the end

Tell application "Microsoft Word"

the theOutputPath value (' HD:Users:xxxx:Desktop Macintosh: "& y &".pdf")

Save as format document file format file name theOutputPath PDF assets

Close active registration No.

tell the end

Tell application "Mail".

newMessage make new message coming out with properties the value {subject: y, content: "Attachment"}

tell newMessage

brand new beneficiary at the end to recipients with properties {name: 'xxxx', address: '[email protected]'}

According to content

making new hardware connection with properties {filename: theOutputPath as alias} to after the last paragraph

delay 1

tell the end

tell the end

Send newMessage

tell the end

Tell application "Finder" to move the theOutputPath file to the trash

As an update has caused your problem - contact apple support.

Tags: Mac OS & System Software

Similar Questions

  • Convert Word to PDF doc

    I bought the PAK and always impossible to convert a word in a PDF doc.  He repeated to me that I need to register and pay the $9,99... what I have done.  Help!

    wavchsr22,

    I'm sorry for the problem that you are experiencing.

    Would that you do the following so that we can solve the problem?

    * In the Acrobat DC application, make sure that you are connected with the same identifier Adobe that you used to purchase the service Pack of PDF.

    * Check the status of your subscription via the web interface.

    1. Open a web browser.
    2. Go to https://cloud.acrobat.com/
    3. Tap / click your name in the upper right of the page to open the menu.
    4. Select "My Plan...". "in the menu.

    That accurately reflects the current plan you have?

  • michaelp70541244. I have converted a word to pdf doc, but none of the embedded fonts.

    Anyone know the answer?

    Hi michaelp70541244,

    What did you use to convert Word to PDF doc? Whatever the method used, however, some fonts will be never incorporated, if the licenses for these fonts.

    Best,

    Sara

  • I have previously a POWER1) product allows me to digitally sign a PDF document? (2) convert a word to PDF doc?

    I have previously a POWER1) product allows me to digitally sign a PDF document? (2) convert a word to PDF doc?

    Hi robertb48724220,

    I checked your account. You have an active subscription to Adobe PDF package, which allows you to convert files to PDF format, both signing (the fill & sign on Acrobat.com does not require a subscription). You can access your account at https://cloud.acrobat.com/. Just sign in with your Adobe ID and password.

    Please let us know if you have any additional questions.

    Best,

    Sara

  • I have a subscription to Acrobat DC which ends November 24. Since that night, I can't convert WORD into PDF files. I got a message that my subscription has ended. Please help me because I have an urgent document to convert to PDF

    I have a subscription to Acrobat DC which ends November 24. Since that night, I can't convert WORD into PDF files. I got a message that my subscription has ended. Please help me because I have an urgent document to convert to PDF

    Some general information for a subscription of cloud

    Sign out of your account of cloud... Restart your computer... Connect to your paid account of cloud

    -Connect using http://helpx.adobe.com/x-productkb/policy-pricing/account-password-sign-faq.html

    -https://helpx.adobe.com/creative-cloud/help/sign-in-out-activate-apps.html

  • free version to convert word to pdf?

    what free version allows me to convert word to pdf?

    Uninstall your current player.

    Run the vacuum cleaner: http://labs.adobe.com/downloads/acrobatcleaner.html

    Reinstall the latest player: http://get.adobe.com/reader/

  • can I convert word to pdf free files?

    Anyway is to convert a word in a PDF document for free?

    Hi bamagurl4life,

    Adobe offers no free option to convert Word files to PDF format. However, you are welcome to try Acrobat for 30 days to see if it meets your needs. See www.adobe.com/products/acrobat.html for more information. You can also consider an Adobe PDF package subscription; the two who and Acrobat will allow you to convert files to PDF format.

    Best,

    Sara

  • How can I bulk convert word into PDF documents?

    I recently installed the Adobe Standard 11 in windows 7 OS. I need to convert more than 4K of word in PDF documents. I was able to convert each person opening the word document by clicking on the banner of Adobe and convert to pdf, BUT how can I bulk convert them without having to perform this task individually?

    The steps and advice would be greatly appreciated.

    Thank you in advance.

    HI nenbori,

    Why, Yes, you can do it!

    1. In Acrobat, choose file > create > create several batch files.
    2. Click Add files to add files (or a folder containing the files) that you want to convert, and then click Add.
    3. Choose where you want the PDF files to be stored and how you want the files to be named.
    4. Click OK.

    I'm not sure that you will be able to convert all 4K at a time, but you can certainly make a few batches of good size. It really depends on your operating system.

    Please let us know how it goes.

    Best,

    Sara

  • Attempts to convert a word to pdf doc using windows 7 64 bit computer. During the conversion, he goes to the notebook with the following message:

    Hello:

    I'm trying to convert a Word Doc from MS to a PDF file using my new 64 bit Windows 7 system.  When in the Word doc, I go to print, then choose PDF and then after the 'conversion', he goes to the notebook with the following message:

    %% [ProductName: Distiller] %.

    Cambria found, using Courier.

    %% [Error: invalidfont;] [OffendingCommand: show] %.

    Battery:

    ()

    %% [Flushing: rest of job (end of file) will be ignored] %%.

    %% [Warning: PostScript error.] No PDF file produced. ] %%

    I'd appreciate someone is able to help me with this problem.

    Thank you

    Aida

    I don't know what PDF "virtual" printer that you use, but you can simply add the free Microsoft SaveToPDF complement for your installation of Microsoft Office and avoid these 'virtual' PDF printers.  Your assistant head of household can already do.

    Office 2010

    http://Office.Microsoft.com/en-us/support/redir/HA010354239.aspx?QueryID=423abf3d3be54a199d634bd88dca8478&respos=0&CTT=1

    Office 2007

    http://Office.Microsoft.com/en-us/support/redir/HA010064992.aspx?QueryID=423abf3d3be54a199d634bd88dca8478&respos=1&CTT=1

    These add-ins are explained, as well as other things, to http://office.microsoft.com/en-us/support/?CTT=97

  • convert word to pdf with hyperlinks doc

    have created a document in microsoft word on a mac and saved as a pdf.

    the links do not work when I open the pdf file. the links work in the word doc.

    does anyone have a solution?

    Thank you

    How do you save the PDF file of the word? What app shows the PDF?

    ' File > save as... "choose the PDF format. This method keeps links when the PDF file is displayed in the preview. It is in an earlier version of Word (v 12.3.6).

    You may be ' file > duplicate ' & then save the file in PDF format in the new version of Word, or try holding alt (alias 'option') on the file menu, an option "save under...". "may appear.

  • Convert word into pdf complete file doc

    What is the best program of adobe to use to convert a word in a PDF complete document?

    Acrobat is the software best suited for this purpose.

    You may wish to consult the KB: http://helpx.adobe.com/acrobat/kb/create-fillable-pdf-forms-acrobat.ht ml

  • Convert Word to PDF, do not link web addresses

    I'm trying to convert a word doc into a PDF using Acrobat Standard XI. The word doc has a hyperlink in one place and a web address typed in another place. The goal I'm looking for is to have the hyperlink carried over to the pdf and typed on this web address is non-interactive. The hyperlink is, but him typed web address is also hyperlinked, but without the box of a hyperlink. How can I get the pdf file to not connect not typed web address? There is no hyperlink box to remove.

    Thank you!

    It is a setting of the application. You can disable under Edition - Preferences - general - create links from URLS.

  • Get bookmark evil levels when converting Word to PDF with Acrobat 7.0

    I am using MS Word 2003, Windows XP and Adobe Acrobat 7.0.

    When you convert a DOC to PDF, all the features are perfect except bookmarks are located at the level of evil, that is, the first chapter 'Introduction' is the first level, that is desired; but the second chapter and later versions will be placed as the subelements of the first. It is a serious problem for me because I need a very precise conversion.

    P.S. I upgraded the convertion of properly before bookmarks in the conversion.

    So I wonder If there is a solution of parameters of Word or Acrobat.

    I use Acrobat 7 because the versions(8.0 etc.) later has the running header problem. If 7.0 is also problematic. I don't know what version can do a perfect conversion.

    I agree with Lori, it seems that you do not use bookmarks in WORD correctly I read his post. I also noticed that you show 7.0. These early versions often have bugs, and you need to update to the latest version of 7, currently 7.1.4. I would say the same update for AA8 namely 8.3.1.

  • Convert Word to PDF. Problem with page breaks

    I have Office 2007 and I am trying to convert a Word document 100 pages in pdf.  However, the pages are in different offence and I find myself with more pages in the pdf document that causes problems with my table of contents and index.  Any advice on how to convert the Word doc into pdf exactly?  Thank you

    Set the printer default for printer Adobe PDF before converting to PDF. Word Repagine documents when you change printers. If your default printer is not the Adobe PDF printer, then when the printer goes temporarily to the printer pdf for conversion you will see the change in the pagination.

  • problem encoding with word and pdf doc - error message - file conversion - Select encoding to make your document readable

    Hi, until an hour ago, I had no problem opening documents adobe, or word documents, however, when I try to open a pdf document is opened correctly, I have to save it, and then open with adobe, when I try to open the Word document of display of the error message - file conversion, select the encoding that makes your document readable? help please how to do everything back to normal?  I think I caused the problem when I tried to open a Word / PDF of my removable flash drive, can someone please tell me how to solve this problem, without a questionable download?

    Can I save as and then open with - and pdf opens the file - but before that I didn't have to do it just opened automatically

    Thank you.

    J

    I just stumbled upon this problem there is, it's an easy solution to calm. If it's a .pdf to locate the file right click and select open with, then choose program select by default, choose the adobe reader software. What it does for each .pdf file it will use adobe reader instead of trying to use the wrong program to open the file. Same thing with .doc and .docx files only instead of adobe reader choose microsoft word

Maybe you are looking for