Link Search Menu Expand Document
Table of contents
  1. Search Drafts Documentation/User Guide
    1. Description
    2. Steps
    3. Notes
  2. Search Drafts Directory
    1. Description
    2. Steps
    3. Notes
  3. Search Drafts Forum Sections
    1. Description
    2. Steps
    3. Notes
  4. Search Drafts Forum Online
    1. Description
    2. Steps
  5. Search Drafts Scripting Documentation
    1. Description
    2. Steps
    3. Notes
  6. Search Drafts Beta Scripting Documentation
    1. Description
    2. Steps
    3. Notes
  7. Search TADpoLe Scripting Documentation
    1. Description
    2. Steps
    3. Notes
  8. Access Local Drafts Quick Reference Information
    1. Description
    2. Steps
    3. Notes
  9. Access Local Drafts Quick Reference Information on Links
    1. Description
    2. Steps
    3. Notes
  10. Access Local Drafts Quick Reference Information on Search
    1. Description
    2. Steps
    3. Notes
  11. Access Local Drafts Quick Reference Information on strftime
    1. Description
    2. Steps
    3. Notes
  12. Access Local Drafts Quick Reference Information on Template Tags
    1. Description
    2. Steps
    3. Notes
  13. Open Doctor Drafts Web Site
    1. Description
    2. Steps
    3. Notes
  14. Search Drafts Information
    1. Description
    2. Steps
    3. Notes
  15. Doctor Drafts Diagnostics Report
    1. Description
    2. Steps
    3. Notes
  16. Drafts Storage Report
    1. Description
    2. Steps
    3. Notes
  17. Drafts Python Version
    1. Description
    2. Steps
    3. Notes

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

  1. Trigger Alfred.
  2. Type in drdoc followed by a space.
  3. Type in part of the page title to filter the list.
  4. Select the matching page that you wish to open.
  5. 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

  1. Trigger Alfred.
  2. Type in drdir followed by a space.
  3. Type in part of the section title to filter the list.
  4. Select the matching section that you wish to open.
  5. 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

  1. Trigger Alfred.
  2. Type in drfor followed by a space.
  3. Type in part of the section title to filter the list.
  4. Select the matching section that you wish to open.
  5. 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

  1. Trigger Alfred.
  2. Type in drsfor followed by a space.
  3. Type in the phrase to pre-populate the online search with.
  4. 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

  1. Trigger Alfred.
  2. Type in drscr followed by a space.
  3. Type in part of the section title to filter the list.
  4. Select the matching section that you wish to open.
  5. 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

  1. Trigger Alfred.
  2. Type in drbscr followed by a space.
  3. Type in part of the section title to filter the list.
  4. Select the matching section that you wish to open.
  5. 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

  1. Trigger Alfred.
  2. Type in drtad followed by a space.
  3. Type in part of the section title to filter the list.
  4. Select the matching section that you wish to open.
  5. 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

  1. Trigger Alfred.
  2. Type in drqref followed by a space to display a list of available searches:
    • Links
    • Search
    • strftime
    • Template Tags
  3. Type in part of the quick reference name to filter the list.
  4. Select the matching quick reference source that you wish to open.
  5. 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

  1. Trigger Alfred.
  2. Type in drqrlnk.
  3. 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

  1. Trigger Alfred.
  2. Type in drqrsr.
  3. 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

  1. Trigger Alfred.
  2. Type in drqrdt.
  3. 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

  1. Trigger Alfred.
  2. Type in drqrtt.
  3. 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

  1. Trigger Alfred.
  2. Type in drhelp.
  3. 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

  1. Trigger Alfred.
  2. 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
  3. Type in part of the source option to filter the list.
  4. Select the matching source that you wish to open.
  5. Press return to begin searching that section.
  6. Type in part of the page/section title to filter the list.
  7. Select the matching page/section that you wish to open.
  8. 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

  1. Trigger Alfred.
  2. Type in drdiag.
  3. 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

  1. Trigger Alfred.
  2. Type in drstor.
  3. 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

  1. Trigger Alfred.
  2. Type in drpyver.
  3. Press return to display the report in the default web browser.

Notes

  • This is not included as an option in the dr flow as it is very much a specialist debug/analysis tool. For most users, drdiag will be a better tool.