Here's an example AppleScript that loops through all the pages in the first VoodooPad document, and then creates a new document in TextEdit with the contents of all those pages.

    set allText to ""
    set pageMarker to "------------------------------------------"

    tell application "VoodooPad"

      tell document 1

        repeat with i from 1 to number of items in pages

          set pageText to text of page i

          set pageName to name of page i

          set allText to allText & return & pageMarker & return & pageName & return & pageText

        end repeat

      end tell

    end tell

    tell application "TextEdit"

      tell application "TextEdit" to make new document at end of documents

      tell application "TextEdit" to set text of document 1 to allText

      activate

    end tell