Setting a movie to play automatically on a Mac with AppleScript - Microsoft Community


i'm creating script take folder of photos , videos , create presentation each media file maximized , centered on slide of own. i've got pretty working, except autoplay setting. i'm sure it's syntax issue, have tried bunch of different stuff , nothing seems working. here couple of attempts:


#1
tell theslide
set themedia make new media2 object @ end 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 make new media2 object @ end properties {file name:themediafile, lock aspect ratio:true
set theanimation animation settings of themedia 
set animate of theanimation true set playsettings play settings of theanimation 
set autoplay play on entry of playsettings

thanks!
·dave



i should mention i'm trying set start = automatically under playback tab when movie selected.

did solve problem?

sorry didn't help.


hi dave,

 

given description, move thread office>powerpoint>microsoft office programing>office 2016 category giving professional support. it’s specific channel handles kind of questions.

 

thanks understanding.

 

tim

did solve problem?

sorry didn't help.


i convinced there bug in powerpoint's applescript handler doesn't work. however, did find if set animate true create "play movie" animation event first click of presentation remote advance slide movie on it, second click play it. (and of course third click advances next slide.)

tell theslide
  set themedia make new media2 object @ end properties {file name:themediafile, lock aspect ratio:true}

  set animate of animation settings of themedia true

end tell



Office / PowerPoint / Microsoft Office Programming / Office 2016



Comments

Popular posts from this blog

Can't Sign-in to OneDrive - Microsoft Community

Shared mailbox permissions - Microsoft Community

Outlook 2016 for Mac - Multiple Issues, Error 17884 - Microsoft Community