Combining multiple small .pptx files into one larger .pptx

So I'm a newbie when it comes to powershell and can't figure this out.  Here's the scenario, I have a file named "Multi organization.pptx" in a directory, within this directory I also have sub-directories labeled "Organization 1",
"Organization 2", etc.  I have a .csv file with the correct order to place the organizations in the  multiorganization.pptx.  What I need powershell to do is search each of these sub-directories for their .ppt or .pptx take the entire
presentation and place them in the "Multi organization.pptx" in the order they are listed in the .csv and if there isn't a .pptx in the sub-directory then it should skip that one and move to the next item in the .csv.  
A couple notes all the slides are 16:9 ratio and must keep source formatting.  The script should also know to search for .ppt as well.

Well below is what I have developed so far.  I need assistance pulling ppt's based on the CSV name (so organization 1 folder would have organization 1 ppt in that folder).  All these ppts are custom layouts, which could make this rather arduous.  Also need assistance with pulling all slides from given presentation and putting them in the Multi-organization.pptx.  I figure if I get help developing a solid code here, then it may be easier for the Powerpoint developers forum to assist. #Set office to Open
Add-type -AssemblyName office
$Application = New-Object -ComObject powerpoint.application
$application.visible = [Microsoft.Office.Core.MsoTriState]::msoTrue
$slideType = "Microsoft.office.interop.powerpoint.ppSlideLayout" -as [type]
#Specify path
$path = "Multi-organization.pptx"
#Import CSV and Tell PS to get specified pptx files
#Need CSV Command to pull pptx's based on CSV object
Get-ChildItem -Path $path -Include "*.ppt", "*.pptx" -Recurse |
ForEach-Object{
$presentation = $application.Presentations.open($_.fullname)
$customLayout = $presentation.Slides.item(1).customLayout #Need to know how to grab all slides
$slide = $presentation.slides.addSlide(1,$customLayout) #need command to place slides in consecutive order from CSV pull.
$presentation.SaveAs()
$presentation.Close()
"Modifying $_.FullName"
$application.quit()
$application = $null
[gc]::collect()
[gc]::WaitForPendingFinalizers()One thing I did notice was the slide pulled the layout and inserted only one slide but left out the text box and words.  Will the words need to be added after the script runs?  If so it seems to defeat the purpose of automating the task.

Similar Messages

  • How to combine multiple purchased aac files into one aac file

    I recently purchased in iTunes an album consisting of 16 m4a files.  I ended up creating a playlist in iTunes for the songs.  I would like to create one m4a file which combines all and then play it in iTunes.  Is the copy protection preventing me from doing so?
    I know how to convert m4a files that I have converted to mp3 and combine them using Terminal with a cat command.  Then I import that combined file into iTunes.  All is well in this case.  I tried this with the 16 m4a files and I could not import the resultant mp3 file into iTunes.
    Any way to combine multiple purchased aac files?

    A simple way to accomplish the job, though not recommended is to print the 2 page file to a new PDF with multi-up (assuming you select vertical rather than horizontal locations) and adjust the paper in the Adobe PDF printer to be 8.5X22. At least you might give it a shot. Some variation, along with rotation possibly, might work.

  • How do I combine two user iPhoto files into one...keeps blocking the pics between users

    How do I combine two user iPhoto files into one...keeps blocking the pics between users on the same Mac?

    Put the library on an external hard drive that is formatted as shown in this screenshot:
    OT

  • How to combine a few PDF files into one with Adobe reader?

    how to combine a few PDF files into one with Adobe reader?

    Hi aho,
    You would need either Acrobat (link to free 30 day trial) or our PDF Pack subscription service to perform that task.
    What can I do with Reader?
    Let me know if you have further questions!
    Regards, Stacy

  • How do I combine more than 12 files into one PDF file?

    How do I combine more than 12 files into a single PDF? That's why I upgraded to Adobe XI Pro.

    Hi Marshall32,
    If you have Acrobat Pro, you can combine more than 12 files by choosing File > Create > Combine Files into a Single PDF. The 12 file limitation is only imposed by Adobe PDF Pack online service. Acrobat itself doesn't have such a limit.
    (If you haven't already, you can download Acrobat from here: https://cloud.acrobat.com/acrobat.)
    Best,
    Sara

  • How do I combine multiple single pdf's into one pdf document w/ multiple pages?

    How do you combine multiple single page pdf's into one pdf document w/ multiple pages?

    Hi Sandra,
    You have ExportPDF subscription from Adobe which would not combine files for you. It is only used to convert PDF into different formats.
    For Combining PDF you might to purchase the different subscription : PDF Pack
    Let me know if you have any other question
    Regards,
    ~Pranav

  • Combining two seperate pagemaker files into one pagemaker file.

    We are having done two seperate pagemaking files in two different systems. We are in need to combine/join these two pagemaker publications into one pagemaker publication. How to do this?

    There's several options.
    1. If the two publications are on different PCs, then create a PDF of each and combine them in Acrobat.
    2.Use the Book utility to combine the files when you print.  They need to be on the same PC.
    3. If the two publications are on the same PC (with all the necessary fonts and images), and the files are small, i.e. no more than a few pages, then open both publications in PM.  Tile the two publications side by side.  Add the required number of new pages to the first document, and have "New page 1" opposite "Page 1" of the second publication.
    With the pointer tool selected in the second publication, click Edit - Select All.  Then quickly drag all the objects acroos to "New Page 1" in the first publication.
    Do the same for the remaining pages - hence the requirement for not having too many pages.
    Use File - Save As to save the first publication with a new filename.  All links to images will be preserved.

  • Store refusing to combine multiple BB gift cards into one

    Hi,
    I have few egift cards which can be used in-store or online. I want to combine them into one to keep track easily.
    I went to BB store in Milpitas CA, and the store manager rudely told me that I can't combine gift cards.
    Please let me know if I could get the egift cards combined?
    Thanks!

    Good morning anjulg,
    With so many e-gift cards, I can understand that it may be difficult to manage all of them and keep balances in order. Typically, customers are able to redeem up to 15 gift cards in store, and 10 on BestBuy.com. While the limitations of how many gift cards you may purchase at one time is much lower, you should also note that the limit for a balance on a gift card is $2,000.
    I’m sorry to hear you had trouble combining your e-gift cards at our Milpitas, CA store, and for any rudeness you may have encountered. However, the store would have been correct in denying the combination of your e-gift cards, as transferring the value is outside the E-Gift Card Terms and Conditions. You may view these terms and conditions here. You may also want to check out the Gift Card Terms and Conditions on BestBuy.com.  
    I apologize for any disappointment this may cause you. If you should have any other inquiries or need further assistance, please let me know.
    Regards, 
    Tasha|Social Media Specialist | Best Buy® Corporate
     Private Message

  • How can I combine 200+ XDP (XML) files into one spreadsheet or database for analysis?

    Hi all,
    I've got 200+ XDP files that were created by entering data into a LiveCycle PDF form 200+ times and then exporting the data as XDP 200+ times.
    Now, I want to view all the data at once (for example, in an Excel Spreadsheet or database) so I can look for trends in the data or come up with a summary (for example, 180 of 200 responses answered Question 1 'Yes'). The form does have some image fields, but I don't need to see or analyse those fields.
    I'm a bit of a newbie. Is there an easy way to do this? Thanks!
    - John

    I had a similar goal to gather data from a folder full of XDPs into a spreadsheet to track user behaviors, capture commonly entered values, and run reports.
    If you are familiar with Python, I highly recommend creating a simple script using Python 2.6 and the elementTree (effbot.org) libraries.
    Since I cut my teeth on this project, I found it helpful to break down the script's tasks into individual parts. The material and examples for getting a folder's contents, writing variables in lists, and using elementtree is as terrific as it is scattered in location and diverse in implementation.
    1. Grab an xdp in your directory ( for book in path: )
    2. Parse the xml by using the elementtree iterator
    3. Assign your element's values to variables during iteration
    if element.name == 'dataNode':
         variable = element.text
    4. At the end print your variables with deliminators between each (I used a pipe "|" because commas were commonly used in our forms)
    print "%s|%s|%s|%s|%s" % (currentFileName, variable1, variable2, variable3, variable4)
    Once you are happy with the data printed out to your console; and each row corresponds to a xdp, stream the output to a file and import that file into Excel in a CSV-style text import (specifying your deliminator during the import process)
    so if your script that does the above is called "xdpGrabber.py", run:
    $ python xdpGrabber.py >> xdpSpreadSheet.txt
    and open xdpSpreadSheet.txt in excel.
    There are some gotchas here - repeating nodes can be tricky, and heavily nested or scattered xml structures will add much more complexity to the script.  However, if you are only looking for certain fields that always come in the same order when reading the xdps from top to bottom you can get them using simple "if element.name == 'stuff'" references in the order they appear - as elementtree parses from top to bottom.
    If this is appealing to you, I suggest you run one of your sample xdps against the example script given here: http://www.xml.com/pub/a/2003/02/12/py-xml.html
    I used Python 2.6 and elementtree on a windows XP laptop.  I would routinely create spreadsheets from 3000+ xdps, each with 50-100KB of data, in under 15 minutes.  I'm guessing the real bottleneck is streaming the output to disk. There isn't much out there that can compete with elementtree for speed reading xml!
    If you need some assistance getting started  feel free to reply here or message me for an example script.
    Good luck!
    -Kasey (scriptocratch)

  • Easy or otherwise: combining multiple complex ivideo projects into one

    I'm tempted to [finally] invest in fcp--just a matter of time--but at this particular moment (urgency) the decision would be made for me if I was sure I could do the following, which in imoviehd has proven well nigh impossible. I have six movie projects, each rather complex, that I want to combine into one movie project (for dvd purposes of letting viewer watch the whole movie straight through, in addition to watching each movie [chapter] separately). I've tried several ways to drag and drop the elements from one imovie project into another, but it is not working at all (the transfer starts out okay, but then it indicates the transfer will be, ahem, several thousand minutes to complete. The movies are between 2 and 88 GB, total run time for all six is 37 minutes.
    I guess my question is whether someone can tell me that there's an easier way to do this in fcp.
    thanks for any edification.

    This is stupidly simple in FCP, and authoring the dvd you want is stupidly simple in DVDSP.
    I've never used imovie, so I've no idea how that works, but in fcp it's a simple copy/paste from one sequence to another until they're all strung together.
    But I dunno how to get your material out of imovie and into fcp unless you export the finished pieces, convert them to .mov instead of .dv and import those.

  • How to combine two pages (not files) into one long vertical page

    Is there a way in Acrobat 9 Pro to combine (concatenate) say two 8.5"x11" pages and create a single 8.5"x22" page?
    Right now I'm having to do this by importing one page into Photoshop, extending the canvas, and pasting in the second page into the extended canvas space.  Very kludgy. While this works, saving the resulting PDF (even after removing the option to preserve editability in Photoshop) still results in a file which is a whopping 2.5MB in size as compared with around 25KB for the original PDF file which was spanning 2 pages.
    Ultimately what I'm trying to do is to be able to view a long document which was created in MS Word 2007 and then saved as a PDF, in a web browser by scrolling, without having page breaks.  Trying to increase the page dimensions is MS Word 2007 prior to creating the PDF worked to a point but Word 2007's maximum page length is 22 inches and as luck would have it, the document requires about 23 inches in length.
    I've tried using the custom page setting under the crop tool in Acrobat 9 but I can't seem to get the modified page dimensions to be accepted.  Acrobat 9 seems to accept the input and then nothing changes with the page's dimensions.

    A simple way to accomplish the job, though not recommended is to print the 2 page file to a new PDF with multi-up (assuming you select vertical rather than horizontal locations) and adjust the paper in the Adobe PDF printer to be 8.5X22. At least you might give it a shot. Some variation, along with rotation possibly, might work.

  • Can we combine multiple excel files into one excel file using SSIS?

    I have a bunch of excel files in a specified folder. I wanted to combine all the excel files into one excel file by adding additional tabs in one excel file. Can I do this using SSIS?
             OR
    I know using macro we can combine multiple excel files. Can we run a excel macro in SSIS? Please help me.
    Actually the complete package is this:
    Step1: Using FTP task I'm downloading the bunch of excel files into a folder.
    Step2: Above implementation is the second step that I have to do.  

    You can do it in two steps
    1. First get all data from excel sheets to a sql staging table. For that you need to use a looping logic as explained in below link (you dont required the additional logic used for checking file name etc in below example as you need all files). Also make
    source as excel instead of flat file
    http://visakhm.blogspot.in/2012/05/package-to-implement-daily-processing.html
    2. Once you get the data onto a single table, use below to get it exported to multiple sheets within same excel destination file
    http://visakhm.blogspot.in/2013/09/exporting-sqlserver-data-to-multiple.html
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Combine files into one MP3 file

    I hope I can explain this correctly, but I want to know if there is a way to combine chapters of a disc into one larger MP3 file. I am importing all of my audiobooks into iTunes so that I can listen to them on my iPhone. However, there are so many discs with chapters that I would like to condense them into fewer but larger files. I hope this would condense the overall memory usage and make it easier to navigate.
    Is there a program on the Mac or for the Mac that can do something like this? I am on an iMac with Snow Leopard.
    THANKS!!!!

    See this -> Join Together
    "Join Together automates the process of joining the files of selected iTunes tracks together with QuickTime and exporting them as a single AAC Music or Audiobook file/track. Optionally, you can then create a "chapterized" audio file of the exported AAC file with pointers to the individually joined tracks."
    I am on an iMac with Snow Leopard.
    You need to change your signature.

  • Combine bmp files into one single pdf?

    I've got 76 scanned pages in bmp format, and need to print them. Ideas? I can't be bothered to select each one of them separately in Preview and click on Print, then OK 76 times...
    Many thanks.

    There are some Apple Script Folder Action scripts that will convert image files from one format to another, so you can drop a set of images into a folder and they will all get individually converted to another file format. I don't know if you can create a multi-page pdf bundle, unless you have PostScipt maybe, then you can just append all the ps files into one large multi-page PS file.
    Even working with Automator you will have to learn a little about scripting anyway. Typing text commands in Terminal isn't that much different. Fink is really not that hard to install and work with. You do have to learn a little about Terminal and how to execute comands from the shell prompt.
    I think the solution to your problem would probably involve a combination of an Apple Script that executes a Terminal command to run the ImageMagick convert utility, and I think that it could be attached as a Folder Action to operate on a group of files when you drop them into it. I am not sure if Apple Script or Automator can do this work all by itself. They are really just fancy GUI wrappers for the instructions to other programs to do what they do. By themselves they don't actually do the work, they facilitate the flow of the work to the appropriate tools. ImageMagick is one such appropriate tool for your image conversion problem.
    I have been thinking about setting this up to handle faxing out a multi-page pdf document that is created by scanning single pages as individual jpg images. Sometimes I have to fill out a form and fax it somewhere, and my scanner is a single sheet scanner. So that would be handy to drag and drop a few pages of jpgs to a folder and have the convert utility bundle them to a pdf and have Preview open it, ready for faxing. Now, I use Terminal to
    cd ~/Desktop (or folder that contains my scanned jpgs)
    convert *.jpg fax_file.pdf
    open -a Preview fax_file.pdf
    Then in Preview Print... and Fax
    I could fax right from the command line also, but I like being able to look at the document first to check for errors, and get the fax number from Address Book.
    I'll post back if I ever get an Apple Script/Folder Action working, but I am in the middle of upgrading to Tiger and backing a lot of files up, so I might not get to work on it for a while.
    Try out fink, there are lots of free software tools that you might find useful.
    G3 Desktop, SonnetEncoreZIF G4 1GHz, 768MB, WingsAV-6MB, DVR-106D, 120GB Maxtor   Mac OS X (10.3.9)   PCI-TempoUltraATA66 120GB, 60GB, TangoUSB/FW, ATI Radeon

  • Master pdf from multiple smaller pdf files

    I know that I can merge several pdf files into one larger file and I am having to do so because of a footer that has to be on every single page. My question is.. can I create a "master" pdf which is made up of the other pdf files so that if one is edited it will automatically update the master pdf. I am able to do this when creating solid models in solid works, when i edit the solid it updates the drawing that it is linked to. Thank you for any help/advice.

    However you can create a new PDF (just a print probably, not PDF Maker) of the document and if the page size is the same you can use Replace Pages to insert it into the master document. The markup will not change. (If you use PDF Maker, I am not sure what happens with the markup.)

Maybe you are looking for