Hey there,
I am trying to create an automator finder service where i can convert word documents (doc and dock) to pdf without actually going through the hassle of opening the document. I found the following script online, but even though it works the script actually requires the word application to be open to run the workflow. for instance, if i open word and then click on a document to convert it to pdf
- will then only convert it to pdf.
My request is can anyone please tell me the command as to how i can not have word open manually to run the script?
-> http://onabai.wordpress.com/2012/07/10/convert-word-files-docdocx-to-pdf-in-osx/
-
yeah... this is just telling Word what to do so you don't have to click it. You can probably add a line at the beginning to tell Word to open up... so you don't have to open it manually. could be something as easy as adding in...
tell application "Microsoft Word" to open
then maybe at the end you can auto close it (which could cause problems if you aren't wanting it to close) -
View attachment 97910 View attachment 97910 -
the attachment link doesnt work...
what is the error? you may need to add a delay statement so it'll wait until Word is fully open and ready. -
thanks again
https://dl.dropboxusercontent.com/u/24314318/Untitled.pngAttached Files:
-
-
i'd try it with the statement added inside the onrun section... before the set output line.
-
Appreciate your help. Cheers
Applescript Gurus, I need your help
Discussion in 'Apple and Mac OS X' started by Jitto, Jun 22, 2013.