Thanks a lot @DTS Engineer for your response — that solved my issue!
I was able to implement it successfully, and everything works as expected now.
I’m also sharing a small code example along with a screenshot in case it helps others who come across the same question.
AppShortcut(
intent: ResumePlaybackIntent(),
phrases: [
"Reprendre la lecture de \(\.$resumeVideo) avec \(.applicationName)",
],
shortTitle: "Reprendre la lecture",
systemImageName: "play.circle",
parameterPresentation: .init(
for: \.$resumeVideo,
summary: Summary("Reprendre la lecture de \(\.$resumeVideo)"),
optionsCollections: {
OptionsCollection(
ResumeVideoQuery(),
title: "Reprendre la lecture",
systemImageName: "play.circle"
)
}
)
)
Really appreciate your help!
Topic:
App & System Services
SubTopic:
Automation & Scripting
Tags: