2

これを達成する方法はありますか:

ネストされたスライド

Applescriptを介してプログラムでプレゼンテーションを作成するときは?

余談ですが、私が今持っているコードは次のようになります。

tell application "Keynote"
    set themeprops to {theme:"Gradient", slideSize:{800, 600}}
    set s to make new slideshow at end of slideshows with data themeprops
    repeat with content in {"a", "b", "c", "d"}
        tell s
            set titleMaster to item 7 of master slides -- using magic number :(
            set newslide to make new slide
            tell current slide
                set title to content
                set master to titleMaster
            end tell
        end tell
    end repeat
end tell

回避策のアイデア: 私のアプリは Markdown ドキュメントからこのコードを生成するため、Markdown でプレゼンテーションを作成できます。見出しのレベルが異なれば、最終出力でのネストのレベルも異なることを願っていました。

4

0 に答える 0