Create new page
Lua Plugin: Make a new page with selected text
Put the following codes in ~/Library/Application Support/VoodooPad/Script PlugIns/Make_Link_With_Selected_Text.lua
--[[ VPLanguage = lua VPScriptMenuTitle = Make Link With Selected Text VPShortcutKey = l VPShortcutMask = command VPEndConfig --]] textView = windowController:textView() pageName = textView:objc_string():substringWithRange(textView:selectedRange()) document:createNewPageWithName(pageName)
tell application "VoodooPad Pro" tell document 1 to create page with title "title" end tell
and, there is an hyper link which calls applescript editor, you can put this code either in VoodooPad or in Safari as a bookmarklet.
applescript://com.apple.scripteditor?action=new&script=%0D%0Atell%20application%20%22VoodooPad%20Pro%22%0D%0A%20%20tell%20document%201%20to%20create%20page%20with%20title%20%22title%22%20%0D%0Aend%20tell
NewPageTemplate
$title$ Description Created on $date$ ↑ Up
Hide Comments