Action
DevonThink
Action to send draft to DevonThink group. Need to change the UIDs in the script
Steps
-
prompt
promptKey location
promptTitle Inbox location
promptMessage promptButtons Projects|Research|Global
includeTextField false
textFieldDefault includeCancelButton true
-
script
var output = draft.getTemplateTag("location_button"); if (output == "Research") { inbox = "FF6547C3-1913-4031-A4A8-E8C678F7CEC4"; } else if (output == "Projects") { inbox = "228CE4A0-2BF0-429E-AF75-A03EE9B5EFD9"; } else { inbox = "C3A7913B-5335-43EA-880A-19842E701750"; } draft.setTemplateTag("inbox", inbox);
-
url
template x-devonthink://createmarkdown?title=[[title]]&destination=[[inbox]]&text=[[body]]
useSafari false
encodeTags true
Options
-
After Success Trash Notification Info Log Level Error
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.