Insert a link to a file
Inserting a link to a file may be accomplished in two ways:
- Drag and drop
- Type or paste the path and use a script
Drag and drop
- 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 and use a script
- 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
