Re: File names when saving as JPG

From: Glenn Alcott (galcott_at_nyc.rr.com)
Date: 06/11/04


Date: Fri, 11 Jun 2004 18:26:38 GMT

Is there some code I could use to change the way it names the files? The
reason is that after they are created, I need to retreive them in order. The
simplest way to do this would be to sort them alphabetically, but that won't
work because if there were 10 or more slides, slide10 would sort before
slide2. It would be better if the program left-padded the numbers with zeros
but obviously it doesn't.

Also, the folder it creates is not named after the presentation, but after
the file name that is provided to the SaveAs function. So if I tell it to
use filename test.jpg, it actually creates a folder called test and puts the
jpg files there.

Glenn

-----------

"Kathy J" <jacobskl@knotjacobs.coxatwork.com> wrote in message
news:uoLMkk9TEHA.2448@TK2MSFTNGP09.phx.gbl...
> Unless you run specific code to change the names of the files, the jpg
files
> will always be named as you indicate. The count will follow sequentially.
>
> One thing to note: If you are saving the entire presentation, PPT will
> create a folder (named with the name of the presentation) to hold the
> slidex.jpg files.
>
> --
> Kathryn Jacobs, Microsoft MVP PowerPoint and OneNote
> Get PowerPoint answers at http://www.powerpointanswers.com
> Cook anything outdoors with http://www.outdoorcook.com
> Get OneNote answers at http://www.onenoteanswers.com
>
> I believe life is meant to be lived. But:
> if we live without making a difference, it makes no difference that we
lived
>
>
> "Glenn Alcott" <galcott@compuserve.com> wrote in message
> news:640db05e.0406110639.577f267e@posting.google.com...
> > I am writing a VB program to automate the saving of Powerpoint
> > presentations as JPG files. This is working fine, but I have a
> > question about the file names of the exported JPGs. They are being
> > named with the word "slide" followed by a sequential number, i.e.,
> > "slide1.jpg", "slide2.jpg", etc. What I want to know is whether this
> > file naming scheme is always used, or if there are any circumstances
> > where the JPG files would be named differently. I am doing some
> > further processing on these files which will be a lot easier if I know
> > what file names to expect.
> >
> > Glenn
>
>



Relevant Pages

  • Re: Folder View problem--fixed----- thanks David
    ... |> | JPG files are associated with Windows Internet Explorer ver ... |> | folder. ...
    (microsoft.public.win2000.general)
  • Re: How to save desktop images as .jpg files ?
    ... >> of various aircraft and would like to caapture these as .jpg files so ... Save it to a folder on your HD. ... when you choose save picture as... ... > Comic book sketches and artwork: ...
    (alt.graphics.photoshop)
  • Re: Where does IE store temp files
    ... highlight all jpg files (which are called Active Server files in the File ... Type column despite being JPG files) in that folder but when I try to drag ... files did download in the sync process to my hard drive, ...
    (microsoft.public.win2000.general)
  • folder missing ?
    ... Twice in the last month a certain folder has disappeared from the drive. ... It was a collection of jpg files that I store on a large ...
    (comp.security.misc)
  • Re: Webcam questions
    ... taking pictures and saving them in JPG files ... ....taking movies and saving them in AVI files ... ....creating VIDEO STREAM and sent it over network or Internet. ...
    (microsoft.public.vc.mfc)