zeitlings Posted February 15 Share Posted February 15 (edited) DEVONthink 3 Portal Advanced DEVONthink 3 interface for your databases. Search files or groups and interact with them through Alfred. Use A dvn [ ] [ . ] [ {query} ] dvn Displays the available databases dvn . Displays global actions dvn {query} Initiates a global search dvn :c Shows internal configuration Use B ddvn [ {query} ] ddvn {query} Initiates a file filter brute-force search (fast) Feature Overview (Selection) Global and Database Search Tag Search with Auto Suggest Document Actions move, replicate, duplicate, create annotation file, find similar items, etc. Extra Get the BibTeX reference or CSL formatted citation from a DOI, ISBN or jstore URL. CSL formatted citations can also be generated from an existing BibTeX reference.1 Multiple Document Actions move, replicate, open all, reciprocal linking, etc. Navigate the Folder Structure Import New Documents Customizable Annotation Templates Colored Labels Colored Flags on Labeled Records Documentation You can find the full documentation of the workflow on Github. Edited August 13 by zeitlings v1.0.0 Link to comment
dfay Posted February 17 Share Posted February 17 Can you post an .alfredworkflow file somewhere? Link to comment
zeitlings Posted February 22 Author Share Posted February 22 (edited) Hey, @dfay. Ah, the file extension got lost somehow. You can try again now: https://github.com/zeitlings/alfred-devonthink/releases or just append ".alfredworkflow" to the filename in Finder. Edited March 3 by zeitlings Link to comment
dfay Posted March 2 Share Posted March 2 Hi I was able to download it but it won't run in Venture b/c of security issues. And I can''t find the source for the executable in your GitHub repo. Link to comment
zeitlings Posted March 3 Author Share Posted March 3 Ah, I shouldn't have linked to the explicit release. There has been another update in the meantime that fixes the problem that was caused by leaving some deprecated paths in place. The security issue is supposed to be dealt with by the permission handler, which should work in the latest release. The executable is always located in the workflow folder (double-click on any object in the Alfred workflow and at the bottom left of the window that opens there is a folder icon that opens that folder when you click on it). Link to comment
Epitome Posted August 1 Share Posted August 1 Hi zeitlings, this looks exactly like what I was hoping for from an Alfred - Devon workflow, but I can't seem to get it work. Anything other than "dvn ." gives me the error: "ERROR: DEVONthink 3[Script Filter] Code 133: Exited with error code but no message”. Have tried it with default workflow config as well as all options off, in case it was a custom setting I adjusted that was causing it. I’m assuming it’s probably a permissions issue, or I'm missing something really obvious, but I've exhausted my google-fu and I can't even figure out at which point in the chain it's dying. I also have no idea how to get Alfred to produce a more detailed error log. Am using version v0.2.1-alpha, with Alfred 5.1.1, and DEVONthink 3.9.2, on macOS 13.5, and Hat size 59-60cm, if any of that is of use in helping me. Any insight or direction to the next step in trying to figure out what’s happening would be incredible. Full debug log if any of it helps: [09:58:57.386] Logging Started... [09:58:59.209] DEVONthink 3[Script Filter] Queuing argument '(null)' [09:58:59.465] DEVONthink 3[Script Filter] Script with argv '(null)' finished [09:58:59.471] ERROR: DEVONthink 3[Script Filter] Code 133: Exited with error code but no message [09:58:59.561] DEVONthink 3[Script Filter] Queuing argument 't' [09:58:59.573] DEVONthink 3[Script Filter] Script with argv 't' finished [09:58:59.576] DEVONthink 3[Script Filter] { "rerun" : 0.10000000000000001, "skipknowledge" : true, "items" : [ { "title" : "Fetching documents from all databases...", "icon" : { "path" : "icons\/search.png" }, "subtitle" : "", "valid" : false } ], "variables" : { "rerun" : "did_run", "token" : "valid", "prev" : "t" } } [09:58:59.678] DEVONthink 3[Script Filter] Queuing argument 't' [09:58:59.877] DEVONthink 3[Script Filter] Script with argv 't' finished [09:58:59.885] ERROR: DEVONthink 3[Script Filter] Code 133: Exited with error code but no message Link to comment
zeitlings Posted August 13 Author Share Posted August 13 Hey @Epitome, the issue was introduced with a dt3 update a while ago. Other than that, I've been using the workflow quite constantly myself without issues. I've just uploaded an updated version that should work for you, hopefully. Let me know how it works out for you! Among numerous internal changes, some things are new, e.g. Import Memory - Groups previously selected for importing are remembered (configurable) Document Filters (Globally and per Database. Accessible via dvn .) Today (files worked on today) Recently Modified Recently Added Due Soon Overdue If a document is locked, it is indicated using Apple's SF Symbols. These may need to be installed. Internal configuration via dvn :c V1.0.0 Release 🎉 cands 1 Link to comment
Epitome Posted August 15 Share Posted August 15 Incredible! Thank you so much, it works perfectly now. I haven't had a chance to play with all the features yet, so far though it seems really well thought out. Looking forward to seeing what it can do! zeitlings 1 Link to comment
Joel a Posted August 26 Share Posted August 26 This is just fantastic! It could complete convert me to using DEVONthink entirely. I'm still trying to get the hang of applying actions to buffered items, but I think that's going to be so handy! One question: I saw that you included this script in the workflow package: dt3ReferenceURL.scpt. How do I get it to run. I use PDF Expert, and I'd love to be able to open the corresponding item in DEVONthink, for further processing, or especially, for creating a Markdown link to the DEVONthink item, which I can then paste into Obsidian or an OmniFocus task – or wherever! Actually, what would REALLY be useful, is a version of that script that could streamline the process of being in Finder, selecting a particularly file, and being able to jump to the corresponding item in an indexed DEVONthink database. Any chance this script could be adapted for that? Link to comment
zeitlings Posted August 26 Author Share Posted August 26 (edited) Hey @Joel a, glad to hear you like it! Regarding your first question, try activating the workflow with the short-cut (by default: ⇧+⌥+Space) while reading a document in PDF Expert. Below your open databases, you will find an option to copy the devonthink-item-link for the current pdf page, provided the pdf does live in one of your databases. FYI, the included script is a dehydrated version of what comes with my DEVONthink ↔ PDF Expert workflow. If you care about deep linking (selection and annotation links), you might want to check it out. 42 minutes ago, Joel a said: Actually, what would REALLY be useful, is a version of that script that could streamline the process of being in Finder, selecting a particularly file, and being able to jump to the corresponding item in an indexed DEVONthink database. Any chance this script could be adapted for that? Try to send the file(s) selected in Finder to the workflow's Universal Action: Press ⌘+/ (or whatever you have configured) to launch the Alfred "Action panel" where you can find it. If the file is indexed by DEVONthink, you will see the "Record Action" for it right away. From there it's just hitting enter or ⌥+Enter to jump to the file in Dt3. If you send multiple files that are indexed, you will see the same actions that are available for buffered documents sent to the Universal Action (Move, Replicate, Link together...). Edited August 26 by zeitlings Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now