Inserting image in MSWord Document
Inserting image in MSWord Document
- Subject: Inserting image in MSWord Document
- From: "Sutapalli Satyanarayana" <email@hidden>
- Date: Fri, 15 May 2009 10:23:26 -0600
Hi, I am trying to insert an image into MSWord doc.
But the file path I am having is "file:///Library/Dictionaries/New%20Oxford%20American%20Dictionary.dictionary/Contents/Images/whales.png"
Is there any way to get the actual file path from the one I am having and insert the image in the document.
I am trying the following script which is failing.
tell application "Microsoft Word"
open (choose file)
...
...
set thePicPath to "file:///Library/Dictionaries/New%20Oxford%20American%20Dictionary.dictionary/Contents/Images/whales.png"
make new inline picture at newRange with properties ¬
{file name:thePicPath as string}
...
...
...
end tell
--Satyam.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden