Applescript to change Page setup in PowerPoint for Mac

Very new to AppleScript.    I'd like to change the Page Setup to "On-screen show (16:9)".  Within PowerPoint it is under File>Page Setup>Size>Slides sized for : On-screen Show (16:9).    I did find within AppleScript that the Slide Size is a Property of the Page Setup Class within the Microsoft PowerPoint Suite.  It is also listed under the Application Class >Command Bar Class>Command Bar Control.  The Page Setup inherits it's properties from Base Object.
I tried to manually record the process of opening a PPT file and choosing File>Page Setup>Size>On-screen show (16:9) but it only recorded the process to activate PPT and open the file.
I wrote this script:
tell application "Microsoft PowerPoint"
     activate
     open {file"MacBook Pro Hard Drive:Users:Patrick:Desktop:AppScript.pptx"}
set slide size to "on-screen show"
end
I get the error "Syntax Error :  A property can't go after this identifier" and "slide size" is highlighted.
I'm stuck......Slide Size is a property of the Page Setup Class.  How should I write this ?
Script Editor V. 2.7(176) and PowerPoint for Mac 2011

http://answers.microsoft.com/en-us/mac/forum/macpowerpoint?tm=1366105550521.
That's where the PowerPoint experts hang out...
Clinton

Similar Messages

  • "Memory Full" error when changing page setup

    I'm running Crystal Reports 2008 and yesterday I had two landscape reports begin doing some weird things:
    Symptoms:
    -Any change to the Page Setup dialog throws the Memory Full error (even just bringing it up and clicking ok)
    -The reports were created as landscape but are displaying as portrait in Page Setup and in design view
    -A handful of fields are displayed without text in them.  If I delete these fields, save, and re-open other fields will not display information (in design view)
    Troubleshooting:
    -If I remove ALL fields from the reports, save, and re-open the report tells me I have an invalid printer but will allow me to change Page Setup.
      *While this works, I really do not want to create the reports again from scratch.
    -I have tried removing and re-installing Crystal 2008 with no luck.  However, it remembered my recently opened reports which makes me think the uninstall didn't remove everything.
    -I have rebooted to make sure all memory available is free.
    Does anyone have troubleshooting ideas for me?  Thanks in advance.

    The link takes me to a page saying "The system cannot find the file specified. "  I also tried downloading the .exe version and got the same result. 
    I was able to find an SP3 download but after unpacking the files and selecting my language I get a message "Crystal Reports 2008 SP3 Update can not install because the version of the product on the system is too low."
    I downloaded the SP3 file from here:  http://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReports2008-VersionandDownloadinformationforSPsand+FPs
    I also tried this one with the same effect:  Crystal Reports 2008 Reference [original link is broken]
    I assume I downloaded an update as opposed to the "full version", is there another full version available somewhere?

  • How do I change the default setting from Pages to MS Word for Mac?

    How do I change the default setting from Pages to MS Word for Mac?

    https://discussions.apple.com/message/13008817#13008817

  • How do I change page setup print margins from Milileters to inches?

    How do I change page setup print margins from Milileters to inches?

    This has to do with selecting the paper size in the print setup. If you select a (European) paper format that uses millimeters then the margins are in millimeters. To get inches just select an American paper format.

  • I have powerpoint for Mac on my imac.  I can't seem to get the active text box function to work like it did on my PC.  How can I insert an active textbox into a presentation that will allow me to type while presenting?

    I have powerpoint for Mac on my imac.  I can't seem to get the active text box function to work like it did on my PC.  How can I insert an active textbox into a presentation that will allow me to type while presenting?

    I've gotten a little further on this. The dynamic select is
    working fine. It's the "a href" code that isn't. I'm wondering if
    someone can look at this line and tell me if it's okay to build the
    query string this way. The storeid comes through fine but I'm still
    not getting the employeeid value to pass. Here's line that's not
    working:
    td><a href="registerStoreCust.php?storeid=<?php echo
    $row_storeRS['storeid']; echo "&employeeid="; echo
    $_GET['employeeLM']; ?>">Register
    Customer</a></td>

  • How do I install Netgear XE102 on my iMac?  It will not install off of the cd provided it appears to be only for Windows based computers.  Checked Netgear website and could not find a setup.exe file for Mac.

    Unable to install Netgear XE102 on my iMac.  Checked Netgear website and could not find a setup.exe file for Mac.

    That means either no software needs to be installed on a Mac or the product is incompatible with Macs. Contact NetGear tech support for help.

  • Keynote will not open in Powerpoint for Mac 2011

    I followed all the instructions for saving the Keynote presentation for Powerpoint. But, when Powerpoint for Mac 2011 tries to open it, it will not open and gives me an error message indicating it needs repair; I click repair, it says there is something missing. Help!!!

    There have been many postings on this problem recently. It seems that opening the exported PP in 2004 and saving it will then allow it to open in PP 2011. If you don't have an older version of PP, try to download OpenOffice or some other free office program, open the exported PP in there and then try in PP 2011.

  • Q. 2:  Powerpoint for Mac 2011  Version 1     How do I get PRESENTER VIEW to work so I can see my notes and the audience only sees the slide show?  Currently PRESENTER VIEW shows up on the flatscreen and my laptop shows only the slide show....?!

    Q. 2:  Powerpoint for Mac 2011  Version 1     How do I get PRESENTER VIEW to work so I can see my notes and the audience only sees the slide show?  Currently PRESENTER VIEW shows up on the flatscreen and my laptop shows only the slide show....?!

    As PowerPoint it a Microsoft product, you may find that you get better answers to your question on their PowerPoint forums.
    Best of luck.

  • Will presentations created  by MS Powerpoint for Mac run on a pc?

    Will presentations created  by MS Powerpoint for Mac run on a pc?

    Sorry - I see this should have been posted in Windows compatibility forum

  • Embedding YouTube video into PowerPoint for Mac

    How can one embed a YouTube video into PowerPoint for Mac 2010?  The video tutorials do not show the same Power Point (for Mac) that I'm using.  Even if I can just save (and retrieve) the file I just might be able to convert it to an MP4 for YouTube.  I've tried keepvid and it wants a valid file format.  The default is a text which doesn't work.  I've spent about 8 hours over the past 2 days trying to figure it out.  HELP!!!!!!

    Mac Office Powerpoint

  • Movie files embedded in Powerpoint for Mac 2011 play audio, but only show black (no video).

    I'm trying to embed a video in a presentation using Powerpoint for Mac 2011.  It successfully imports the video, but when I try to play the video in the slide it only plays the audio and black (no video).  I have tried .mov and .wmv files and neither works.  I have Flip4Mac on the machine which is a MacBook Pro 15", if that makes any difference.  The video in either format plays outside of the Powerpoint presentation and if I send the presentation to another MacBook Pro the video in the slide plays no problem.  Anyone have any ideas other than not using a Microsoft product on a Mac?

    I suggest you post your question on Microsoft's own forums for their Mac products, as it's their software you're having issues with:
    http://answers.microsoft.com/en-us/mac

  • Problems with editing Powerpoint for Mac in Office 2011

    First time posting,
    I seem to have delayed functionality in editing slides.  e.g. inserting shapes/text boxes/table etc, can be viewed, but on next slide I try the same and it is not visible, but may appear 5 minutes later when editing.  Also can not see some detail on preview, but they will then print out.  Incidentally when I send a file I have been working on to a PC, I can then see the various inserts I have made with no issue.
    I have Mac OSX version 10.7.5
    3.06 Ghz Intel Core 2 Duo; 4GB 800 MHz DDR2 SDRAM
    and Microsfot powerpoint for Mac 2011, version 14.4.5

    As Office is not an Apple product, I strongly recommend asking in the Microsoft Office:Mac forums here:
    Office for Mac
    Everyone there is a Mac user AND an Office user, something you can't say about Apple's forums. You will get the fastest help there and I think you will find the contributors more than helpful.

  • Hi Just been into the apple store and the assistant told me about Pages / Keynote and Numbers for mac that can be downloaded for free. When I've searched on the app store there is only a paid version! can anyone confirm that there is a free version?

    Hi Just been into the apple store and the assistant told me about Pages / Keynote and Numbers for mac that can be downloaded for free. When I've searched on the app store there is only a paid version! can anyone confirm that there is a free version?

    See Apple Up-To-Date Program
    http://www.freeforum101.com/iworktipsntrick/viewtopic.php?t=429&mforum=iworktips ntrick
    Make sure your Mac is set to English before you go to the App Store.
    Be warned however thast Pages 5, with a few exceptions is actually a downgrade with over 90+ features removed:
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&mforum=iworktipsn trick
    Peter

  • How to change page setup in reader 10.0.1?

    Can anyone help me out with this one please, each time I print, I need to change the page setup from Landscape to Portrait, I would like to know how to set this as default but only for Adobe Reader.
    I know that if I change the setting on the Printer then this will set it permanently for all applications, but I only want to set it for PDFs.
    If it cannot be done, please let me know, or if this has been fixed in a later version of Reader please let me know so I can try this.
    Thanks    

    You cannot. Each time Acrobat or Reader starts it simply reads the attributes of the system default printer. It does not store any attributes.

  • How can page margins be changed when printing from Firefox for Mac OS X? (This is easy to do on the Windows version.)

    Page margins can be adjusted from the page setup menu in the Windows version of Firefox, but there does not appear to be an equivalent menu in the Mac version.

    Hi onlyhuman2-
    I'm not familiar with the printing options using Windows. I've found this article on editing print options for a Mac: [[Printing a web page]]
    That shows you how to shrink the page, and to edit page headers and footers. I'm hoping that covers the margins you were hoping to change.
    Good luck!

Maybe you are looking for