Re: File names when saving as JPG
From: Glenn Alcott (galcott_at_nyc.rr.com)
Date: 06/11/04
- Next message: Michael Koerner: "Re: Ending HTML Slide Show"
- Previous message: Bill: "Custom Animation dialog box"
- In reply to: Kathy J: "Re: File names when saving as JPG"
- Next in thread: Kathy J: "Re: File names when saving as JPG"
- Reply: Kathy J: "Re: File names when saving as JPG"
- Messages sorted by: [ date ] [ thread ]
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
>
>
- Next message: Michael Koerner: "Re: Ending HTML Slide Show"
- Previous message: Bill: "Custom Animation dialog box"
- In reply to: Kathy J: "Re: File names when saving as JPG"
- Next in thread: Kathy J: "Re: File names when saving as JPG"
- Reply: Kathy J: "Re: File names when saving as JPG"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|