DSALauncher is a simple tool that allows yout to uickly open your Das Schwarze Auge
/The Dark Eye
pdfs at the right page.
With the companion userscript you can even directly jump from wiki-aventurica.de to the right positions in your pdf files.
The whole thing was written in under a day - so do not expect too much...
[documentKeyword] [page]
+ enter
[documentKeyword][page]
+ enter
[documentKeyword] [searchKeyword]
+ enter
Just install the userscript and click on the new links on page numbers
click
+ drag
exit
+ enter
- Install .NET Framework 4.7.1 (if not already installed)
- Dowload the latest release
- Unzip the files to a folder of your choice
- Open the
settings.json
file in a editor
Key | Description | Example |
---|---|---|
PdfViewer |
Path to executable of the pdf viewer. | C:\\Program Files (x86)\\Adobe\\Acrobat Reader DC\\Reader\\AcroRd32.exe |
PdfCommandPage |
Arguments to open a page ({0} =pdf path {1} =page number ) |
/A page={1} \"{0}\" |
PdfCommandSearch |
Arguments to trigger a search ({0} =pdf path {1} =keyword ) |
/A search=\"{1}\" \"{0}\" |
PdfBasePath |
Base path to make relative paths absolute | 'C:\DSA' |
AlwaysTop |
If true the input field will always stay on top |
'true' |
InactiveOpacity |
A value between 0and 1` which determinates the opacity of the inactive input field |
0.8 |
WebserverActive |
If true a small webserver will be started which allows the companion userscript to open pdfs |
true |
WebserverPort |
The port the webserver should use | 7964 |
Files |
List of the documents you own - see next table how to define documents | [ ... ] |
Files definition:
Key | Description | Example |
---|---|---|
Keywords |
List of keywords for this document (adding wiki-aventurica name is sugested) | [ "Wege der Helden", "WdH", "Helden" ] |
PdfPath |
Path to your pdf file (can be absolute or relative to PdfBasePath ) |
Regelwerke\\Wege der Helden.pdf |
Offset |
Offset for the page numer for this document | 1 |
-
Allow the user to use the port:
netsh http add urlacl url=http://*:[Port]/ user=DOMAIN\user
Optional - you can also runDSALauncher.exe
with administrative rights. -
Start
DSALauncher.exe
-
[Optional] Install
DSALauncher.user.js
in your browser
- If a document is already open it will not change to the new position (adobe reader limitation)