Action
ViewIt (script-based)
Steps
-
script
draft.setTemplateTag("temptag", "lorem ipsum");
-
prompt
promptKey prompt
promptTitle Prompt
promptMessage [[temptag]]
promptButtons OK
includeTextField false
textFieldDefault includeCancelButton false
-
callbackUrl
template shortcuts://run-shortcut?name=ViewIt&input=[[temptag]]
waitForResponse true
encodeTags true
-
prompt
promptKey prompt
promptTitle Prompt
promptMessage [[temptag]]
promptButtons OK
includeTextField false
textFieldDefault includeCancelButton false
Options
-
After Success Default Notification Info Log Level Info
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.