Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tag: v1.0.1
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (10 sloc) 0.344 kB
import JSTalk
vp = JSTalk.application("VoodooPad")
print(vp)
firstDoc = vp.orderedDocuments().objectAtIndex_(0)
for pageKey in firstDoc.keys():
print(pageKey)
page = firstDoc.pageForKey_(pageKey)
if (page.uti() == "com.fm.page"):
pageText = page.dataAsAttributedString().string()
print(pageText)
Jump to Line
Something went wrong with that request. Please try again.