Powerpoint 2004, Slide Design, Can not figure out how to do this

Hello all

I am looking for some help with Powerpoint 2004 and trying to apply a slide design (basically a background). I looked at the Powerpoint 2004 reference doc and can not find any notes on how to do this.

Has anyone tried this?
Any ideas?

Thanks
Chad


----------
--Open the application
----------
tell application "Microsoft PowerPoint"
	launch
	activate
	-- Make new pres
	make new presentation
	-- Set slide properties 
	-- look at page 99 on the ppt sheet to set the sheet styles
	make new slide at the beginning of the active presentation with properties {layout:slide layout title slide}
	
	----------
	-- this is where I will add the Slide Design item
	---------- 
	
	delay 5 -- time needed watch actions, will remove later
	beep 5 -- audio alert
end tell

----------
--this section will always be last
--this will close the active presentation with out saving the project
tell application "Microsoft PowerPoint"
	close every presentation saving no
end tell

--this will quit the application PowerPoint
tell application "Microsoft PowerPoint"
	quit
end tell
----------



----------------------------
--Scratch pad, anything below here will be removed later
----------------------------
--PowerPoint 2004 Applescript Reference.pdf
--Style sheets, p99
--picture effects, p88
--inserting a picture, p148

Model: Macbook
AppleScript: 2.0
Browser: Safari 3.0.4
Operating System: Mac OS X (10.5)

Yahoo!!!

I figured it out

Here is how I got it to work



tell application "Microsoft PowerPoint"
	launch
	activate
	set visible to true
	-- Make new pres
	make new presentation
	-- Set slide properties 
	-- look at page 99 on the ppt sheet to set the sheet styles
	make new slide at the beginning of the active presentation with properties {layout:slide layout title slide}
	
	----------
	--Set and apply theme
	----------
	--"Columns", the last word in the path is the theme, change this word and you change the theme (aka background)
	set the template_path to "Untitled:Applications:Microsoft Office 2004:Templates:Presentations:Designs:Columns"
	
	-- Apply the theme
	tell application "Microsoft PowerPoint"
		activate
		apply template active presentation file name template_path
	end tell
	----------
	--Set and apply theme
	----------
	
	delay 5 --needed to watch, will remove later
	beep 5 -- audio alert
end tell

----------
--this section will always be last
--this will close the active presentation with out saving the project
tell application "Microsoft PowerPoint"
	close every presentation saving no
end tell

--this will quit the application PowerPoint
tell application "Microsoft PowerPoint"
	quit
end tell
----------

Model: Macbook
AppleScript: 2.0
Browser: Safari 3.0.4
Operating System: Mac OS X (10.5)