![]() ![]() Launch Microsoft PowerPoint 2010 and open a. So it boils down to a pretty simple question: Is there a way for my code to find out whether or not the "Apply only." box is checked, before I use SendKeys? Of another clever trick I can use to make sure that option is unchecked before I send " myshape. Fortunately, PowerPoint gives you the option to compress all pictures in your presentation and also crop them. But now, if you run the second macro, the dialog comes up with the "Apply box" checked (I assume PowerPoint is trying to help me out by remembering that's what I used last time), and my %a actually checks that box, so I don't get the expected second round of compression. When you run the first macro, if compression has not already been done on this deck, the dialog defaults with the "Apply only" box checked, so the SendKeys unchecks it and it shrinks all images and works fine. But the second macro doesn't shrink the presentation size at all.īy inserting a MsgBox and looking at the state of the Compress Pictures dialog, I was able to figure out why. Most users will use the 150, save as, then realize they want to go further, so with the 150 version still open they will run the Compress96 macro and save that. So I wrote an identical macro except it chooses email (%e) resolution. I realized that some users may not think their file size has been shrunk enough, so they might want to compress again, from 150 down to 96dpi. The options are displayed in terms of the quality and file size The first step is to find the image you want to compress Word allows you to do this in Word 2010 and later versions: Display the Word Options dialog box Best Features Of Fx File Manager Fx File Explorer:- and Optimize your Memory for other usages and Optimize your Memory for other usages. jpg to the current slide, select it, call the dialog, uncheck "Apply only to this picture," set the compression level, and enter to execute. Search: Compress Media Files In Powerpoint 2010. tool like Workshare Protect 7 or a compression tool like ZipMail 11. So to make this work under all conditions, my approach is to add a small 300 dpi. pptx file in PowerPoint 2010, think-cell elements have lost any. Through experimenting, I learned that 1) A shape must be selected before you can invoke the Compress Pictures dialog, 2) The dialog will only present compression options smaller than the select picture, 3) if you un-check "Apply only to this picture" the command will also compress slide background images (which is what I want). From everything I've read, there is no method for this in VBA so I'm using SendKeys. Click to download the smaller file to your local computer. Wait for WeCompress to reduce the file size. Using PowerPoint 2010, I'm writing a macro to mimick PowerPoint's "compress pictures" function. Drag or click the add file button to choose your document or image.
0 Comments
Leave a Reply. |