Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


dvcrn last won the day on May 23

dvcrn had the most liked content!

About dvcrn

  • Rank

Recent Profile Visitors

369 profile views
  1. dvcrn

    Alfred -> DEVONthink

    Looks like it's not that hard after all. Got a little proof of concept with the applescript interface working. It's not done yet but I'll try to get a update out this weekend / early next week ?
  2. dvcrn

    Alfred -> DEVONthink

    Just a heads up - I tried rewriting the search to use DEVONthinks search interface but it looks like that's restricted to the currently selected database if not specified. I was also not able to find a way to get a list with all open databases that could be usable for this so I'm throwing the towel for now. If anyone has an idea, let me know!
  3. dvcrn

    Alfred -> DEVONthink

    Yeah currently ordering seems a bit off since it's not using DEVONthinks engine for searching, but just spotlight. I want to change the search part to use DEVONthinks search applescript interface but didn't have time for that yet. And yes, tags are not searched yet.
  4. dvcrn

    Alfred -> DEVONthink

    You mean like this? tell application id "DNtp" set newRecord to create record with {name:"foo", type:text, content:"foo"} in inbox open window for record newRecord activate end tell This creates a document, opens it in a new editor window and sets focus to DEVONthink
  5. dvcrn

    Alfred -> DEVONthink

    You can expand the applescripts inside the workflow. `create record` should give you the record back it created. From there you can tell DEVONthink to open it and grab focus
  6. dvcrn

    Alfred -> DEVONthink

    You can use applescript to access DEVONthinks search, something like: tell application id "com.devon-technologies.thinkpro2" search "foo" end tell You can integrate that into a alfred workflow but I didn't have the time to play around with that yet I'm not sure if it's possible to open a search window directly, but you could use keyboard maestro (or possibly UI scripting with applescript) to activate DEVONthink and execute the "search" menu action
  7. dvcrn

    Alfred -> DEVONthink

    The theme in the screenshot is The Minimalist. I use the 'almost midnight' variant
  8. dvcrn

    Alfred -> DEVONthink

    Whoops, I forgot to turn on email replies so I didn't see these comments until now - sorry about that! It's turned on now. Is everything working ok now? The search command is using the spotlight index to search for DEVONthink metadata files without much magic, so if spotlight is doing it's job fine, you should find them. I also just pushed an update to replace the import commands with applescript which should make the workflow a good chunk more robust I also included a auto update script independent of packal (since that seems to be dead now anyway). Check the first post for the updated workflow (that will update itself from now on)
  9. I've been recently playing around with launchbar and switch back and forth between it and Alfred. One thing I noticed that is pretty killer in launchbar, is the ability to use macOS services. Launchbar is indexing them by default and lets you use them either with normal text or files. A proposal could be: Type some text (or use a workflow to get the selected text and propagate the alfred window with it) Hit CTRL Select "Use Service" (or directly suggest them) Hit enter on a service to use them And the same with files. Hit CTRL and propagate the actions window with services that support the file type, next to workflow actions and default alfred actions I think this would make Alfred a lot more powerful without the need to create custom workflows. A lot of apps (the majority?) already exposes services, and being able to use them directly within alfred would be great. For example, some workflows that I manually wrote that would be possible with a service: DEVONthink: Add notes or files Delivers: Add a delivery from a text string Fantastical, Cardhop, Things: Add new entry directly from text Screenshot of available services enabled on my system when selecting text: Screenshot of available services when selecting a file:
  10. I personally don't like how macOS manages shortcuts and the lack of sync is a little annoying so I rather have my script collection that can go from simple things, to more complex actions that link different apps if needed. A variation of the script above for example is part of a automation that chains different services together, like sending a piece of text to a few apps instead of just one
  11. As the title says, I noticed this odd behavior. I am trying to execute the following applescript: tell application "System Events" set frontApp to first application process whose frontmost is true set frontAppName to name of frontApp tell frontApp tell menu bar 1 tell menu 1 of menu bar item frontAppName tell menu item "Services" tell menu "Services" click first menu item whose name contains "My Item" end tell end tell end tell end tell end tell end tell When executed with keyboard maestro (hotkey) or the script editor, it does exactly what I expect: Search for a menu item under Services and click it. However, when doing the same in alfred (also hotkey, tried main thread and through 'run script'), the 'Edit' menu item just flashes shortly and that's it. Anyone an idea why this happens?
  12. Super simple workflow for interacting with DEVONthink. Use - `ds` to search DEVONthink - `dn` to create a new DEVONthink note Also defines a `Import To DEVONthink` file action to quickly add files from Alfred to the DEVONthink Inbox. (Very useful with the File Selection shortcut from Alfreds Features -> File Search -> Actions to instantly open the currently selected file in Alfred) Get it here: https://github.com/dvcrn/alfred-devonthink/releases This workflow will auto-update itself when a new version is available. If you don't want this, open the workflow and remove the "Auto Update" node. TODO: - Global hotkey to paste whatever is in the clipboard to DEVONthink If you have other cool ideas that would make DEVONthink with Alfred even more useful, please let me know
  13. dvcrn


    Sorry if this has been asked already, but what's the theme in the screenshot?
  14. Hi! I am currently testing Path Finder and would like to exclude Finder.app from my results. I tagged it with "alfred:ignore" and added it to the spotlight privacy tab but the app still shows inside alfred results (not in spotlight though). - Cleared application cache - Cleared Knowledge Any ideas how to remove it?