Re: slide class in PowerPoint 2004
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