This simple script takes a child node and moves it to the next "immediate parent" headline.#

Before:#

#

After:#

#

Before:#

#

After:#

#

What it's useful for:#

If you have a first-order headline called "Bills Due" and a first-order headline called "Bills Paid" below it, once you've paid a bill (designated as a child of the "Bills Due" headline), you can move it directly to the bottom of the list of "Bills Paid" without using navigation keys.#

Visit the Fargo scripting page in the docs to learn how to install this script, or watch this video.#

#

(There should be a github embed above this line. If not, please reload this page or get the raw code here.)#

This script does the following:#

decimal #

On a dedicated page in an outline (it doesn't have to be "named"), create a headline, like the title of an article. (I'm doing it here.)#

With the cursor on that headline, choose TweetBlog from the Scripts menu.#

A dialog box asks for an URL. Enter the link and hit OK.#

The script adds a type=link attribute to your headline and adds the link to the url attribute. It opens a new window with the headline text and the URL pre-populated in a tweet (you have to hit the &url=http://<%httpHost%><%httpPath%>>tweet me button to send).#

The script inserts the date above the headline ("Posted: Thu Aug 01 2013"), adds a Twitter icon to it, then goes back to the headline and indents it.#

Visit the Fargo scripting page in the docs to learn how to install this script, or watch this video.#

#

(There should be a github embed above this line. If not, please reload this page or get the raw code here.)#

If you don't want to tweet the link, just remove the line that starts with window.open.#

© 2014 Jeffrey Kishner.
Last update: Thu, Oct 16, 2014 at 2:48 PM.