Extracting image from word document and store it in filesystem using applescript

  • Posted: 30 July 2009 09:23 AM

    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 04:51 AM by shivank.aggarwal ]      
  • Avatar

    Posted: 02 October 2009 12:02 AM #1

    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.