View Single Post
Old 03-28-2014, 05:24 AM   #4
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by Toxaris View Post
Hitch is right. Although the option to save pictures from Word is now possible by right-clicking on them, this functionality is not ported to VBA or .NET. So, it is not possible to do with macro's or programming.
The best option would be to retreive the original pictures, since Word does some manhandling of pictures which lowers the quality. If that is not possible, you are best of saving as (filtered) HTML and have all the pictures neatly in the appropiate folder. Another option is to copy the picture and past it into a image editor and the last option is to grab the image from the word document and put it in a bitmap element in a macro/program and save that one. However, that has also several issues.

I investigated this issue at length in the past for both my macro and my program. In the end I never got it fully to work in a macro. The save as (filtered) HTML is your best option.
Given that "save as HTML, filtered," will output all the images exactly as the OP wanted, and takes about 30 seconds, really, I think creating a macro is overkill. Maybe he can create a script with AHK_L or ??? to open a Word file, and "save as..." if he's doing a lot of conversions, but...seriously, that sounds like a gigantic time-waster to me. Make-work, effectively.

BUT, that's just my $.02.

Hitch
Hitch is offline   Reply With Quote