chatty.github.io/help/help-guide_create_shortcut.html

96 lines
4.6 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html>
2018-10-26 20:06:54 +02:00
<title>Chatty Help - Create Shortcut (add Launch Options/Icon)</title>
<link rel="stylesheet" type="text/css" href="style.css" />
<body>
<div id="backlink"><a href="help.html">Back to main help page</a></div>
2018-10-26 20:06:54 +02:00
<h1><a name="top">Create Shortcut (add Launch Options/Icon)</a></h1>
2016-04-26 21:14:25 +02:00
<p>This applies to Windows 7, and probably other Windows versions. The info
can probably also be applied to other OS with some adjustments.</p>
<p>You can create a shortcut for Chatty, which has some potential advantages (depending on what you need):</p>
<ul>
2016-04-26 21:14:25 +02:00
<li>It may allow you to start Chatty even if you otherwise have issues
with that.</li>
<li>You can give Chatty
<a href="help.html#launch">launch options</a>, like
2017-12-26 18:26:29 +01:00
<code>-cd</code> or <code>-d</code> to use a different
2016-04-26 21:14:25 +02:00
<a href="help-guide_folders.html">settings directory</a>.</li>
<li>You can attach Chatty to the taskbar.</li>
<li>You can give the shortcut the Chatty icon, to replace the Java icon
without changing it for all Java programs.</li>
</ul>
2018-10-26 20:06:54 +02:00
<p><em>Note:</em> If you used the installer a shortcut may already have been
created for you.</p>
<h2>Create shortcut (JAR-Version)</h2>
2016-04-26 21:14:25 +02:00
<p>Create a shortcut to Java to start Chatty (for this example the
<code>Chatty.jar</code> is located in <code>D:\Chatty\</code>):</p>
<h3>First way</h3>
<ul>
2016-04-26 21:14:25 +02:00
<li>Right-click in the folder you want to create the shortcut in, choose
<code>New - Shortcut</code> from the context menu. Enter
<code>javaw -jar "D:\Chatty\Chatty.jar"</code> as location of the
2018-06-22 18:12:55 +02:00
item (adjust the path to where <code>Chatty.jar</code> is located
for you).</li>
2016-04-26 21:14:25 +02:00
<li>Go to the next page and enter a name for the shortcut and finish
creating the shorcut.</li>
<li>Right-click on the newly created shortcut and choose
<code>Properties</code> from the context menu. Make sure that under
<code>Shortcut</code> the <code>Start in</code> points to the folder
that the <code>Chatty.jar</code> is in (otherwise some stuff might
not work).</li>
</ul>
<h3>Second way</h3>
<ul>
2016-04-26 21:14:25 +02:00
<li>Right-click on the <code>Chatty.jar</code> and drag it to an open
area in the folder, then let go to open the context menu, choose the option to create a shortcut.</li>
<li>Right-click on the newly created shortcut and choose
<code>Properties</code> from the context menu. In the
<code>Target</code> field, it should have the path to the
<code>Chatty.jar</code>. Before that add: <code>javaw -jar </code>,
2018-06-22 18:12:55 +02:00
so that in total it reads for example (of course the path to the
<code>Chatty.jar</code> might be different for you):
2016-04-26 21:14:25 +02:00
<code>javaw -jar "D:\Chatty\Chatty.jar"</code></li>
</ul>
2016-04-26 21:14:25 +02:00
<p>The <code>javaw</code> part might automatically be changed into the full path
to the <code>javaw.exe</code> when you save the shortcut.</p>
2018-10-26 20:06:54 +02:00
<h2>Create shortcut (Standalone Version)</h2>
<p>For the Standalone Version you can use the same methods as detailed above
(for example drag and release with the right mousebutton and choose the option to create shortcut),
except that it simply starts the <code>Chatty.exe</code> (without <code>javaw</code>), for example:
<code>"D:\Chatty\Chatty.exe"</code></p>
<h2>Editing shortcut</h2>
<p>Add launch options or icon:</p>
<ul>
2016-04-26 21:14:25 +02:00
<li>Right-click on the newly created shortcut and choose
<code>Properties</code> from the context menu, then go to the
<code>Shortcut</code> tab.</li>
<li>Add any <a href="help.html#launch">launch options</a> you want to
use with Chatty after the path to Chatty. For example:
2018-10-26 20:06:54 +02:00
<ul>
<li><code>javaw -jar "D:\Chatty\Chatty.jar" -cd</code> (JAR-Version)</li>
<li><code>"D:\Chatty\Chatty.exe" -cd</code> (Standalone)</li>
</ul>
For the Standalone Version you can alternatively specify launch
options in the <a href="help-standalone.html#cfg-launch">Chatty.cfg</a>.
</li>
2016-04-26 21:14:25 +02:00
<li>Click <code>Change Icon..</code> and then <code>Browse..</code> to
select an item to use for the Shortcut from your harddrive.
2019-08-05 18:08:32 +02:00
(<a href="https://chatty.github.io/Chatty.ico">Download Chatty icon
2016-04-26 21:14:25 +02:00
as <code>.ico</code> file</a>, right-click and
<code>Save target as..</code>)</li>
</ul>
<h2>Use shortcut</h2>
2016-04-26 21:14:25 +02:00
<p>You can then start Chatty by using this shortcut or you can drag it to the
taskbar to attach it to it.</p>
</body>
</html>