1
我想仅为特定幻灯片运行PowerPoint幻灯片放映。 经过我的研究,我尝试了以下,但没有得到预期的结果。 这两个脚本都从第一张幻灯片开始幻灯片播放。使用Applescript在演示文稿中运行指定幻灯片的幻灯片放映
1)
`tell application "Microsoft PowerPoint"
activate
open "/Users/sanjeev/pppp.ppt"
set slideShowSettings to slide show settings of active presentation
set starting slide of slideShowSettings to 4
set ending slide of slideShowSettings to 4
run slide show slideShowSettings
end tell`
2)
`tell application "Microsoft PowerPoint"
activate
open "/Users/sanjeev/pppp.ppt"
set slideShowSettings to slide show settings of active presentation
run slide show slideShowSettings
go to slide slide show view of slide show window 1 number 4
end tell`
第二个脚本提供了一个错误也: 错误“Microsoft PowerPoint中得到了一个错误:幻灯片窗口的幻灯片视图不了解转到幻灯片消息。“编号-1708幻灯片显示幻灯片放映视图1
我看到一个问题Want Applescript to change a Keynote presentation to a particular slide 但我认为这只适用于KeyNote。
任何人都可以帮忙吗?
感谢
非常感谢!它运作良好。任何想法,如果我们可以在运行幻灯片时关闭在后台打开的演示文稿。 – san
演示文稿的窗口需要打开以供演示文稿运行。 –