• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Getting PowerPoint Slide Info
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting PowerPoint Slide Info


  • Subject: Re: Getting PowerPoint Slide Info
  • From: Stan Cleveland <email@hidden>
  • Date: Fri, 14 Dec 2012 11:09:22 -0800

On Dec 14, 2012, at 10:31 AM, Ian was here wrote:

I'm trying to use AppleScript to get the slide count in a PowerPoint presentation, and the id of each slide. Haven't been successful in this and haven't found any examples after Googling it. Thanks in advance.

Hi Ian,

This works in PowerPoint 2011:

tell application "Microsoft PowerPoint"
tell presentation "My Presentation.ppt"
set numSlides to count slides
--> 5
set indexList to slide index of slides
--> {1, 2, 3, 4, 5}
set idList to slide ID of slides
--> {256, 273, 279, 260, 280}
end tell
end tell

HTH,
Stan C.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Getting PowerPoint Slide Info
      • From: Ian was here <email@hidden>
References: 
 >Getting PowerPoint Slide Info (From: Ian was here <email@hidden>)

  • Prev by Date: Getting PowerPoint Slide Info
  • Next by Date: Re: Getting PowerPoint Slide Info
  • Previous by thread: Getting PowerPoint Slide Info
  • Next by thread: Re: Getting PowerPoint Slide Info
  • Index(es):
    • Date
    • Thread