Quick Look / QuickLook (internally is.workflow.actions.previewdocument
)
This action requires that Shortcuts has permission to use WFUserInteractionResource.
description
summary
Displays a preview of the input.
usage
QuickLook (true | false | variable)
arguments
fullScreen: Switch (Docs)
Allows Variables: true
Only enabled if: Device attributes match {"WFDeviceAttributeIdiom":"Pad"}
This action is always enabled inside Shortcutslang.
Accepts a boolean or a variable.
source json (for developers)
{
"ActionClass": "WFQuickLookAction",
"ActionKeywords": [
"preview",
"show",
"file",
"document",
"quicklook",
"quick",
"look"
],
"Category": "Documents",
"Description": {
"DescriptionSummary": "Displays a preview of the input."
},
"IconName": "Quick Look.png",
"Input": {
"Multiple": true,
"Required": true,
"Types": [
"public.data"
]
},
"InputPassthrough": true,
"Name": "Quick Look",
"Parameters": [
{
"Class": "WFSwitchParameter",
"Key": "WFQuickLookActionFullScreen",
"Label": "Full Screen",
"RequiredResources": [
{
"WFDeviceAttributes": {
"WFDeviceAttributeIdiom": "Pad"
},
"WFResourceClass": "WFDeviceAttributesResource"
}
]
}
],
"RequiredResources": [
"WFUserInteractionResource"
],
"Subcategory": "Previewing",
"UserInterfaces": [
"WatchKit",
"UIKit"
]
}