I’d like to automate building some PowerPoint decks, but I’m puzzled as to how to add new slides using one or more specific custom layouts.
I’ve seen this example of adding a new slide using a pre-set slide layout option:
tell application "Microsoft PowerPoint"
tell active presentation
make new slide at end with properties {layout:slide layout text slide}
end tell
end tell
But how do I tell it to use a specific, named custom layout? I can’t find the syntax to refer to it by name or number. If it can’t be set at the time of creation, can it be applied after creation?
Thanks,
Mary