
You can use Alfred keywords to trigger these, or bind them to keyboard combinations directly.
Download, source code, and further instructions available here: https://github.com/iandol/bookends-tools
DTP(O) (I recommend the Office-version) is highly scriptable. I use Alfred regularly to invoke DTPO-Apple scripts, but more complicated workflows should be possible.Have you ever used DTP? Do you know how well Alfred integrates with DTP? As you know, I'll always use Scrivener for my writing; including the incorporation of Bookends notes into Scrivener's research folder.
Code: Select all
#!/usr/bin/osascript
tell application "System Events"
keystroke "c" using command down
tell application "Bookends"
activate
delay 0.1
end tell
tell application "System Events"
keystroke "n" using {command down, control down}
delay 0.6
keystroke "v" using command down
delay 0.1
keystroke return --comment this out if you want to edit text before search
end tell
end tell