Action Group

JS Scripting

Posted by RoyRogers, Last update almost 5 years ago

Collection of Actions for JS scripting

  • Create new skeleton script draft.
  • Add new file based console.log() capture for easier debugging.
  • Develop and test-run script directly from Drafts editor!
  • Indent, Outdent, and Comment code. Works on blocks or single lines.
  • JS Beautify (cleans block indenting mainly)
  • JS snippet menu based on a snippet library draft.
  • Templates for “function, if, else if, else, for, while, do, switch, and prompt”
  • And more …

Included Actions

  • New Code Draft
  • Debug
  • Add debug Info
  • Run Editor JS
  • JS Comment
  • JS Indent
  • JS Outdent
  • function
  • let
  • Smart Equal
  • Semicolon
  • Smart Braces
  • Smart Plain Quotes
  • Smart Parentheses
  • Smart Brackets
  • insert.js function()
  • Save to Script Library...
  • if
  • else if
  • else
  • for of
  • for
  • while
  • do while
  • switch
  • Prompt
  • JS Beautify
  • JS Snippets
  • Copy Script
  • Go to Line
  • Save All Scripts
  • Dumb Quotes
  • Drafts Reference
  • Save to Textastic Local Files
  • - - - - - - - - - - - - - - - - - - - - - - -
  • Condense Multiple Line Feeds
  • Run RegEx Factory
  • Text View and Switch Prompt
  • Select Prompt
  • Date Prompt
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.