Action Group

ThoughtAsylum

Posted by sylumer, Last update 4 days ago

THOUGHTASYLUM ACTION GROUP INSTRUCTIONS

Welcome to the ThoughtAsylum Action Group. It may well be a little different to any other action group you have used, and probably more to it than you may be used to. So much so that you’ll probably want to read these instructions.

Quick Start

First of all, before you use this action group, you must run the TAD-Setup/Refresh action. This action will download some JavaScript libraries, one of which the vast majority of actions in this action group are built on.

That’s it for the quick start, but there’s plenty more to learn about.

Tips for Using the Action Group

You may have noticed that every action in the group begins with “TAD-”. Not exactly user friendly, but it is on purpose so that you can see what is part of this group when you are scanning and searching. You may also notice that not a single action in the group has a keyboard shortcut associated with it. Again, this is entirely on purpose.

The aim of this group is to be a reference group. The suggestion is that you leave this group entirely untouched. While you can copy out actions to other groups, I would recommend using the include action instead. That way you can maintain use a single source and potentially call it from multiple other action groups, including keyboard action bars. Then you can assign your own keyboard shortcuts and icons, and should you download an update to this action group in the future, you’ll be able to take advantage of any improvements without losing any of your personalised configuration.

Of course, if you want to modify an action to create your own tailored version, that’s exactly when you should copy one of these actins, and then we’d recommend referencing that action in the same way.

From Quick and Simple to Complex and Powerful Actions

Not every action is necessarily intended to be massively functional, there are some actions that are intended more as examples and to help people who are looking for example actions to learn from to have a single action group with a good standing selection in it. However, the vast majority of the included are highly practical and can be utilised more actively.

There are many very quick to build, very simple actions in the Action Group, and many more complicated ones - and you can use either the power and complexity fo the functionality or the scripting behind it; they don’t always equate directly. But, the key thing to know is that some of the power and complexity that some of these actions offer is probably more than is reasonable to explain here, and there could well be others added in the future. Because of this, we’ll be publishing a couple of things over on thoughtasylum.com that are intended to help you. If you are having trouble, it will be worth checking out. If you still don’t find anything, do reach out via the Drafts forums, and someone, maybe me, will hopefully be able to help.

Actions Listing

While every action should have a description of some sort, it can be difficult to read though all of them given there are over 275 actions in over 40 groups; and yes, there is an action in the group that can figure out the composition for any group! Therefore we’re publishing a set of information about the actions that you can browse through more easily; and yes, you guessed it, that content is also generated by an action included in the group.

Deeper Dives

Some actions require configuration or a deeper understanding of their use and purpose than is carried in the brief description. In such cases I will be publishing deeper dives over on thoughtasylum.com to cover these.

The number of these deep dives available will vary depending upon when you are reading this. I will add more over time, and I’m expecting to create a small flurry in the days immediately following the public release of this action group and the underlying JavaScript library.

TADpoLe Library

The main JavaScript library this action group is built on, and many of the actions are examples for is the TADpoLe library. This is the ThoughtAsylum Drafts Library, and contains hundreds of functions that you may find useful in developing your own actions.

The library is documented in the same style as Drafts’s own Scripting, and you can access both online via the following links.

Legal Stuff & Coffee

This action group and the library are of course entirely free for you to use, though full details of licensing, including the licensing for some referenced code libraries and code are available on the TADpoLe Library site.

However, some people do like to give back, and so if you do find this action group and the TADpoLe library useful, you can donate to my coffee fund. I enjoy working when I can from coffee shops where I live (York, UK), and many of my best ideas and results have likely been fuelled by caffeine.


Donate a coffee
Donate a coffee





Included Actions

  • Library
  • TAD-Instructions
  • TAD-Setup/Refresh
  • TAD-Action Group Download Page
  • TAD-Browse Actions
  • TAD-About TADpoLe
  • TAD
  • TAD-Display Settings
  • TAD-Copy Settings
  • TAD-Library
  • Scripting
  • TAD-Make Draft Executable
  • TAD-Load Executable Draft
  • TAD-Execute Draft
  • TAD-Execute Test Function
  • TAD-Execute Current Draft
  • TAD-Execute Current Selection
  • TAD-Execute Current Lines
  • TAD-Beautify JavaScript
  • TAD-Format JSON Draft
  • TAD-Scripting Docs
  • TAD-TADpoLe Docs
  • Information
  • TAD-Display Drafts Counts
  • TAD-Selection Character Count
  • TAD-Selection Word Count
  • TAD-Selection Line Count
  • TAD-Selection Count Information
  • TAD-Display Drafts and System Information
  • Whitespace Removal
  • TAD-Remove Blank Lines
  • TAD-Remove Empty Lines
  • TAD-Remove Leading Whitespace
  • TAD-Remove Trailing Whitespace
  • TAD-Remove Leading & Trailing Whitespace
  • TAD-Remove Leading Spaces & Tabs
  • TAD-Remove Trailing Spaces & Tabs
  • TAD-Remove Leading & Trailing Spaces & Tabs
  • TAD- Convert Sentence End 2-2-1 Spaces
  • TAD-Compress Spaces and Lines
  • Sort & Permute Lines
  • TAD-Sort All - Alphabetic
  • TAD-Sort All - Reverse Alphabetic
  • TAD-Sort Selected Lines - Alphabetic
  • TAD-Sort Selected Lines - Reverse Alphabetic
  • TAD-Sort All - Numeric
  • TAD-Sort All - Reverse Numeric
  • TAD-Sort Selected Lines - Numeric
  • TAD-Sort Selected Lines - Reverse Numeric
  • TAD-Sort All - Random
  • TAD-Sort Selected Lines - Random
  • TAD-Deduplicate All (Lines)
  • Draft Status
  • TAD-Trash Note
  • TAD-Archive Note
  • Draft Syntax
  • TAD-Set Syntax
  • Delete
  • TAD-Delete Next Char
  • TAD-Delete Current Line
  • TAD-Delete Last Line of Selection
  • TAD-Delete First Line of Selection
  • Select
  • TAD-Extend Selection Left
  • TAD-Reduce Selection Left
  • TAD-Extend Selection Right
  • TAD-Reduce Selection Right
  • TAD-Select Word
  • TAD-Select Current Line
  • TAD-Select First Line of Selection
  • TAD-Select Last Line of Selection
  • TAD-Select Paragraph
  • TAD-Select All Content
  • Move Cursor
  • TAD-Move Cursor Left
  • TAD-Move Cursor Right
  • TAD-Jump to Start of Line
  • TAD-Jump to End of Line
  • TAD-Jump to End of Previous Line
  • TAD-Jump to Start of Next Line
  • TAD-Jump to Start of Next Sentence
  • TAD-Jump to Start of Current Sentence
  • TAD-Jump to Start of Previous Sentence
  • TAD-Jump to Paragraph Start
  • TAD-Jump to Paragraph End
  • TAD-Jump to Start of Draft
  • TAD-Jump to End of Draft
  • Insert Content: General
  • TAD-Insert Tab
  • TAD-Insert Clipboard
  • TAD-Insert Middle Dot
  • TAD-Insert Tags
  • TAD-Insert Draft UUID
  • TAD-Insert Draft Link
  • TAD-Insert Current Latitude & Longitude
  • TAD-Insert Draft Creation Latitude & Longitude
  • TAD-Insert Draft Modified Latitude & Longitude
  • TAD-Insert Drafts Version
  • TAD-Insert Drafts & System Info
  • TAD-Insert Drafts & System Info MD
  • TAD-Insert Recent Draft Info
  • Insert Content: Current Date/Time
  • TAD-Insert yyyy-mm-dd-HH.MM.ss
  • TAD-Insert yyyy-mm-dd
  • TAD-Insert HH.MM.ss
  • TAD-Insert HH.MM
  • TAD-Insert yyyymmddHHMMss
  • TAD-Insert yyyymmdd
  • TAD-Insert HHMMss
  • TAD-Insert HHMM
  • TAD-Insert Week Number
  • TAD-Insert DDDD dd/mm/yyyy
  • TAD-Insert DDD dd/mm/yyyy
  • TAD-Insert DDDD mm/dd/yyyy
  • TAD-Insert DDD mm/dd/yyyy
  • Duplicate
  • TAD-Duplicate Draft and Load
  • TAD-Duplicate Draft in Background
  • TAD-Duplicate Line
  • TAD-Repeat Duplicate Line
  • Markdown
  • TAD-MD-Script Block
  • TAD-MD-Link Selected URL
  • TAD-MD-Link Clipboard URL
  • TAD-MD-Wrap Paragraph Italic
  • TAD-MD-Wrap Lines Bold
  • TAD-MD-Wrap Lines Italic
  • TAD-MD-Wrap Lines Rule
  • TAD-MD-Wrap Lines Code
  • TAD-MD-Wrap Paragraph Code
  • TAD-MD-Delimit Lines Bold
  • TAD-MD-Delimit Lines Italic
  • TAD-MD-Prefix Lines Quote
  • TAD-MD-Lines to Bullet List (*)
  • TAD-MD-Lines to Bullet List (-)
  • TAD-MD-Lines to Numbered List
  • TAD-MD-Heading Cycle
  • TAD-MD-Heading 0
  • TAD-MD-Heading 1
  • TAD-MD-Heading 2
  • TAD-MD-Heading 3
  • TAD-MD-Heading 4
  • TAD-MD-Heading 5
  • TAD-MD-Heading 6
  • Drafts Markup
  • TAD-Drafts-Lines Check Boxes
  • TAD-Drafts-Lines Bulleted Check Boxes
  • TAD-Drafts-Bulleted Check Boxes
  • HTML
  • TAD-HTML-Wrap Line Pre Tags
  • TAD-HTML-Wrap Paragraph Pre Tags
  • TAD-HTML-Wrap Line Paragraph Tags
  • TAD-HTML-Wrap Paragraph Pre Tags
  • TAD-HTML-Wrap Line Division Tags
  • TAD-HTML-Wrap Paragraph Division Tags
  • Discourse
  • TAD-Discourse Draft
  • TAD-Discourse-Hide Details
  • TAD-Trash Active Discourse Drafts
  • TAD-Archive Active Discourse Drafts
  • Mass Processing
  • TAD-Blank Drafts to Trash
  • Slash Command
  • TAD-Slash Command Prompt
  • TAD-Slash Command In-Situ
  • Web
  • TAD-Fetch URL Content to New Draft
  • TAD-Fetch & Load URL Content to New Draft
  • TAD-Google Selected Text
  • Tag Management
  • TAD-Display Tag List
  • TAD-Copy Tag List
  • TAD-Insert Tag List
  • TAD-Set Tags for Draft
  • TAD-Remove All Tags From Draft
  • TAD-Rename Any Tag
  • TAD-Rename Recent Tag
  • TAD-Delete Any Tag
  • TAD-Delete Recent Tag
  • TAD-Remove Run Tag from Archived Drafts
  • Dictation
  • TAD-Dictate to Clipboard
  • TAD-Dictate Log Entry
  • TAD-Dictate Simple List
  • TAD-Dictate Taskpaper List
  • TAD-Dictate Markdown List
  • Create Drafts
  • TAD-New Draft from Selection
  • TAD-Load New Draft from Selection
  • TAD-New Draft from Clipboard
  • TAD-Load New Draft from Clipboard
  • TAD-Split Draft Load Part 1
  • TAD-Split Draft Load Part 2
  • Recent Drafts
  • TAD-Load Last Created Draft
  • TAD-Load Last Modified Draft
  • TAD-Load Last Created Draft (Incl. Trash)
  • TAD-Load Last Modified Draft (Incl. Trash)
  • TAD-Today's Drafts
  • TAD-Yesterday's Drafts
  • TAD-Last 2 Days' Drafts
  • TAD-This Week's Drafts
  • TAD-Last Week's Drafts
  • TAD-Last 2 Weeks' Drafts
  • TAD-Last 4 Weeks' Drafts
  • TAD-This Month's Drafts
  • TAD-Last Month's Drafts
  • TAD-Toggle Last Two Modified Drafts
  • Workspaces
  • TAD-Load Workspace
  • TAD-Load Workspace & Open Draft List
  • TAD-Load Previous Workspace
  • TAD-Load Next Workspace
  • TAD-Copy Workspace List to Clipboard
  • Populate Clipboard
  • TAD-Copy Current Line(s)
  • TAD-Copy Title
  • TAD-Copy Body
  • TAD-Copy All
  • TAD-Copy All as HTML
  • TAD-Copy Tags
  • TAD-Copy UUID
  • TAD-Copy MD Headings
  • TAD-Copy Draft Link
  • TAD-Copy Current Latitude & Longitude
  • TAD-Copy Draft Creation Latitude & Longitude
  • TAD-Copy Draft Modified Latitude & Longitude
  • TAD-Copy Drafts Version
  • TAD-Copy Drafts & System Info
  • TAD-Copy Drafts & System Info MD
  • TAD-Copy Recent Draft Info
  • TAD-Convert Clipboard from Markdown to HTML
  • Share as Content
  • TAD-Share as Text
  • TAD-Share as HTML
  • TAD-Share Selection/Draft (Text)
  • TAD-Share Selection/Draft (HTML)
  • Share as File
  • TAD-Share as File: Generic
  • TAD-Share as File: Syntax
  • TAD-Share as File: Text
  • TAD-Share as File: Markdown
  • TAD-Share as File: Multi-Markdown
  • TAD-Share as File: HTML
  • TAD-Share as File: Taskpaper
  • Edit
  • TAD-Undo
  • TAD-Redo
  • Templates
  • TAD-Template from Draft
  • TAD-Template from File
  • Previewing
  • TAD-Preview with Syntax Highlighting
  • TAD- Exploded Markdown Preview
  • TAD-Preview with Marked2
  • TAD-Preview Clipboard
  • TAD-Preview Selection
  • Persistent Variable Examples
  • TAD-Display Counter
  • TAD-Zero Counter
  • TAD-Set Counter
  • TAD-Increment Counter
  • TAD-Decrement Counter
  • TAD-Display Text Variable
  • TAD-Clear Text Variable
  • TAD-Set Text Variable
  • TAD-Prefix Text Variable
  • TAD-Suffix Text Variable
  • Action Groups
  • TAD-Display Action Group Actions
  • TAD-Display Action Group Separators
  • TAD-Display Action Group Item Names
  • TAD-Display Action Group Info
  • TAD-Auto Document Action Group
  • Editor Insertions
  • TAD-Prepend Text in Editor
  • TAD-Append Text in Editor
  • TAD-Prepend Line in Editor
  • TAD-Append Line in Editor
  • Text Modifiers
  • TAD-Prefix Text
  • TAD-Suffix Text
  • TAD-Camel Case Selection
  • TAD-Kebab Case Selection
  • TAD-Train Case Selection
  • TAD-Snake Case Selection
  • TAD-Screaming Snake Case Selection
  • TAD-Upper Case Selection
  • TAD-Lower Case Selection
  • TAD-Sentence Case Selection
  • TAD-Title Case Selection
  • TAD-Capitalise Selection Words
  • Sample Content
  • TAD-Create Plain Text Example Draft
  • TAD-Create Simple List Example Draft
  • TAD-Create Taskpaper Example Draft
  • TAD-Create Markdown Example Draft
  • TAD-Create MultiMarkdown Example Draft
  • TAD-Create Github Markdown Example Draft
  • TAD-Create JavaScript Example Draft
  • TextExpander
  • TAD-Draft to TextExpander Snippet
  • TAD-Update TextExpander
  • Reader Mode
  • TAD-Enable Reading Mode
  • TAD-Disable Reading Mode
  • TAD-Display Reading Mode Settings
  • URL Encoding/Decoding
  • TAD-URL Encode Selection
  • TAD-URL Decode Selection
  • TAD-URL Encode Selection to Clipboard
  • TAD-URL Decode Selection to Clipboard
  • TAD-URL Encode Clipboard
  • TAD-URL Decode Clipboard
  • TAD-Insert URL Encoded Clipboard
  • TAD-Insert URL Decoded Clipboard
  • TAD-URL Encode Draft to Clipboard
  • TAD-URL Encode Draft Body to Clipboard
  • TAD-URL Encode Draft Title to Clipboard
  • TAD-URL Encode Draft Link to Clipboard
  • Online Information
  • TA-Display External IP
  • TA-Insert CSNRG Number
  • Word Actions
  • TA-Get Definition
  • TA-Replace with Synonym
  • Action Control
  • TA-Action Set (Info)
  • TAD-Repeat an Action
  • TAD-Code Looper
  • TAD-Null Action
  • Helper Actions
  • TAD-Reload Draft
  • TAD-Get Drafts & System Info
  • Tasks
  • TAD-Uncheck All
  • TAD-Move Checked to End
  • TAD-Remove All Checked
  • Advanced Logging
  • TAD-Generate Fake Log
  • TAD-Preview Full Log
  • TAD-Preview Simple Log
  • TAD-Log to Draft
  • TAD-Log to Draft Include INFO Entries
  • TAD-Log to Draft Exclude INFO Entries
  • TAD-Clear Log
  • TAD-Display First Log Entry
  • TAD-Display Last Log Entry
  • TAD-Display First Info Log Entry
  • TAD-Display Last Info Log Entry
  • TAD-Display First Warning Log Entry
  • TAD-Display Last Warning Log Entry
  • TAD-Display First Error Log Entry
  • TAD-Display Last Error Log Entry
  • Mac Audio
  • TAD-Play MP3 From Data
  • TAD-Play System Sound
  • Matched Line Removals
  • TAD-Remove Lines Starting
  • TAD-Remove Lines Not Starting
  • TAD-Remove Lines Ending
  • TAD-Remove Lines Not Ending
  • TAD-Remove Lines Containing
  • TAD-Remove Lines Not Containing
  • MediaWiki Syntax
  • TAD-MediaWiki Selection Title 1
  • TAD-MediaWiki Selection Title 2
  • TAD-MediaWiki Selection Title 3
  • TAD-MediaWiki Selection Title 4
  • TAD-MediaWiki Selection Title 5
  • TAD-MediaWiki Selection Title 6
  • TAD-MediaWiki Selection Italic
  • TAD-MediaWiki Selection Bold
  • TAD-MediaWiki Selection Internal Link
  • TAD-MediaWiki Selection Piped Link
  • TAD-MediaWiki Insert Signature
  • TAD-MediaWiki Insert Timestamped Signature
  • TAD-MediaWiki Insert Timestamp
  • TAD-MediaWiki Selection Title
  • TAD-MediaWiki Insert Horizontal Rule
  • Clipboard
  • TAD-Clear Clipboard
  • TAD-Prepend Selection to Clipboard
  • TAD-Append Selection to Clipboard
  • Meta Based File Management
  • TAD-Set Meta File Path
  • TAD-Export to Meta File Path
  • TAD-Import From Meta File Path
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.