• 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: slide class in PowerPoint 2004
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: slide class in PowerPoint 2004


  • Subject: Re: slide class in PowerPoint 2004
  • From: Paul Berkowitz <email@hidden>
  • Date: Mon, 02 Oct 2006 09:32:38 -0700
  • Thread-topic: slide class in PowerPoint 2004

Title: Re: slide class in PowerPoint 2004
There does not seem to be an AppleScript command equivalent to the VBA InsertFromFile Method. (No need for 'Call' in there, by the way.) You're perfectly right, that will have to be remedied for the next version of PPT without PPT. I'll report the lack as a bug.

The object model of VBA and AS is sufficiently different here (there's no such thing as a Slides Collection Object), which might account for it. But there needs to be an equivalent command. I'll report it to Microsoft.

--
Paul Berkowitz



From: Robert Spychala <email@hidden>
Date: Mon, 2 Oct 2006 11:00:27 -0400
To: <email@hidden>
Subject: slide class in PowerPoint 2004

Hi,

This question is about the implementation of applescript in PowerPoint 2004.

I have the following native do Visual Basic command to insert a slide into the ActivePresentation and i'd like to do the same w/o using "do Visual Basic"


tell application "Microsoft PowerPoint"
    activate
    do Visual Basic "
    Call ActivePresentation.Slides.InsertFromFile (\"Macintosh HD:test.ppt\", ActivePresentation.Slides.Count )
    "
end tell


Given that the next version of PPT will not support Visual Basic I'd like to use the native applescript mechanism to do something similar but I can't see how the slide class can do it.

I couldn't find the info i need in http://www.microsoft.com/mac/resources/resources.aspx?pid=asforoffice

Any help would be appreciated!

thanks,

r.S.

--
Robert Spychala
phone: 1-718-218-8929
fax: 1-919-493-3299
email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >slide class in PowerPoint 2004 (From: "Robert Spychala" <email@hidden>)

  • Prev by Date: Re: Best way to get at these text elements
  • Next by Date: Excel Script can't get proper values
  • Previous by thread: slide class in PowerPoint 2004
  • Next by thread: Converting application classes to raw codes in chevrons
  • Index(es):
    • Date
    • Thread