powerpoint >> Getting slide number of current slide??
by elektrobank » Thu, 02 Apr 2009 01:10:27 GMT
Version: 2008
Operating System: Mac OS X 10.5 (Leopard)
Processor: Intel
I'm trying to get the following from info from PowerPoint, the current slide # as well as the notes.
I tried the following:
return slide number of slide of view of active window
But that only works when you actually click on the current slide, if it's running in presentation mode it says "missing value", so that doesn't really help. Does anyone know how to get the slide number and notes of the current slide while the presentation is actually running?
I'd doing this with PP 2008, which is the target platform, but if this could work with 2004 too, that would be great.
Thanks!!
powerpoint >> Getting slide number of current slide??
by elektrobank » Thu, 02 Apr 2009 01:12:30 GMT
Sorry, I forgot to mention that I'm trying to do this with Applescript.
powerpoint >> Getting slide number of current slide??
by Steve Rindsberg » Thu, 02 Apr 2009 03:15:37 GMT
In article < XXXX@XXXXX.COM >, XXXX@XXXXX.COM
as well as the notes.
running in presentation mode it says "missing value", so that doesn't really help.
Does anyone know how to get the slide number and notes of the current slide while
the presentation is actually running?
work with 2004 too, that would be great.
The VBA equivalent of what you're doing is
ActiveWindow.View.Slide.SlideIndex
Which gets you the current slide in normal view.
To do what you're after, you'd do:
SlideShowWindows(1).View.Slide.SlideIndex
You'll have to do the VBA --> Applescript translation
Note: generally you want SlideIndex rather than SlideNumber; Index tells you which
slide it is. Number tells you what number will appear on the slide if numbers are
displayed ... if the user's set slide numbering to start at 42, then the second
slide would be Number 43 but Index 2.
powerpoint >> Getting slide number of current slide??
by elektrobank » Thu, 02 Apr 2009 03:26:01 GMT
I already know how to do it in VB, the problem is that there is no equivalent way to do this in Applescript. The only way I found to get the slide number was what I wrote below, but that only works if you actually click on the slide in design view, it doesn't work in presentation mode. Any idea how to do this in Applescript?
powerpoint >> Getting slide number of current slide??
by Steve Rindsberg » Thu, 02 Apr 2009 09:31:27 GMT
In article < XXXX@XXXXX.COM >, XXXX@XXXXX.COM
equivalent way to do this in Applescript. The only way I found to get the
slide number was what I wrote below, but that only works if you actually click
on the slide in design view, it doesn't work in presentation mode. Any idea
how to do this in Applescript?
Not a clue, I'm afraid.
Have you checked Paul Berkowitz' VBA to Applescript guide (available on
MacTech's site)?
slide #
it's
really help.
slide while
could
you which
numbers are
second
Similar Threads
1. How do I insert slides without changing numbering of existing slid
2. footers, slide master, slides, viewing footer text on slides
Version: 2008
Operating System: Mac OS X 10.5 (Leopard)
Processor: Intel
Finally discovered what controls the showing footer on the slides. I could not find documentation in any help files, but finally stumbled on it by process of elimination. To get the date, footer or page number to show up on the slides, you have to View: Header and Footer, and check boxes for each field. Also if you want to have a better view of footer text, view and edit it in the View: slide master view, rather than the header and footer box, which has a tiny text window.
3. "insert slide" from slide sorter always inserts title slide
4. Master slide is unique to each slide - I want master to affect all slides
Version: v.X
Operating System: Mac OS X 10.4 (Tiger)
Processor: Power PC
Hi
I have been supplied with a 40 slide presentation. From what I have read I should be able to change say the font on the slide master and see this carry through to all slides. It does not. It only affects the slide I was working on. Why is the slide master not affecting all slides? I have opened the file in Powerpoint 2004 too and the same thing happens. Help - I am desperate.
5. VBA: getting current slide info, other issues
6. Detect current slide number, and notes page
Hi,
I am currently using VB.net to create an application.
I need to do a basic thing with Powerpoint.
The user start a slideshow, and go to slide nb 3
I would like with my VB.net application :
1) detect the current slide number : 3
2) read the notes pages
Can you help me ?
Thanks
F
7. Current Slide-number ..?
8. Find Current Slide Number
There was VBA Code suggested to find the current page number of a open power
point.
They had: SlideShowWindows(1).View.Slide.SlideIndex
I tried the same thing and got an error:
I am using PowerPoint 2000 sp3
This is my code:
Set oPPT = GetObject(, "PowerPoint.Application")
sn = oPPT.SlideShowWindows(1).View.Slide.SlideIndex
The error I get is:
"SlideShowWindows (Unknow member): Integer outof range. 1 is not in the
valid range of 1 to 0.
Can someone help!!!
Gary