forked from butscher/WikidPad
-
Notifications
You must be signed in to change notification settings - Fork 0
HowToInsertFile
Christian Ziemski edited this page Mar 7, 2016
·
5 revisions
Inserting a link to a file may be accomplished in two ways:
-
Drag and drop
-
Type or paste the path and use a script
-
Locate the file in Windows Explorer
-
Drag and drop it onto the WikidPad editor pane
-
WikidPad will insert the full path name and automatically encode it properly, thus:
file:///C|/Program%20Files/WikidPad/user_extensions/WikidPadHooks.py
- Type or paste the full path to the file, including drive designation, into the WikiWord you are working on in the editor:
C:\Program Files\WikidPad\user_extensions\WikidPadHooks.py
- Type, paste or import the following python script snippet into the same WikiWord:
<% lib.encodeSelection(editor) %>
-
Click and drag to select the entire pathname
-
Press CTRL+e to execute the python script and WikidPad will insert the full path name and automatically encode it properly
file:///C|/Program%20Files/WikidPad/user_extensions/WikidPadHooks.py
Source: http://trac.wikidpad2.webfactional.com/wiki/HowToInsertFile