Table of contents
- Search Drafts Documentation/User Guide
- Search Drafts Directory
- Search Drafts Forum Sections
- Search Drafts Forum Online
- Search Drafts Scripting Documentation
- Search Drafts Beta Scripting Documentation
- Search TADpoLe Scripting Documentation
- Access Local Drafts Quick Reference Information
- Access Local Drafts Quick Reference Information on Links
- Access Local Drafts Quick Reference Information on Search
- Access Local Drafts Quick Reference Information on strftime
- Access Local Drafts Quick Reference Information on Template Tags
- Open Doctor Drafts Web Site
- Search Drafts Information
- Doctor Drafts Diagnostics Report
- Drafts Storage Report
- Drafts Python Version
Search Drafts Documentation/User Guide
Description
Doctor Drafts allows you to search for a Drafts user documentation page directly from Alfred. It is not searching the content of those pages, but rather it is searching from an index of available pages. As you search for a matching page title, Alfred’s selection list will display the title of the page along with its URL. The default action for selecting a page is to open it.
Steps
- Trigger Alfred.
- Type in
drdoc
followed by a space. - Type in part of the page title to filter the list.
- Select the matching page that you wish to open.
- Press return to open the page in your default web browser.
Notes
- Holding down
^
while pressing return (or clicking on the matching page in the list) will copy the URL for the page instead of opening it in your default browser. - Holding down
⌘
while pressing return (or clicking on the matching page in the list) will copy the Markdown formatted link for the page instead of opening it in your default browser.
Search Drafts Directory
Description
Doctor Drafts allows you to search for a Drafts Directory section directly from Alfred. It is not searching the content of those sections, but rather it is searching from an index of available sections. As you search for a matching section title, Alfred’s selection list will display the title of the section along with its URL. The default action for selecting a section is to open it.
Steps
- Trigger Alfred.
- Type in
drdir
followed by a space. - Type in part of the section title to filter the list.
- Select the matching section that you wish to open.
- Press return to open the directory section in your default web browser.
Notes
- Holding down
^
while pressing return (or clicking on the matching section in the list) will copy the URL for the section instead of opening it in your default browser. - Holding down
⌘
while pressing return (or clicking on the matching section in the list) will copy the Markdown formatted link for the section instead of opening it in your default browser.
Search Drafts Forum Sections
Description
Doctor Drafts allows you to search for a Drafts Community Forum section directly from Alfred. It is not searching the content of those sections, but rather it is searching from an index of available sections. As you search for a matching section title, Alfred’s selection list will display the title of the section along with its URL. The default action for selecting a section is to open it.
Steps
- Trigger Alfred.
- Type in
drfor
followed by a space. - Type in part of the section title to filter the list.
- Select the matching section that you wish to open.
- Press return to open the forum section in your default web browser.
Notes
- Holding down
^
while pressing return (or clicking on the matching section in the list) will copy the URL for the section instead of opening it in your default browser. - Holding down
⌘
while pressing return (or clicking on the matching section in the list) will copy the Markdown formatted link for the section instead of opening it in your default browser.
Search Drafts Forum Online
Description
Doctor Drafts allows you to open a pre-populated search of the official Drafts forum.
Steps
- Trigger Alfred.
- Type in
drsfor
followed by a space. - Type in the phrase to pre-populate the online search with.
- Press return to open the forum search results in your default web browser.
Search Drafts Scripting Documentation
Description
Doctor Drafts allows you to search for a Drafts Scripting section directly from Alfred. It is not searching the content of those sections, but rather it is searching from an index of available sections. As you search for a matching section title, Alfred’s selection list will display the title of the section along with its URL. The default action for selecting a section is to open it.
Steps
- Trigger Alfred.
- Type in
drscr
followed by a space. - Type in part of the section title to filter the list.
- Select the matching section that you wish to open.
- Press return to open the scripting documentation section in your default web browser.
Notes
- Holding down
^
while pressing return (or clicking on the matching section in the list) will copy the URL for the section instead of opening it in your default browser. - Holding down
⌘
while pressing return (or clicking on the matching section in the list) will copy the Markdown formatted link for the section instead of opening it in your default browser.
Search Drafts Beta Scripting Documentation
Description
Doctor Drafts allows you to search for a Drafts Beta Scripting section directly from Alfred. It is not searching the content of those sections, but rather it is searching from an index of available sections. As you search for a matching section title, Alfred’s selection list will display the title of the section along with its URL. The default action for selecting a section is to open it.
Steps
- Trigger Alfred.
- Type in
drbscr
followed by a space. - Type in part of the section title to filter the list.
- Select the matching section that you wish to open.
- Press return to open the beta scripting documentation section in your default web browser.
Notes
- Holding down
^
while pressing return (or clicking on the matching section in the list) will copy the URL for the section instead of opening it in your default browser. - Holding down
⌘
while pressing return (or clicking on the matching section in the list) will copy the Markdown formatted link for the section instead of opening it in your default browser.
Search TADpoLe Scripting Documentation
Description
Doctor Drafts allows you to search for a ThoughtAsylum Drafts Library (TADpoLe) Scripting section directly from Alfred. It is not searching the content of those sections, but rather it is searching from an index of available sections. As you search for a matching section title, Alfred’s selection list will display the title of the section along with its URL. The default action for selecting a section is to open it.
Steps
- Trigger Alfred.
- Type in
drtad
followed by a space. - Type in part of the section title to filter the list.
- Select the matching section that you wish to open.
- Press return to open the scripting documentation section in your default web browser.
Notes
- Holding down
^
while pressing return (or clicking on the matching section in the list) will copy the URL for the section instead of opening it in your default browser. - Holding down
⌘
while pressing return (or clicking on the matching section in the list) will copy the Markdown formatted link for the section instead of opening it in your default browser.
Access Local Drafts Quick Reference Information
Description
Doctor Drafts allows you to access some locally stored quick reference guides. These guides are then displayed as a preview window.
Steps
- Trigger Alfred.
- Type in
drqref
followed by a space to display a list of available searches:- Links
- Search
- strftime
- Template Tags
- Type in part of the quick reference name to filter the list.
- Select the matching quick reference source that you wish to open.
- Press return to display the quick reference content in a window.
Notes
- The window title will contain the word “[DEBUG]”. This is automatically added by the quick reference resource viewer.
Access Local Drafts Quick Reference Information on Links
Description
Doctor Drafts allows you to access a locally stored quick reference guide about links in Drafts. This guide is then displayed as a preview window.
Steps
- Trigger Alfred.
- Type in
drqrlnk
. - Press return to display the quick reference content in a window.
Notes
- The window title will contain the word “[DEBUG]”. This is automatically added by the quick reference resource viewer.
Access Local Drafts Quick Reference Information on Search
Description
Doctor Drafts allows you to access a locally stored quick reference guide about searching in Drafts. This guide is then displayed as a preview window.
Steps
- Trigger Alfred.
- Type in
drqrsr
. - Press return to display the quick reference content in a window.
Notes
- The window title will contain the word “[DEBUG]”. This is automatically added by the quick reference resource viewer.
Access Local Drafts Quick Reference Information on strftime
Description
Doctor Drafts allows you to access a locally stored quick reference guide about date/time formatting in Drafts using strftime formatting codes. This guide is then displayed as a preview window.
Steps
- Trigger Alfred.
- Type in
drqrdt
. - Press return to display the quick reference content in a window.
Notes
- The window title will contain the word “[DEBUG]”. This is automatically added by the quick reference resource viewer.
Access Local Drafts Quick Reference Information on Template Tags
Description
Doctor Drafts allows you to access a locally stored quick reference guide about template tags in Drafts. This guide is then displayed as a preview window.
Steps
- Trigger Alfred.
- Type in
drqrtt
. - Press return to display the quick reference content in a window.
Notes
- The window title will contain the word “[DEBUG]”. This is automatically added by the quick reference resource viewer.
Open Doctor Drafts Web Site
Description
Doctor Drafts allows you to open its website (this website) in the default browser.
Steps
- Trigger Alfred.
- Type in
drhelp
. - Press return to display the quick reference content in a window.
Notes
- The URL opened is
https://doctordraft.thoughtasylum.com
.
Search Drafts Information
Description
Doctor Drafts allows you to list the different available information searches and then select one to carry out.
Steps
- Trigger Alfred.
- Type in
drinfo
followed by a space to display a list of available searches:- Drafts Documentation
- Drafts Directory
- Drafts Forum
- Drafts Scripting Documentation
- ThoughtAsylum Drafts library Scripting Documentation
- Drafts Local Quick Reference
- Type in part of the source option to filter the list.
- Select the matching source that you wish to open.
- Press return to begin searching that section.
- Type in part of the page/section title to filter the list.
- Select the matching page/section that you wish to open.
- Press return to open the page/section in your default web browser.
Notes
- Holding down
^
while pressing return (or clicking on the matching section in the list) will copy the URL for the page/section instead of opening it in your default browser. - Holding down
⌘
while pressing return (or clicking on the matching section in the list) will copy the Markdown formatted link for the page/section instead of opening it in your default browser.
Doctor Drafts Diagnostics Report
Description
Doctor Drafts has some pre-requisites around both basic and full functionality. It requires Alfred, Alfred Power Pack, and Drafts. To get the best results it also requires a Drafts pro subscription, and a working Python 3 installation accessible to Doctor Drafts. This workflow runs a series of tests and provides a summary report to the user describing the status and any omissions along with (basic) advice on what to do.
Steps
- Trigger Alfred.
- Type in
drdiag
. - Press return to display the report in the default web browser.
Notes
- None.
Drafts Storage Report
Description
Drafts stores content locally, in iCloud Drive, and in iCloud. This flow provides a summary report of how much on drive storage the key storage locations and folders are utilising. This may give you an idea of where Drafts might be taking up a lot of room.
Steps
- Trigger Alfred.
- Type in
drstor
. - Press return to display the report in the default web browser.
Notes
- None.
Drafts Python Version
Description
Some of the deeper functionality of Doctor Drafts utilises code written in a scripting language known as Python. Specifically, Python 3, which is not distributed by default with macOS, and hence why steps are provided in the installation instructions. Multiple versions of Python may be installed on a Mac, and Doctor Drafts will try and apply some logic as to which one to use, but is guided by the configuration of the Mac. As a quick debug and analysis tool, this flow uses the same run logic to identify which version of Python will be used for running scripts in other flows.
Steps
- Trigger Alfred.
- Type in
drpyver
. - Press return to display the report in the default web browser.