Flying Meat
FS • VoodooPad: Simple AppleScript Examples
Make sure to check out the new wiki located at http://flyingmeat.com/wikka/. This one will eventually be retired.

Here are some snippets of AppleScript that you might find handy.

Note: These are examples that work in VoodooPad 3.5. If you have a previous version of VoodooPad, check the help files that came with that version. For folks with VoodooPad Pro, just substitute "VoodooPad Pro" where you see "VoodooPad below.

Prepend to the top of a page:

Append to the bottom of a page:

Create a new page:

Export to iPod:

Getting text from a specific page:

An example that loops through all the pages and displays it's name and contents

An example that loops through all the pages, and prepends some text to every page

Sort and pull out pages by create page:

Call into VoodooPad's scripting language "Lua" from AppleScript (it's kind of crazy)

Fun with Meta Values

Fun with Categories