0
如何以applescript开始幻灯片演示?Applescript |照片|幻灯片
tell application "Photos"
start slideshow using folder "Monday"
end tell
这这么想的工作
如何以applescript开始幻灯片演示?Applescript |照片|幻灯片
tell application "Photos"
start slideshow using folder "Monday"
end tell
这这么想的工作
从Photos
词典:
夹(名词),PL文件夹的文件夹。 保存相册等 文件夹,而不是媒体项目容器
开始幻灯片演示(动词)从媒体项目,专辑,文件夹或列表显示一个特设的幻灯片放映那一刻(从照片套房)
虽然命令start slideshow
的描述建议您可以显示从文件夹中的幻灯片,这是行不通的。
您必须获取文件夹中相册的媒体项目列表。
tell application "Photos"
set mediaItems to media items of album "myAlbum" of folder "Monday"
start slideshow using mediaItems
end tell