1
0
mirror of https://github.com/gnosygnu/xowa.git synced 2026-03-02 03:49:30 +00:00

v4.0.0.1701

This commit is contained in:
gnosygnu
2017-01-03 21:15:53 -05:00
parent a1c2b697ae
commit 54ee941f0a
114 changed files with 21822 additions and 18816 deletions

View File

@@ -5,213 +5,7 @@
<title>Options/Content apps - XOWA</title>
<link rel="shortcut icon" href="https://gnosygnu.github.io/xowa/xowa_logo.png" />
<link rel="stylesheet" href="https://gnosygnu.github.io/xowa/xowa_common.css" type="text/css">
<style data-source="xowa" type="text/css">
.options_row_label {font-weight:bold; vertical-align:text-top; text-align:right; width:200px;}
.options_table {border: 1px solid #AAAAAA; border-collapse: collapse; color: black; margin: 1em 0; background-color: #F9F9F9;}
.options_table td {border: 1px solid #AAAAAA; padding: 0.2em;}
.options_textbox {padding: 2px; border: 1px solid black;}
.options_textbox_num {padding: 2px; border: 1px solid black; text-align:right;}
.options_textarea {padding: 2px; border: 1px solid black;}
.options_select {padding: 2px; border: 1px solid black;}
.options_button {padding: 2px; border: 1px solid black; background: white; height: 22px; margin-left: 1px; vertical-align: top;}
.options_checkbox {padding: 2px; border: 1px solid black;}
.options_readonly {background-color:#F9F9F9;}
</style>
<style data-source="xowa" type="text/css">
.optionsButton
{
width: 100px;
height: 40px;
font-family: 'Segoe UI';
font-size: 12px;
margin-left: -5px;
cursor: pointer;
background-color: lightgray;
text-align: center;
}
.optionsLink
{
color: black !important;
text-decoration: none;
}
.optionsButton.active
{
width: 100px;
height: 40px;
font-family: 'Segoe UI';
font-size: 12px;
margin-left: -5px;
cursor: pointer;
background-color: dimgray;
color: white !important;
border: solid 1px dimgray;
}
.optionsButton.active a
{
color: white !important;
}
.tabs
{
width: 100%;
margin-top: 10px;
}
.tab-links ul
{
margin-left: -40px;
}
.tab-links li
{
margin: 0px 0px 0px 0px;
float: left;
list-style: none;
}
.tab-links a
{
padding: 9px 15px 9px 15px;
border-radius: 3px 3px 0px 0px;
background: #f0f0f0;
font-family: 'Segoe UI';
font-size: 13px;
color: black !important;
text-decoration: none;
border-radius: 3px;
border-top: solid 1px gray;
border-left: solid 1px gray;
border-right: solid 1px gray;
}
.tab-links a:hover
{
background: #B0B0B0;
text-decoration: none;
}
li.active a, li.active a:hover
{
background: #fff;
color: #4c4c4c;
font-weight: bold;
}
.tab-content
{
padding: 15px;
border-radius: 3px;
background: #fff;
border-top: solid 1px gray;
margin-top: 5px;
min-height: 300px;
}
</style>
<style data-source="xowa" type="text/css">
.options_row_label {font-weight:bold; vertical-align:text-top; text-align:right; width:200px;}
.options_table {border: 1px solid #AAAAAA; border-collapse: collapse; color: black; margin: 1em 0; background-color: #F9F9F9;}
.options_table td {border: 1px solid #AAAAAA; padding: 0.2em;}
.options_textbox {padding: 2px; border: 1px solid black;}
.options_textbox_num {padding: 2px; border: 1px solid black; text-align:right;}
.options_textarea {padding: 2px; border: 1px solid black;}
.options_select {padding: 2px; border: 1px solid black;}
.options_button {padding: 2px; border: 1px solid black; background: white; height: 22px; margin-left: 1px; vertical-align: top;}
.options_checkbox {padding: 2px; border: 1px solid black;}
.options_readonly {background-color:#F9F9F9;}
</style>
<style data-source="xowa" type="text/css">
.optionsButton
{
width: 100px;
height: 40px;
font-family: 'Segoe UI';
font-size: 12px;
margin-left: -5px;
cursor: pointer;
background-color: lightgray;
text-align: center;
}
.optionsLink
{
color: black !important;
text-decoration: none;
}
.optionsButton.active
{
width: 100px;
height: 40px;
font-family: 'Segoe UI';
font-size: 12px;
margin-left: -5px;
cursor: pointer;
background-color: dimgray;
color: white !important;
border: solid 1px dimgray;
}
.optionsButton.active a
{
color: white !important;
}
.tabs
{
width: 100%;
margin-top: 10px;
}
.tab-links ul
{
margin-left: -40px;
}
.tab-links li
{
margin: 0px 0px 0px 0px;
float: left;
list-style: none;
}
.tab-links a
{
padding: 9px 15px 9px 15px;
border-radius: 3px 3px 0px 0px;
background: #f0f0f0;
font-family: 'Segoe UI';
font-size: 13px;
color: black !important;
text-decoration: none;
border-radius: 3px;
border-top: solid 1px gray;
border-left: solid 1px gray;
border-right: solid 1px gray;
}
.tab-links a:hover
{
background: #B0B0B0;
text-decoration: none;
}
li.active a, li.active a:hover
{
background: #fff;
color: #4c4c4c;
font-weight: bold;
}
.tab-content
{
padding: 15px;
border-radius: 3px;
background: #fff;
border-top: solid 1px gray;
margin-top: 5px;
min-height: 300px;
}
</style>
</head>
<body class="mediawiki ltr sitedir-ltr ns-0 ns-subject skin-vector action-submit vector-animateLayout" spellcheck="false">
<div id="mw-page-base" class="noprint"></div>
@@ -223,287 +17,328 @@ li.active a, li.active a:hover
<div id="contentSub"></div>
<div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr">
<div>
<table>
<tr>
<td class='optionsButton'>
<a class='optionsLink' href='/wiki/Options/Window'>Apps (basic)</a>
</td>
<td class='optionsButton'>
<a class='optionsLink' href='/wiki/Options/Security'>Apps (advanced)</a>
</td>
<td class='optionsButton'>
<a class='optionsLink' href='/wiki/Options/Import'>Wiki</a>
</td>
<td class='optionsButton'>
<a class='optionsLink' href='/wiki/Options/HTML'>HTML</a>
</td>
<td class='optionsButton active'>
<a class='optionsLink' href='/wiki/Options/Content_apps'>External apps</a>
</td>
<td class='optionsButton'>
<a class='optionsLink' href='/wiki/Options/Search_suggest'>Modules</a>
</td>
<td class='optionsButton'>
<a class='optionsLink' href='/wiki/Options/Math'>Extensions</a>
</td>
<td class='optionsButton'>
<a class='optionsLink' href='/wiki/Options/Dev'>Misc</a>
</td>
</tr>
</table>
</div>
<div class="tabs">
<div id='xocfg_body'>
<div id='xocfg_err'>
</div>
<div>
<ul class='tab-links' style='margin-left:0px;'>
<li class='active'>
<a href='/wiki/Options/Content_apps'>Content apps</a>
</li>
<li class=''>
<a href='/wiki/Options/Firefox_addon'>Firefox addon</a>
</li>
<li class=''>
<a href='/wiki/Options/HTTP_server'>HTTP server</a>
</li>
</ul>
</div><br>
<div class='tab-content'>
<div id="toc" class="toc">
<div id="toctitle">
<h2>
Contents
</h2>
</div>
<ul>
<li class="toclevel-1 tocsection-1">
<a href="#Instructions"><span class="tocnumber">1</span> <span class="toctext">Instructions</span></a>
</li>
<li class="toclevel-1 tocsection-2">
<a href="#Apps"><span class="tocnumber">2</span> <span class="toctext">Apps</span></a>
</li>
<li class="toclevel-1 tocsection-3">
<a href="#Notes"><span class="tocnumber">3</span> <span class="toctext">Notes</span></a>
</li>
</ul>
</div>
<div style='float:right; margin-right:10px; margin-top:5px;'>
<p>
<a href="xowa-cmd:app.user.prefs.save();" accesskey='s'><img src='file:///C:/xowa/bin/any/xowa/file/app.window/save.png' width="16" height="16">Save</a>
<span class='xoimg_btn_x16 xoimg_help_tip' href='javascript:void(0)' onclick='return xo.cfg_edit.help__toggle_all()' title='toggle all help'>&nbsp;</span> <select id='xocfg_nav_select' onchange='xo.cfg_edit.select__send(this);' onkeyup='xo.cfg_edit.select__by_keypress(event, this);' accesskey='l'>
<option value='xowa.app.security'>
App - Security
</option>
<option value='xowa.app.startup'>
App - Startup
</option>
<option value='xowa.gui.general'>
Gui - General
</option>
<option value='xowa.gui.tabs'>
Gui - Tabs
</option>
<option value='xowa.gui.url_bar'>
Gui - Address bar
</option>
<option value='xowa.gui.menus'>
Gui - Menus
</option>
<option value='xowa.gui.shortcuts'>
Gui - Shortcuts
</option>
<option value='xowa.wiki.hdumps'>
Wiki - HTML Databases
</option>
<option value='xowa.wiki.edit'>
Wiki - Editing
</option>
<option value='xowa.bldr.general'>
Import - General
</option>
<option value='xowa.bldr.db'>
Import - Database
</option>
<option value='xowa.bldr.page_sync'>
Import - Page sync
</option>
<option value='xowa.bldr.dansguardian'>
Import - Dansguardian
</option>
<option value='xowa.html.css'>
HTML - CSS
</option>
<option value='xowa.html.page'>
HTML - Page
</option>
<option value='xowa.html.tidy'>
HTML - Tidy
</option>
<option value='xowa.html.scripting'>
HTML - Scripting
</option>
<option value='xowa.files.general'>
Files - General
</option>
<option value='xowa.files.apps' selected='selected'>
Files - Apps
</option>
<option value='xowa.addon.search'>
Addon - Search
</option>
<option value='xowa.addon.category'>
Addon - Category
</option>
<option value='xowa.addon.http_server'>
Addon - HTTP Server
</option>
<option value='xowa.addon.scribunto'>
Addon - Scribunto
</option>
<option value='xowa.addon.math'>
Addon - Math
</option>
<option value='xowa.addon.score'>
Addon - Score
</option>
<option value='xowa.addon.popups'>
Addon - Popups
</option>
<option value='xowa.addon.wikibase'>
Addon - Wikidata
</option>
<option value='xowa.dev.general'>
Dev - General
</option>
</select>
</div>
<div id='cfg_grps'>
<div>
<p id='page_help_para'>
</p>
</div><br>
</div>
<h2>
<span class="mw-headline" id="Instructions">Instructions</span>
View apps
</h2>
<ul>
<li>
App path: Enter a path to program. Note that "..." will allow you to choose a file from your system.<sup id="cite_ref-ref_app_path_0-0" class="reference"><a href="#cite_note-ref_app_path-0">[1]</a></sup>
</li>
<li>
App args: Enter args for program. <sup id="cite_ref-ref_app_args_1-0" class="reference"><a href="#cite_note-ref_app_args-1">[2]</a></sup>
</li>
</ul>
<div class="xocfg_row flex_div">
<div class='xocfg_itm_help'>
<span class='xoimg_btn_x16 xoimg_help_tip' href='javascript:void(0)' onclick='return xo.help.toggle("xowa.files.apps.view.web")' title='view more info'>&nbsp;</span>
</div>
<div id='xowa.files.apps.view.web__name' class='xocfg_itm_name'>
Web browser
</div>
<div id='xowa.files.apps.view.web__undo' data-xocfg-type='io.cmd' class='xocfg_itm_delete xocfg_itm_hide'>
<span class='xoimg_btn_x16 xoimg_list_undo' onclick='return xo.cfg_edit.delete__send("xowa.files.apps.view.web")' title="reset to &quot;cmd|/c start &quot;&quot; &quot;~{url}&quot;&quot;">&nbsp;</span>
</div>
<div class='xocfg_itm_data'>
<input class="xocfg_data__io_cmd__exe__txt" id="xowa.files.apps.view.web-exe" data-xocfg-key="xowa.files.apps.view.web" data-xocfg-type="io.cmd-exe" accesskey="d" type="text" value="cmd"> <span class="xoimg_btn_x16 xoimg_app_configure" onclick='xo.cfg_edit.io_cmd__select("file", "xowa.files.apps.view.web-exe", "Please select a file.");'>&nbsp;</span><br>
<input class="xocfg_data__io_cmd__arg__txt" id="xowa.files.apps.view.web-arg" data-xocfg-key="xowa.files.apps.view.web" data-xocfg-type="io.cmd-arg" accesskey="d" type="text" value="/c start &quot;&quot; &quot;~{url}&quot;">
</div><input type='hidden' id='xowa.files.apps.view.web__key_box' value='xowa.files.apps.view.web'> <input type='hidden' id='xowa.files.apps.view.web__ctx_box' value='app'>
</div>
<div id='xowa.files.apps.view.web_help_div' class='xohelp_div'>
<div id='xowa.files.apps.view.web_help_msg' class='xohelp_msg'>
<p>
Launches when clicking on external links (Recommended: <a tabindex="-1" href="http://www.mozilla.org/en-US" rel="nofollow" class="external text">Mozilla Firefox</a>)
</p>
</div>
</div>
<div class="xocfg_row flex_div">
<div class='xocfg_itm_help'>
<span class='xoimg_btn_x16 xoimg_help_tip' href='javascript:void(0)' onclick='return xo.help.toggle("xowa.files.apps.view.media")' title='view more info'>&nbsp;</span>
</div>
<div id='xowa.files.apps.view.media__name' class='xocfg_itm_name'>
Media player
</div>
<div id='xowa.files.apps.view.media__undo' data-xocfg-type='io.cmd' class='xocfg_itm_delete xocfg_itm_hide'>
<span class='xoimg_btn_x16 xoimg_list_undo' onclick='return xo.cfg_edit.delete__send("xowa.files.apps.view.media")' title="reset to &quot;cmd|/c start &quot;&quot; &quot;~{file}&quot;&quot;">&nbsp;</span>
</div>
<div class='xocfg_itm_data'>
<input class="xocfg_data__io_cmd__exe__txt" id="xowa.files.apps.view.media-exe" data-xocfg-key="xowa.files.apps.view.media" data-xocfg-type="io.cmd-exe" accesskey="d" type="text" value="cmd"> <span class="xoimg_btn_x16 xoimg_app_configure" onclick='xo.cfg_edit.io_cmd__select("file", "xowa.files.apps.view.media-exe", "Please select a file.");'>&nbsp;</span><br>
<input class="xocfg_data__io_cmd__arg__txt" id="xowa.files.apps.view.media-arg" data-xocfg-key="xowa.files.apps.view.media" data-xocfg-type="io.cmd-arg" accesskey="d" type="text" value="/c start &quot;&quot; &quot;~{file}&quot;">
</div><input type='hidden' id='xowa.files.apps.view.media__key_box' value='xowa.files.apps.view.media'> <input type='hidden' id='xowa.files.apps.view.media__ctx_box' value='app'>
</div>
<div id='xowa.files.apps.view.media_help_div' class='xohelp_div'>
<div id='xowa.files.apps.view.media_help_msg' class='xohelp_msg'>
<p>
Launches when clicking on video or audio links (Recommended: <a tabindex="-1" href="http://www.videolan.org/vlc/index.html" rel="nofollow" class="external text">VLC</a>)
</p>
</div>
</div>
<div class="xocfg_row flex_div">
<div class='xocfg_itm_help'>
<span class='xoimg_btn_x16 xoimg_help_tip' href='javascript:void(0)' onclick='return xo.help.toggle("xowa.files.apps.view.image")' title='view more info'>&nbsp;</span>
</div>
<div id='xowa.files.apps.view.image__name' class='xocfg_itm_name'>
Image viewer
</div>
<div id='xowa.files.apps.view.image__undo' data-xocfg-type='io.cmd' class='xocfg_itm_delete xocfg_itm_hide'>
<span class='xoimg_btn_x16 xoimg_list_undo' onclick='return xo.cfg_edit.delete__send("xowa.files.apps.view.image")' title="reset to &quot;cmd|/c start &quot;&quot; &quot;~{file}&quot;&quot;">&nbsp;</span>
</div>
<div class='xocfg_itm_data'>
<input class="xocfg_data__io_cmd__exe__txt" id="xowa.files.apps.view.image-exe" data-xocfg-key="xowa.files.apps.view.image" data-xocfg-type="io.cmd-exe" accesskey="d" type="text" value="cmd"> <span class="xoimg_btn_x16 xoimg_app_configure" onclick='xo.cfg_edit.io_cmd__select("file", "xowa.files.apps.view.image-exe", "Please select a file.");'>&nbsp;</span><br>
<input class="xocfg_data__io_cmd__arg__txt" id="xowa.files.apps.view.image-arg" data-xocfg-key="xowa.files.apps.view.image" data-xocfg-type="io.cmd-arg" accesskey="d" type="text" value="/c start &quot;&quot; &quot;~{file}&quot;">
</div><input type='hidden' id='xowa.files.apps.view.image__key_box' value='xowa.files.apps.view.image'> <input type='hidden' id='xowa.files.apps.view.image__ctx_box' value='app'>
</div>
<div id='xowa.files.apps.view.image_help_div' class='xohelp_div'>
<div id='xowa.files.apps.view.image_help_msg' class='xohelp_msg'>
<p>
Launches when clicking on images in Wikimedia Commons (Recommended: <a tabindex="-1" href="http://www.gimp.org" rel="nofollow" class="external text">GIMP</a>)
</p>
</div>
</div>
<div class="xocfg_row flex_div">
<div class='xocfg_itm_help'>
<span class='xoimg_btn_x16 xoimg_help_tip' href='javascript:void(0)' onclick='return xo.help.toggle("xowa.files.apps.view.svg")' title='view more info'>&nbsp;</span>
</div>
<div id='xowa.files.apps.view.svg__name' class='xocfg_itm_name'>
SVG viewer
</div>
<div id='xowa.files.apps.view.svg__undo' data-xocfg-type='io.cmd' class='xocfg_itm_delete xocfg_itm_hide'>
<span class='xoimg_btn_x16 xoimg_list_undo' onclick='return xo.cfg_edit.delete__send("xowa.files.apps.view.svg")' title="reset to &quot;cmd|/c start &quot;&quot; &quot;~{file}&quot;&quot;">&nbsp;</span>
</div>
<div class='xocfg_itm_data'>
<input class="xocfg_data__io_cmd__exe__txt" id="xowa.files.apps.view.svg-exe" data-xocfg-key="xowa.files.apps.view.svg" data-xocfg-type="io.cmd-exe" accesskey="d" type="text" value="cmd"> <span class="xoimg_btn_x16 xoimg_app_configure" onclick='xo.cfg_edit.io_cmd__select("file", "xowa.files.apps.view.svg-exe", "Please select a file.");'>&nbsp;</span><br>
<input class="xocfg_data__io_cmd__arg__txt" id="xowa.files.apps.view.svg-arg" data-xocfg-key="xowa.files.apps.view.svg" data-xocfg-type="io.cmd-arg" accesskey="d" type="text" value="/c start &quot;&quot; &quot;~{file}&quot;">
</div><input type='hidden' id='xowa.files.apps.view.svg__key_box' value='xowa.files.apps.view.svg'> <input type='hidden' id='xowa.files.apps.view.svg__ctx_box' value='app'>
</div>
<div id='xowa.files.apps.view.svg_help_div' class='xohelp_div'>
<div id='xowa.files.apps.view.svg_help_msg' class='xohelp_msg'>
<p>
Launches when clicking on svgs in Wikimedia Commons (Recommended: <a tabindex="-1" href="http://www.inkscape.org" rel="nofollow" class="external text">Inkscape</a>)
</p>
</div>
</div>
<div class="xocfg_row flex_div">
<div class='xocfg_itm_help'>
<span class='xoimg_btn_x16 xoimg_help_tip' href='javascript:void(0)' onclick='return xo.help.toggle("xowa.files.apps.view.pdf")' title='view more info'>&nbsp;</span>
</div>
<div id='xowa.files.apps.view.pdf__name' class='xocfg_itm_name'>
PDF viewer
</div>
<div id='xowa.files.apps.view.pdf__undo' data-xocfg-type='io.cmd' class='xocfg_itm_delete xocfg_itm_hide'>
<span class='xoimg_btn_x16 xoimg_list_undo' onclick='return xo.cfg_edit.delete__send("xowa.files.apps.view.pdf")' title="reset to &quot;cmd|/c start &quot;&quot; &quot;~{file}&quot;&quot;">&nbsp;</span>
</div>
<div class='xocfg_itm_data'>
<input class="xocfg_data__io_cmd__exe__txt" id="xowa.files.apps.view.pdf-exe" data-xocfg-key="xowa.files.apps.view.pdf" data-xocfg-type="io.cmd-exe" accesskey="d" type="text" value="cmd"> <span class="xoimg_btn_x16 xoimg_app_configure" onclick='xo.cfg_edit.io_cmd__select("file", "xowa.files.apps.view.pdf-exe", "Please select a file.");'>&nbsp;</span><br>
<input class="xocfg_data__io_cmd__arg__txt" id="xowa.files.apps.view.pdf-arg" data-xocfg-key="xowa.files.apps.view.pdf" data-xocfg-type="io.cmd-arg" accesskey="d" type="text" value="/c start &quot;&quot; &quot;~{file}&quot;">
</div><input type='hidden' id='xowa.files.apps.view.pdf__key_box' value='xowa.files.apps.view.pdf'> <input type='hidden' id='xowa.files.apps.view.pdf__ctx_box' value='app'>
</div>
<div id='xowa.files.apps.view.pdf_help_div' class='xohelp_div'>
<div id='xowa.files.apps.view.pdf_help_msg' class='xohelp_msg'>
<p>
Launches when clicking on pdf files (Recommended: <a tabindex="-1" href="http://projects.gnome.org/evince" rel="nofollow" class="external text">Evince</a>)
</p>
</div>
</div>
<div class="xocfg_row flex_div">
<div class='xocfg_itm_help'>
<span class='xoimg_btn_x16 xoimg_help_tip' href='javascript:void(0)' onclick='return xo.help.toggle("xowa.files.apps.view.djvu")' title='view more info'>&nbsp;</span>
</div>
<div id='xowa.files.apps.view.djvu__name' class='xocfg_itm_name'>
DjVu viewer
</div>
<div id='xowa.files.apps.view.djvu__undo' data-xocfg-type='io.cmd' class='xocfg_itm_delete xocfg_itm_hide'>
<span class='xoimg_btn_x16 xoimg_list_undo' onclick='return xo.cfg_edit.delete__send("xowa.files.apps.view.djvu")' title="reset to &quot;cmd|/c start &quot;&quot; &quot;~{file}&quot;&quot;">&nbsp;</span>
</div>
<div class='xocfg_itm_data'>
<input class="xocfg_data__io_cmd__exe__txt" id="xowa.files.apps.view.djvu-exe" data-xocfg-key="xowa.files.apps.view.djvu" data-xocfg-type="io.cmd-exe" accesskey="d" type="text" value="cmd"> <span class="xoimg_btn_x16 xoimg_app_configure" onclick='xo.cfg_edit.io_cmd__select("file", "xowa.files.apps.view.djvu-exe", "Please select a file.");'>&nbsp;</span><br>
<input class="xocfg_data__io_cmd__arg__txt" id="xowa.files.apps.view.djvu-arg" data-xocfg-key="xowa.files.apps.view.djvu" data-xocfg-type="io.cmd-arg" accesskey="d" type="text" value="/c start &quot;&quot; &quot;~{file}&quot;">
</div><input type='hidden' id='xowa.files.apps.view.djvu__key_box' value='xowa.files.apps.view.djvu'> <input type='hidden' id='xowa.files.apps.view.djvu__ctx_box' value='app'>
</div>
<div id='xowa.files.apps.view.djvu_help_div' class='xohelp_div'>
<div id='xowa.files.apps.view.djvu_help_msg' class='xohelp_msg'>
<p>
Launches when clicking on djvu files (Recommended: <a tabindex="-1" href="http://djvu.sourceforge.net" rel="nofollow" class="external text">DjVuLibre</a>)
</p>
</div>
</div>
<h2>
<span class="mw-headline" id="Apps">Apps</span>
Build apps
</h2>
<table class="options_table">
<tr>
<td class='options_row_label'>
Web browser:
<p>
<sup id="cite_ref-2" class="reference"><a href="#cite_note-2">[3]</a></sup>
</p>
</td>
<td>
<input xowa_prop="app.fsys.apps.web.cmd" class="options_textbox" style="width: 380px; margin-bottom:2px;" type="xowa_io" id='xowa_prop_0' value='cmd'><button id='xowa_prop_0_io' class='options_button' onclick='xowa_io_select("file", "xowa_prop_0", "Please select a file.");'>...</button>
<p>
<input xowa_prop="app.fsys.apps.web.args" class="options_textbox" style="width: 380px;" id='xowa_prop_1' value='/c start "~{url}"'>
</p>
</td>
</tr>
<tr>
<td class='options_row_label'>
Media player:
<p>
<sup id="cite_ref-3" class="reference"><a href="#cite_note-3">[4]</a></sup>
</p>
</td>
<td>
<input xowa_prop="app.fsys.apps.media.cmd" class="options_textbox" style="width: 380px; margin-bottom:2px;" type="xowa_io" id='xowa_prop_2' value='vlc'><button id='xowa_prop_2_io' class='options_button' onclick='xowa_io_select("file", "xowa_prop_2", "Please select a file.");'>...</button>
<p>
<input xowa_prop="app.fsys.apps.media.args" class="options_textbox" style="width: 380px;" id='xowa_prop_3' value='"~{file}"'>
</p>
</td>
</tr>
<tr>
<td class='options_row_label'>
Image viewer:
<p>
<sup id="cite_ref-4" class="reference"><a href="#cite_note-4">[5]</a></sup>
</p>
</td>
<td>
<input xowa_prop="app.fsys.apps.image.cmd" class="options_textbox" style="width: 380px; margin-bottom:2px;" type="xowa_io" id='xowa_prop_4' value='cmd'><button id='xowa_prop_4_io' class='options_button' onclick='xowa_io_select("file", "xowa_prop_4", "Please select a file.");'>...</button>
<p>
<input xowa_prop="app.fsys.apps.image.args" class="options_textbox" style="width: 380px;" id='xowa_prop_5' value='/c start "~{file}"'>
</p>
</td>
</tr>
<tr>
<td class='options_row_label'>
PDF viewer:
<p>
<sup id="cite_ref-5" class="reference"><a href="#cite_note-5">[6]</a></sup>
</p>
</td>
<td>
<input xowa_prop="app.fsys.apps.pdf.cmd" class="options_textbox" style="width: 380px; margin-bottom:2px;" type="xowa_io" id='xowa_prop_6' value='cmd'><button id='xowa_prop_6_io' class='options_button' onclick='xowa_io_select("file", "xowa_prop_6", "Please select a file.");'>...</button>
<p>
<input xowa_prop="app.fsys.apps.pdf.args" class="options_textbox" style="width: 380px;" id='xowa_prop_7' value='/c start "~{file}"'>
</p>
</td>
</tr>
<tr>
<td class='options_row_label'>
DjVu viewer:
<p>
<sup id="cite_ref-6" class="reference"><a href="#cite_note-6">[7]</a></sup>
</p>
</td>
<td>
<input xowa_prop="app.fsys.apps.djvu.cmd" class="options_textbox" style="width: 380px; margin-bottom:2px;" type="xowa_io" id='xowa_prop_8' value='cmd'><button id='xowa_prop_8_io' class='options_button' onclick='xowa_io_select("file", "xowa_prop_8", "Please select a file.");'>...</button>
<p>
<input xowa_prop="app.fsys.apps.djvu.args" class="options_textbox" style="width: 380px;" id='xowa_prop_9' value='/c start "~{file}"'>
</p>
</td>
</tr>
</table>
<h2>
<span class="mw-headline" id="Notes">Notes</span>
</h2>
<ol class="references">
<li id="cite_note-ref_app_path-0">
<span class="mw-cite-backlink"><a href="#cite_ref-ref_app_path_0-0">^</a></span> <span class="reference-text">For app path, enter one of the following</span>
<ul>
<li>
<span class="reference-text">An absolute path. Note that you <b>must</b> enter quotes if your path has spaces. For example:</span>
</li>
</ul>
<dl>
<dd>
<span class="reference-text">On Linux / Mac OS X: <code>/usr/bin/vlc</code></span>
</dd>
<dd>
<span class="reference-text">On Windows: <code>"C:\Program Files\VLC\vlc"</code></span>
</dd>
</dl>
<ul>
<li>
<span class="reference-text">An XOWA relative path. For example:</span>
</li>
</ul>
<dl>
<dd>
<span class="reference-text">On Linux / Mac OS X: <code>~{&lt;&gt;bin_plat_dir&lt;&gt;}vlc/vlc</code></span>
<dl>
<dd>
<span class="reference-text">This will expand to <code>/xowa/bin/linux/vlc/vlc</code></span>
</dd>
</dl>
</dd>
<dd>
<span class="reference-text">On Windows: <code>~{&lt;&gt;bin_plat_dir&lt;&gt;}vlc\vlc</code></span>
<dl>
<dd>
<span class="reference-text">This will expand to <code>C:\xowa\bin\windows\vlc\vlc</code></span>
</dd>
</dl>
</dd>
<dd>
<span class="reference-text">Note that relative paths display their expanded form (<code>/xowa/bin/linux/</code>), not their literal form (<code>~{&lt;&gt;bin_plat_dir&lt;&gt;}</code>)</span>
</dd>
<dd>
<span class="reference-text">i.e.: if you enter <code>~{&lt;&gt;bin_plat_dir&lt;&gt;}</code> and press save, the text box will show <code>/xowa/bin/linux/</code>, even though the value is saved as <code>~{&lt;&gt;bin_plat_dir&lt;&gt;}</code></span>
</dd>
</dl>
<ul>
<li>
<span class="reference-text">A binary name, if the binary's directory is defined in your PATH</span>
</li>
</ul>
<dl>
<dd>
<span class="reference-text">EX: On a Windows system with a PATH including <code>"C:\Program Files\VLC"</code>, a value of <code>vlc</code> is sufficient.</span>
</dd>
</dl><span class="reference-text">Note regarding default values:</span>
<ul>
<li>
<span class="reference-text">For Linux / Mac OS X systems, the default values may not apply. Please change as necessary on your system</span>
</li>
</ul>
<ul>
<li>
<span class="reference-text">For Windows systems, the default path is defined as <code>cmd</code> and the arg is <code>/c start "~{file}"</code>. This attempts to launch the file with the default application defined for the file.</span>
</li>
</ul>
<dl>
<dd>
<span class="reference-text">If this does not work properly, please specify the app path</span>
</dd>
</dl>
</li>
<li id="cite_note-ref_app_args-1">
<span class="mw-cite-backlink"><a href="#cite_ref-ref_app_args_1-0">^</a></span> <span class="reference-text">For app args, note the following</span>
<ul>
<li>
<span class="reference-text">A web browser takes one argument of <code>~{url}</code> which expands to the url in the external link</span>
</li>
</ul>
<dl>
<dd>
<span class="reference-text">EX: For <a href="https://sourceforge.net/projects/xowa/files/" rel="nofollow" class="external free">https://sourceforge.net/projects/xowa/files/</a> the <code>~{url}</code> will be <code>https://sourceforge.net/projects/xowa/files/</code></span>
</dd>
</dl>
<ul>
<li>
<span class="reference-text">Other content applications take one argument of <code>~{file}</code> which expands to the local path for the file</span>
</li>
</ul>
<dl>
<dd>
<span class="reference-text">EX: The image [[File:A.png]] will produce a <code>~{file}</code> of <code>/xowa/file/en.wikipedia.org/orig/7/0/1/c/A.png</code></span>
</dd>
</dl>
<ul>
<li>
<span class="reference-text">Customized arguments can be passed depending on the application</span>
</li>
</ul>
<dl>
<dd>
<span class="reference-text">EX: VLC takes an argument <code>--no-loop</code> which explicitly instructs VLC not to automatically replay the file. (Clicking on a pronunciation example would cause the short 1 second word to be repeated over and over again).</span>
</dd>
<dd>
<span class="reference-text">To pass this argument, change the args to <code>--no-loop "~{file}"</code></span>
</dd>
</dl>
</li>
<li id="cite_note-2">
<span class="mw-cite-backlink"><a href="#cite_ref-2">^</a></span> <span class="reference-text">Launches when clicking on external links . Recommended: <a href="http://www.mozilla.org/en-US" rel="nofollow" class="external text">Mozilla Firefox</a></span>
</li>
<li id="cite_note-3">
<span class="mw-cite-backlink"><a href="#cite_ref-3">^</a></span> <span class="reference-text">Launches when clicking on video or audio links . Recommended: <a href="http://www.videolan.org/vlc/index.html" rel="nofollow" class="external text">VLC</a></span>
</li>
<li id="cite_note-4">
<span class="mw-cite-backlink"><a href="#cite_ref-4">^</a></span> <span class="reference-text">Launches when clicking on images in Wikimedia Commons . Recommended: <a href="http://www.gimp.org" rel="nofollow" class="external text">GIMP</a></span>
</li>
<li id="cite_note-5">
<span class="mw-cite-backlink"><a href="#cite_ref-5">^</a></span> <span class="reference-text">Launches when clicking on pdf files . Recommended: <a href="http://projects.gnome.org/evince" rel="nofollow" class="external text">Evince</a></span>
</li>
<li id="cite_note-6">
<span class="mw-cite-backlink"><a href="#cite_ref-6">^</a></span> <span class="reference-text">Launches when clicking on djvu files . Recommended: <a href="http://djvu.sourceforge.net" rel="nofollow" class="external text">DjVuLibre</a></span>
</li>
</ol>
<div class="xocfg_row flex_div">
<div class='xocfg_itm_help'>
<span class='xoimg_btn_x16 xoimg_help_tip' href='javascript:void(0)' onclick='return xo.help.toggle("xowa.files.apps.make.img_size_get")' title='view more info'>&nbsp;</span>
</div>
<div id='xowa.files.apps.make.img_size_get__name' class='xocfg_itm_name'>
ImageMagick - Identify
</div>
<div id='xowa.files.apps.make.img_size_get__undo' data-xocfg-type='io.cmd' class='xocfg_itm_delete xocfg_itm_hide'>
<span class='xoimg_btn_x16 xoimg_list_undo' onclick='return xo.cfg_edit.delete__send("xowa.files.apps.make.img_size_get")' title="reset to &quot;~{&lt;&gt;bin_plat_dir&lt;&gt;}imagemagick\identify|-ping -format &quot;&lt;{%w,%h}&gt;&quot; &quot;~{file}&quot;&quot;">&nbsp;</span>
</div>
<div class='xocfg_itm_data'>
<input class="xocfg_data__io_cmd__exe__txt" id="xowa.files.apps.make.img_size_get-exe" data-xocfg-key="xowa.files.apps.make.img_size_get" data-xocfg-type="io.cmd-exe" accesskey="d" type="text" value="~{&lt;&gt;bin_plat_dir&lt;&gt;}imagemagick\identify"> <span class="xoimg_btn_x16 xoimg_app_configure" onclick='xo.cfg_edit.io_cmd__select("file", "xowa.files.apps.make.img_size_get-exe", "Please select a file.");'>&nbsp;</span><br>
<input class="xocfg_data__io_cmd__arg__txt" id="xowa.files.apps.make.img_size_get-arg" data-xocfg-key="xowa.files.apps.make.img_size_get" data-xocfg-type="io.cmd-arg" accesskey="d" type="text" value="-ping -format &quot;&lt;{%w,%h}&gt;&quot; &quot;~{file}&quot;">
</div><input type='hidden' id='xowa.files.apps.make.img_size_get__key_box' value='xowa.files.apps.make.img_size_get'> <input type='hidden' id='xowa.files.apps.make.img_size_get__ctx_box' value='app'>
</div>
<div id='xowa.files.apps.make.img_size_get_help_div' class='xohelp_div'>
<div id='xowa.files.apps.make.img_size_get_help_msg' class='xohelp_msg'>
<p>
Queries image for size (needed for online images; not needed for offline databases) (Recommended: <a tabindex="-1" href="http://www.imagemagick.org/" rel="nofollow" class="external text">ImageMagick</a>)
</p>
</div>
</div>
<div class="xocfg_row flex_div">
<div class='xocfg_itm_help'>
<span class='xoimg_btn_x16 xoimg_help_tip' href='javascript:void(0)' onclick='return xo.help.toggle("xowa.files.apps.make.img_size_set")' title='view more info'>&nbsp;</span>
</div>
<div id='xowa.files.apps.make.img_size_set__name' class='xocfg_itm_name'>
ImageMagick - Convert
</div>
<div id='xowa.files.apps.make.img_size_set__undo' data-xocfg-type='io.cmd' class='xocfg_itm_delete xocfg_itm_hide'>
<span class='xoimg_btn_x16 xoimg_list_undo' onclick='return xo.cfg_edit.delete__send("xowa.files.apps.make.img_size_set")' title="reset to &quot;~{&lt;&gt;bin_plat_dir&lt;&gt;}imagemagick\convert|&quot;~{source}&quot; -coalesce -resize ~{width}x~{height} &quot;~{target}&quot;&quot;">&nbsp;</span>
</div>
<div class='xocfg_itm_data'>
<input class="xocfg_data__io_cmd__exe__txt" id="xowa.files.apps.make.img_size_set-exe" data-xocfg-key="xowa.files.apps.make.img_size_set" data-xocfg-type="io.cmd-exe" accesskey="d" type="text" value="~{&lt;&gt;bin_plat_dir&lt;&gt;}imagemagick\convert"> <span class="xoimg_btn_x16 xoimg_app_configure" onclick='xo.cfg_edit.io_cmd__select("file", "xowa.files.apps.make.img_size_set-exe", "Please select a file.");'>&nbsp;</span><br>
<input class="xocfg_data__io_cmd__arg__txt" id="xowa.files.apps.make.img_size_set-arg" data-xocfg-key="xowa.files.apps.make.img_size_set" data-xocfg-type="io.cmd-arg" accesskey="d" type="text" value="&quot;~{source}&quot; -coalesce -resize ~{width}x~{height} &quot;~{target}&quot;">
</div><input type='hidden' id='xowa.files.apps.make.img_size_set__key_box' value='xowa.files.apps.make.img_size_set'> <input type='hidden' id='xowa.files.apps.make.img_size_set__ctx_box' value='app'>
</div>
<div id='xowa.files.apps.make.img_size_set_help_div' class='xohelp_div'>
<div id='xowa.files.apps.make.img_size_set_help_msg' class='xohelp_msg'>
<p>
Resizes image (needed for online images; not needed for offline databases) (Recommended: <a tabindex="-1" href="http://www.imagemagick.org/" rel="nofollow" class="external text">ImageMagick</a>)
</p>
</div>
</div>
<div class="xocfg_row flex_div">
<div class='xocfg_itm_help'>
<span class='xoimg_btn_x16 xoimg_help_tip' href='javascript:void(0)' onclick='return xo.help.toggle("xowa.files.apps.make.svg_to_png")' title='view more info'>&nbsp;</span>
</div>
<div id='xowa.files.apps.make.svg_to_png__name' class='xocfg_itm_name'>
Inkscape
</div>
<div id='xowa.files.apps.make.svg_to_png__undo' data-xocfg-type='io.cmd' class='xocfg_itm_delete xocfg_itm_hide'>
<span class='xoimg_btn_x16 xoimg_list_undo' onclick='return xo.cfg_edit.delete__send("xowa.files.apps.make.svg_to_png")' title="reset to &quot;~{&lt;&gt;bin_plat_dir&lt;&gt;}inkscape\inkscape|-z -w ~{width} -f &quot;~{source}&quot; -e &quot;~{target}&quot;&quot;">&nbsp;</span>
</div>
<div class='xocfg_itm_data'>
<input class="xocfg_data__io_cmd__exe__txt" id="xowa.files.apps.make.svg_to_png-exe" data-xocfg-key="xowa.files.apps.make.svg_to_png" data-xocfg-type="io.cmd-exe" accesskey="d" type="text" value="~{&lt;&gt;bin_plat_dir&lt;&gt;}inkscape\inkscape"> <span class="xoimg_btn_x16 xoimg_app_configure" onclick='xo.cfg_edit.io_cmd__select("file", "xowa.files.apps.make.svg_to_png-exe", "Please select a file.");'>&nbsp;</span><br>
<input class="xocfg_data__io_cmd__arg__txt" id="xowa.files.apps.make.svg_to_png-arg" data-xocfg-key="xowa.files.apps.make.svg_to_png" data-xocfg-type="io.cmd-arg" accesskey="d" type="text" value="-z -w ~{width} -f &quot;~{source}&quot; -e &quot;~{target}&quot;">
</div><input type='hidden' id='xowa.files.apps.make.svg_to_png__key_box' value='xowa.files.apps.make.svg_to_png'> <input type='hidden' id='xowa.files.apps.make.svg_to_png__ctx_box' value='app'>
</div>
<div id='xowa.files.apps.make.svg_to_png_help_div' class='xohelp_div'>
<div id='xowa.files.apps.make.svg_to_png_help_msg' class='xohelp_msg'>
<p>
Converts svg to png (needed for online images; not needed for offline databases) (Recommended: <a tabindex="-1" href="http://www.inkscape.org/" rel="nofollow" class="external text">Inkscape</a>)
</p>
</div>
</div>
<div class="xocfg_row flex_div">
<div class='xocfg_itm_help'>
<span class='xoimg_btn_x16 xoimg_help_tip' href='javascript:void(0)' onclick='return xo.help.toggle("xowa.files.apps.make.djvu_to_tiff")' title='view more info'>&nbsp;</span>
</div>
<div id='xowa.files.apps.make.djvu_to_tiff__name' class='xocfg_itm_name'>
DjVu converter
</div>
<div id='xowa.files.apps.make.djvu_to_tiff__undo' data-xocfg-type='io.cmd' class='xocfg_itm_delete xocfg_itm_hide'>
<span class='xoimg_btn_x16 xoimg_list_undo' onclick='return xo.cfg_edit.delete__send("xowa.files.apps.make.djvu_to_tiff")' title="reset to &quot;~{&lt;&gt;bin_plat_dir&lt;&gt;}djvulibre\ddjvu|-format=tiff -page=1 &quot;~{source}&quot; &quot;~{target}&quot;&quot;">&nbsp;</span>
</div>
<div class='xocfg_itm_data'>
<input class="xocfg_data__io_cmd__exe__txt" id="xowa.files.apps.make.djvu_to_tiff-exe" data-xocfg-key="xowa.files.apps.make.djvu_to_tiff" data-xocfg-type="io.cmd-exe" accesskey="d" type="text" value="~{&lt;&gt;bin_plat_dir&lt;&gt;}djvulibre\ddjvu"> <span class="xoimg_btn_x16 xoimg_app_configure" onclick='xo.cfg_edit.io_cmd__select("file", "xowa.files.apps.make.djvu_to_tiff-exe", "Please select a file.");'>&nbsp;</span><br>
<input class="xocfg_data__io_cmd__arg__txt" id="xowa.files.apps.make.djvu_to_tiff-arg" data-xocfg-key="xowa.files.apps.make.djvu_to_tiff" data-xocfg-type="io.cmd-arg" accesskey="d" type="text" value="-format=tiff -page=1 &quot;~{source}&quot; &quot;~{target}&quot;">
</div><input type='hidden' id='xowa.files.apps.make.djvu_to_tiff__key_box' value='xowa.files.apps.make.djvu_to_tiff'> <input type='hidden' id='xowa.files.apps.make.djvu_to_tiff__ctx_box' value='app'>
</div>
<div id='xowa.files.apps.make.djvu_to_tiff_help_div' class='xohelp_div'>
<div id='xowa.files.apps.make.djvu_to_tiff_help_msg' class='xohelp_msg'>
<p>
Converts djvu to png (needed for online images; not needed for offline databases) (Recommended: <a tabindex="-1" href="http://www.miktex.org/" rel="nofollow" class="external text">MikTeX</a>)
</p>
</div>
</div>
</div>
</div>