I'm creating a script that will take a folder of photos and videos and create a presentation with each media file maximized and centered on a slide of its own. I've got pretty much everything working, except for the autoplay setting. I'm sure it's just a syntax issue, but I have tried a bunch of different stuff and nothing seems to be working. Here are a couple of attempts:
#1
tell theSlide
set theMedia to make new media2 object at end with properties {file name:theMediaFile, lock aspect ratio:true, {animate : true, animation play settings:{pause animation: false, play on entry: true}}}
#2
tell theSlide
set theMedia to make new media2 object at end with properties {file name:theMediaFile, lock aspect ratio:true
set theAnimation to animation settings of theMedia
set animate of theAnimation to true set playSettings to play settings of theAnimation
set autoPlay to play on entry of playSettings
Thanks!
·Dave