Is it possible for a Safari share menu shortcut to add the current page to DTTG’s reading list directly?
-- Add current Safari tab to DEVONthink 3's reading list tell application "Safari" tell current tab of window 1 set theURL to URL set theName to name end tell end tell tell application id "DNtp" try add reading list URL theURL title theName display notification theName with title "Added to reading list" on error error_message number error_number if the error_number is not -128 then display alert "DEVONthink" message error_message as warning end try end tell
I’ve been trying to do something like this in Shortcuts for iPadOS and I’m failing dismally. I can open the Reading List fine using an x-devonthink call and I can create a new bookmark in any group. (Don’t laugh – it took me hours to get even this far…)
What I can’t find is a way either to move/add the imported bookmark to the Reading List programmatically, or to move it directly there from Safari without having to import it at all (as Christian’s script does).
I thought that Open URL with
might work, but it doesn’t – it just creates the bookmark in the Global Index, rather than the Reading List.
Is this actually possible or am I missing something obvious? Again.
If it’s not possible, can it be added to the Infinite Wishlist of Doom please?