Editorial Workflows


public workflow

Install Workflow...

This workflow contains at least one Python script. Only use it if you trust the person who shared this with you, and if you know exactly what it does.

I understand, install the workflow!

This is a workflow for Editorial, a Markdown and plain text editor for iOS. To download it, you need to view this page on a device that has the app installed.

Description: Taskpaper workflow. Presents a list of tags and appends the selected tag to the end of the current line in the editor. Tag list can be modified in the workflow's Python script

Comments: Comment Feed (RSS)

There are no comments yet.

+ Add Comment

Workflow Preview
Move Caret ?
  • Backward
  • Forward
  • Start/End of Document
  • Start/End of Line
  • Number of Characters:
Pick tag and tag line ?
Source Code
#coding: utf-8

# tags taskpaper script. 2016:03:30
# offers a menu of tags
# appends the selected tag to end of current line
#note: previous step in workflow puts caret at end of line

import editor
import dialogs

# make list of taskpaper tags
tags = [ ' @home',
					' @work',
					' @waiting',
					' @errand',
					' @errand(UPS Store)',
					' @today',
					' @top',
					' @imp']

# get choice from a list in a picker dialog
tag = dialogs.list_dialog('Tag Picker', tags, False)
if tag:
    editor.insert_text(tag) # tag the end of the current line