Jump to content

Mpco

Member
  • Posts

    10
  • Joined

  • Last visited

  • Days Won

    2

Mpco last won the day on November 30 2018

Mpco had the most liked content!

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Mpco's Achievements

Helping Hand

Helping Hand (3/5)

6

Reputation

  1. add {query} to Argument text box of Arg&Vars object.
  2. Sorry, I got it wrong. Just replace the Hotkey object with a Keyword object.
  3. The Script Filter whose keyword is dnt gets the selected database from the variables passed to it. If you want to setup a keyword to search within a predefined database, you can follow the steps below. 1. add a Trigger-Hotkey, a Utilities-Arg and Vars object. 2. connect Hotkey to Arg&Vars, connect Arg&Vars to Script Filter whose keyword is dnt. 3. In Hotkey object, setup hotkey. 4. In Arg&Vars object, remove {query} from Argument text box; add "selectedDbName" variable whose value is name of database; add "selectedDbUUID" variable whose value is uuid of database. You can get uuid by Copy Database Link in DEVONthink. 5. Done.
  4. For me, the terminal feature is useless because it is difficult to remember every command. Moreover, manual typing command is prone to errors. It is very useful if it can display the command history.
  5. Hi, download this version https://github.com/mpco/AlfredWorkflow-DEVONthink-Search/files/2657674/DEVONthink.Pro.Search.zip and test dnt. I changed some configs in it.
  6. Sorry, I don't have the large databases and can't test. But I attach a script file to search in all opened devonthink databases which is the core of dnt. You can download it, uncompress, open, and then press ⌘Cmd-R to run. You can also change the search keyword theKeywords in second line of the script and test how long the searching in large databases. Then paste the result here. Download: https://github.com/mpco/AlfredWorkflow-DEVONthink-Search/files/2651576/coreSearchScript.zip
  7. You can open alfred workflow debugger (follow https://www.alfredapp.com/help/workflows/advanced/debugger/) , run dnt, then copy and paste the debug log here.
  8. Usage Type dnt + keywords to search in all opened databases. Type dnd to choose which datebase to search Press Enter, then type in keywords to search in the chosen database. Press ⌘Command + Enter to list all tags in the database, then choose a tag and press Enter to list all documents which have the tag. Type dnm + tag1, tag2, ... to list all documents which have these tags in all database. Tags inputed must be exact. For example, Tag aBcD can't be inputed as aBc or abcd After documents were listed, Press Enter to open the selected result with DEVONthink. Press ⌘Command + Enter to open with external editor. Press ⌥Option + Enter to reveal result in DEVONthink. You can download it from Github
  9. I have changed the date format from dd/mm to mm-dd. You can update it from Github.
  10. This workflow can list documents and apps opened recently. Especially, it can list files opened recently by the foremost app. System: macOS 10.11+ Github: https://github.com/mpco/Alfred3-workflow-recent-documents Usage You can press Enter to open the file in result, or press ⌘CMD-Enter to reveal it in Finder. Tap rr to list files opened recently by the foremost app. For example: Recent folders will be listed when Finder is foremost. Recent rtf, text files will be listed when TextEdit app is foremost. Recent *.sketch files will be listed when Sketch app is foremost. Recent *.xcodeproj project files will be listed when Xcode app is foremost. The subtitle of each result consists of ⏱modified time and ?path of the file. Tap rf to list recent folders. Opening recent folders is very common in use. Tapping rf is a more efficient way, even though you can activate Finder and then tap rr. Tap rd to list recent files. These files were recently opened by user, not like rr which is just for the foremost app. Tap ra to list apps opened recently. Exclude folders from the results. You can add private folder pathes separated by colon : to the Workflow Environment Variable ExcludedFolders. The results will not show private folders and any files inside them. For example: ~/privateFolder1/:/Users/G/privateFolder2/
×
×
  • Create New...