Most recent edit on 2008-04-18 16:13:00 by BradEllis
Additions:
Back to VoodooPad -> VoodooPad Pro
Edited on 2007-11-15 13:05:36 by GusMueller
Deletions:
racbocb
Edited on 2007-11-15 10:47:14 by CaricRacbo
Additions:
racbocb
Edited on 2007-11-12 10:13:40 by GusMueller
Deletions:
relpasc4tco
Edited on 2007-11-11 08:29:46 by CeldaRtroc
Additions:
relpasc4tco
Oldest known version of this page was edited on 2007-09-13 22:48:45 by GusMueller []
Page view:
Page Meta
VoodooPad Pro has a feature that lets you set arbitrary keys and values on a page, which can the be used later on in script plugins or triggers.
To add meta values for a page, bring up the Page and Document Inspector and select the "Page Meta" tab.
Scripts and Triggers
Meta values will be useful for you when combined with triggers or script plugins. Here's an example of a script plugin that uses a meta value named "todo" given to certain pages. It searches through all the pages in a document, finds the ones with the "todo" meta value set, and inserts those names in the current page.
textView = windowController:textView()
list = "My todo pages list:\n"
for key in objc.values(document:keys()) do
page = document:pageForKey(key)
if (page:metaValueForKey("todo") ~= nil) then
list = list .. page:displayName() .. "\n"
end
end
textView:insertText(list)