Jump to content

shazoom

Member
  • Posts

    4
  • Joined

  • Last visited

Everything posted by shazoom

  1. Hi, I just updated my note taking workflow for DEVONthink 3. It's aimed at withing with PDF files, annotations and making notes with markdown. Here the the readme: Alfred Keywords: dn create/open associate markdown file dns associate an exsisting markdown file with a PDF dp open selected PDF with default application dpc open selected PDF with Clearview dph open selected PDF with Highlights dpp open selected PDF with Preview dm open selected markdown with default application dmv open selected markdown with Marked 2 To configure this workflow you will need to alter the "viewer" variables in the "Args and Vars". If you leave viewer unset the system default will be used. Please change the keywords to whatever makes sense or delete unnecessary launchers. The commands can now be configured to support multiple content types. The main reason this is necessary is because DEVONthink uses 2 types for PDF, one with text (PDF+Text) and one without (PDF Document). It's a bit annoying if your're writing a plugin like this. Anyway, the "content_type" will now accept multiple semicolon separated values. This workflow supports my process, which is,: Use a PDF viewer with good support for annotations to directly highlight, underline and make notes on a papers content. I particularly like Clearview for this, although, Highlights has merits too. Export the notes into a convenient format for editing and expansion of and further comment on the notes already made and embedded into the PDF. Finally, pull together the different notes into a cohesive form. This helps me with the first two items; providing the following features: Extra shortcuts for launching specialised PDF viewers, with the dp (default), dpp (Preview), dpc (Clearview) and dph (Highlights) keywords. Creation and association (using the URL property of the PDF's record) of markdown files in a subgroup, called 'pdf notes', which is a sibling of the PDF in question. Using the dn keyword. dns (DEVONthink Pro notes set) can be a nice shortcut with Highlights; it can export annotations as markdwon. It will associate and existent markdown file with the selected PDF. It is a two step process: select the PDF, activate dns and select the markdown file; finally click Ok. The markdown file is moved to sibling "pdf notes" group. Opening the markdown file via the hyperlink, wherever it has been moved to. Using the dn keyword. Opening markdown with two keywords: dmv and dm. The first, dmv, is intended to open the markdown file with a viewer; Marked 2 for example. The second is intended to open it in an editor; the "viewer" variable is unset so the system default will be used. The features described in (1) and (4) use the current selection in DNtp to decide which PDF or markdown file to work on. The other three, (2), (3) and (4), do so too but indirectly; the PDF which is associated with the markdown should be selected to open or set the markdown association.
  2. You can runs a shell script to do it. To load an external Applescript library, for example,: global bt_lib set bt_lib_filename to "bt_lib.scpt" set pwd to (do shell script "pwd") set bt_lib to load script (pwd & "/" & bt_lib_filename) I got this from: https://github.com/qlassiqa/qworkflow
  3. I'm evaluating Alfred 2 and it seems like, in most respects, the lanuncher I will like most. However, I really like the feature in Launchbar supporting Vi like keybindings. It occurred to me this morning that I can emulate it very nicely using karabiner. I wrote a post on it just now. I use Karabiner for a few other things, so it doesn't bother me, but it's probably a bit of a stretch for most people to set this up if they want this feature.
×
×
  • Create New...