JSFiddle - React, Tailwind, and code Playground

by lollero

HTML

<h2>Illustrator - Setting hotkey for scripts</h2>

<p>
    Illustrator doesn't have a native way for setting a hotkey to launch a script, which is super annoying, but there is relatively simple way around it for both Windows and Mac. If you're not familiar with coding, the Autohotkey method might be intimidating compared to the Automator method, which doesn't require you to play with code, much.
</p>

<a href="#" class="button">Automator instructions for Mac</a>
<br>
<a href="#" class="button">Autohotkey instructions for Windows</a>

<h3>Benefits of using Automator or Autohotkey for launching Illustrator scripts</h3>

<ol>
    <li>You can launch a script from any location (e.g. DropBox.)</li>
    <li>You can pretty much use any hotkey you want. (Just make sure that the Illustrator has not reserved it for something else already)</li>
    <li>You don't necessarily have to be in illustrator to use the hotkey (This has never benefited me much, but it's a thing...)</li>
</ol>

<p>
    The first benefit is the reason why I've used this method even with photoshop and indesign in the past, both of which of course do support setting hotkeys for scripts. I've used it in situations where I've been swapping between computers and wanted to edit the script every now and then.
</p>

<h3>Mac - Automator insctructions</h3>
<p>
    Lorem ipsum dolor sit amet, consectetur adipisicing elit. Exercitate od fugit ab maxime veritatis dolor ullam iure ea tenetur exercitationem distinctio. Optio ducimus ad dignissimos assumenda culpa eius! Voluptate laboriosam minus perspiciatis molestiae reprehenderit? Dolor voluptatem quam sequi accusantium quas ex.
</p>

<h3>Windows - Autohotkey insctructions</h3>

<ol>
    <li>You can get Autohotkey <a href="http://www.autohotkey.com/">here</a>.</li>
    <li>After it is installed, Open Notepad.</li>
    <li>Add this code in it:</li>
    <li>Save the notepad file as .ahk</li>
    <li>Put this .ahk file to the startup items, so that the script will...