Page 1 of 1

ppt to keynote

PostPosted: Sat Jul 02, 2011 9:40 pm
by mpa15
Hi,

I'm trying to convert lecture to keynote format once they've been downloaded and moved to a specific folder. Below is the applescript I'm running - is there a generic way to refer to theFile's location.

set theDestinationFolder to "Macintosh HD:Users:mpa15:Dropbox:Summer 2011:Bio:Lectures:Midterm II:" as alias
tell application "Keynote"
open theFile
set theSlideshow to slideshow 1
set theDestinationPath to theDestinationFolder & (name of theSlideshow)
save theSlideshow in theDestinationPath
close theSlideshow
end tell

Re: ppt to keynote

PostPosted: Tue Jul 05, 2011 2:57 pm
by Mr_Noodle
Not sure what you mean here. "theFile" is an alias to the file. What is it that you need?

Re: ppt to keynote

PostPosted: Tue Jul 05, 2011 3:28 pm
by mpa15
Hi,

Here it the scenario I imagined: theFile would be opened in Keynote, saved as a .key file and the original ppt to be deleted. Keynote doesn't necessarily have to close. Thanks for your help!

Regards,
Maksim

Re: ppt to keynote

PostPosted: Thu Jul 07, 2011 3:22 pm
by Mr_Noodle
I'm still not sure what the issue is. I believe you can use "theFile" in the script or is there some problem that I'm not seeing?