The Mac Observer

 
   
 
Extracting image from word document and store it in filesystem using applescript
Posted: 30 July 2009 07:23 AM [ Ignore ]
stars_1
Total Posts:  2
Joined  2009-07-30

I need applescript steps or commands to extract the selected image from word document and then save that image in PNG or JPEG format on the local filesystem.

[ Edited: 31 July 2009 02:51 AM by shivank.aggarwal ]
Profile
 
 
Posted: 01 October 2009 10:02 PM [ Ignore ] [ # 1 ]
Administrator
Avatar
Total Posts:  882
Joined  2001-06-17

I would look into accessing the clipboard in AppleScript.  You may need to use an applescript extension.  As a fallback, you could script key commands using GUI scripting.

Then it’s a matter of getting that image in an AppleScript friendly image editor like GraphicConverter, and saving that file.

Profile
 
 
   
 
 

Apple Stock Quote (AAPL)

Loading...

Hot Topics

TMO Express

Join the TMO Express Daily Newsletter to get the latest Mac headlines in your e-mail every weekday. Find out more!

Top Deals From DealBrothers.com

Recent Features

Support The Mac Observer

We noticed you may be running AdBlock on your computer. It takes real money to run this site and to deliver the news, tips, and opinions you love to read.

If you wish to block the ads that pay for the creation of our content, we ask that you instead support TMO Directly, either with a $5 monthly recurring contribution, or a one-time donation of any amount of your choice. Thanks!

Subscribe with Paypal Donate with Paypal