• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Inserting image in MSWord Document
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Passing dropped items to shell script (From: Roger Howard <email@hidden>)
 >Re: Passing dropped items to shell script (From: "Mark J. Reed" <email@hidden>)
 >Re: Passing dropped items to shell script (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Re: Passing dropped items to shell script
  • Next by Date: Re: Passing dropped items to shell script
  • Previous by thread: Re: Passing dropped items to shell script
  • Next by thread: Re: Passing dropped items to shell script
  • Index(es):
    • Date
    • Thread