Editorial Workflows

New file in specified folder

unlisted 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: This workflow has no description.

Shared by: New file in specified folder

Comments: Comment Feed (RSS)

There are no comments yet.

+ Add Comment

Workflow Preview
Run Python Script ?
Source Code
#coding: utf-8
import workflow
import os
import string

main = os.path.expanduser('~/Library/Application Support/Dropbox/')

directories = [os.path.relpath(x[0], main) for x in os.walk(main)]
action_out = string.join(directories,'\n')

workflow.set_output(action_out)
Select from List ?
Title
Select dir
List (Lines)
Input
Multiple Selection
OFF
Show in Popover
OFF
Create Document ?
Filename
Input/Untitled.txt
Content
%cursor
Open in Editor
ON