Re: Word 2 PDF
Re: Word 2 PDF
- Subject: Re: Word 2 PDF
- From: Richard Rönnbäck <email@hidden>
- Date: Mon, 14 Nov 2005 18:45:23 +0100
- Thread-topic: Word 2 PDF
Wayne, Richard,
The following will probably work
tell application "Adobe PDF 7.0"
open (choose file)
end tell
tell application "Microsoft Word"
activate
end tell
tell application "System Events"
tell process "Microsoft Word"
tell window "Print" --Note, I am not sure of this window's name in
English, since I am using a Swedish version, might work with "Window 1"
keystroke return
--delay 1
keystroke return
end tell
end tell
end tell
tell application "Microsoft Word"
close document 1
end tell
As you will notice I call the application "Adobe PDF" which is installed by
Adobe Acrobat and should be located in ~/Library/Printers/
You can not set the file path or the name, but it will get the name from the
document and the path setting is sticky, so if you set it once, by printing
one file manually it should stay in the same folder
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden