Action dropbox 739dda5192ec122315d3a5114f6f5a0a724af063242b5ded1f841cb6d4eceaaa Save to Dropbox (Trimmed Title)

This action demonstrates use of Javascript to create a file name safe string from the first line of a draft which may contain characters (such as a Markdown header # character).

After creating this value, the script stores it in a custom [[filename]] tag, and uses that tag as the file name in the following Dropbox step.

Using this action, a draft that starts with “## My Nasty Filename Unsafe Title” will be saved as a “My Nasty Filename Unsafe Title.txt” in Dropbox.

The script step in this action could be adapted for use in other actions.

Posted by agiletortoise


Action Steps (2)

Action script@2x 461fb6950c06fe3f6a3b9a38f0f15826c9057825fdbdd0239fd4d2b8be9c870a Script Show detail
Action dropbox@2x 6bdc4698489cd5bde675424699d40e6f800698a335ab5f200b14788c390f4b10 Dropbox Show detail


After Success Default
Log Level Info


comments powered by Disqus