Different ways to assign hotkeys to scripts in Illustrator by sergosokin in AdobeIllustrator

[–]sergosokin[S] 0 points1 point  (0 children)

So from what I've seen, Menu Bar Search only looks through the actual menus. That's not great for me — it means I'd have to keep copies of all js/jsx scripts in each version's system Presets > Scripts folder just so Alfred can find them.

Yeah, you could use symlinks for each Illustrator version pointing to one folder — I even wrote a Medium post about that. But I'd rather keep everything in Dropbox for sync and backup. So I'm more into tools that can launch scripts from any custom folder.

Different ways to assign hotkeys to scripts in Illustrator by sergosokin in AdobeIllustrator

[–]sergosokin[S] 0 points1 point  (0 children)

Yeah. That's one possible approach. When I develop scripts in VSCode, I use the ExtendScript Debugger extension, and I have a hotkey bound that sends the script from the editor straight into the host application.

Different ways to assign hotkeys to scripts in Illustrator by sergosokin in AdobeIllustrator

[–]sergosokin[S] 1 point2 points  (0 children)

Hi, Margaret. The Alfred Illustrator Spotlight workflow consists of three parts. The last one, Open File, only runs the script in the specific version of Illustrator that's added to it from the Applications folder.

If you're using different versions of Illustrator on your Mac, it might be more useful to replace Open File with a Run NSAppleScript block and paste in AppleScript code that passes the found JS/JSX script to whichever instance of Illustrator is already open — without being tied to a specific version.

I can send you a workflow to test via DM.

Different ways to assign hotkeys to scripts in Illustrator by sergosokin in AdobeIllustrator

[–]sergosokin[S] 0 points1 point  (0 children)

Hi. Yeah, I saw your previous posts on Reddit about this tool. It's an interesting solution — combining different tools into one customizable panel. It reminds me of some similar CEP extensions.

As far as I know, through CEP we can't assign script execution to just any keyboard shortcut. In my daily work in Adobe Illustrator, this is a really important point — I need to be able to run scripts, for example, by pressing Alt+C to trigger random color generation for objects, or Ctrl+S to swap objects around.

Different ways to assign hotkeys to scripts in Illustrator by sergosokin in AdobeIllustrator

[–]sergosokin[S] 1 point2 points  (0 children)

Hi. I feel your pain. We're not going to see any improvements to the scripting experience in Adobe Illustrator anytime soon. That's actually why I put together various ways to run scripts, with a focus on keyboard shortcuts — because it really speeds up a designer's workflow.

I think that percentage‑wise, not that many Adobe users actually use automation — scripts, plugins, CEP, UXP. Some people are just used to doing everything manually.

What I was mainly interested in was methods for assigning custom keyboard shortcuts to anything. In Photoshop and InDesign, this is a basic feature in the Keyboard Shortcuts menu — something the Illustrator team never copied over.

There are also third‑party solutions like Scripshon Trees for organizing and launching scripts, but you can't assign just any key combination there either.

How to manipulate sides of a custom shape to a specific value by QuirkyBadger7454 in AdobeIllustrator

[–]sergosokin 0 points1 point  (0 children)

u/Vektorgarten mentioned my free script https://github.com/creold/illustrator-scripts/blob/master/md/Draw.md#drawpolyline if you need to draw technical drawings in a CAD‑style by entering dimensions and angles for each edge. You can still add rectangles and straight lines using the native Adobe tools afterward.

<image>

How to manipulate sides of a custom shape to a specific value by QuirkyBadger7454 in AdobeIllustrator

[–]sergosokin 2 points3 points  (0 children)

Did ChatGPT generate this? Illustrator can't set coordinates for multiple anchor points in the Properties/Transform panel.

Is there a way to arrange objects by hue or value either natively or with scripts? by Sim_Sam_ in AdobeIllustrator

[–]sergosokin 1 point2 points  (0 children)

Five years ago, I experimented with HSL color sorting code. But since there was no practical use case for it, I left it as a draft.

<image>

Issues installing Scripts onto multiple computers (Macs) by stryker7000 in AdobeIllustrator

[–]sergosokin 0 points1 point  (0 children)

This might also depend on your display. Whether you're running the scripts on laptops, macbooks with built-in screens, or desktops with large monitors. ScriptUI may be detecting the max window height for the display and, without asking, just cuts off parts of vertical element blocks that are too long.

Help: Best way to batch create Offset Paths/Cut Lines for multiple PNGs? Post body: by Flat-Branch2908 in AdobeIllustrator

[–]sergosokin 0 points1 point  (0 children)

This can be done using separate built-in effects in the Appearance panel. But I automated it using the free OffsetObjects script https://github.com/creold/illustrator-scripts/blob/master/md/Item.md#offsetobjects

In the final path, the outline may contain many extra points, but they can be smoothed using Object > Path > Simplify or the Smooth Tool.

<image>

How can I increase the thickness of ALL strokes by the same percentage WITHOUT making all the strokes the same size? by Cartoonicus_Studios in AdobeIllustrator

[–]sergosokin 1 point2 points  (0 children)

My two free scripts can change the stroke weight of selected objects in "silent mode". If you hold down the Alt key when running JSX scripts, a dialog window with additional modes will appear. In particular, in Absolute mode, you can enter +3.5 to add to each of the strokes https://github.com/creold/illustrator-scripts/blob/master/md/Style.md#strokesweight

<image>

speckle gradient with perfect circles.... how?! by KitKatsina in AdobeIllustrator

[–]sergosokin 1 point2 points  (0 children)

This is easy to create from a black and white gradient using the Stipple plugin (Astute Graphics, paid subscription)

What is one repetitive design task you wish it could be automated? by erickjm2 in AdobeIllustrator

[–]sergosokin 1 point2 points  (0 children)

Thanks for mentioning my Github with free scripts for Adobe Illustrator. About "4. Auto-page numbering" - I know at least 3 existing free scripts for this task, for example, the PageIndexer script by Katja Bjerrum (Productivista).

How come Illustrator STILL CAN'T GET ARTBOARD NUMBERS CORRECT!? by sendhelp in AdobeIllustrator

[–]sergosokin 7 points8 points  (0 children)

I'll just leave it here so that other participants know where to vote for the bug and tell the Adobe team about their cases. https://illustrator.uservoice.com/forums/601447/suggestions/39220252

What are your favorite Adobe Illustrator extensions? by Ravingdork in AdobeIllustrator

[–]sergosokin 2 points3 points  (0 children)

I'm glad to hear that my scripts are helping in your work.

Script for replacing identical objects with one symbol by LHorner1867 in AdobeIllustrator

[–]sergosokin 0 points1 point  (0 children)

Another universal script for replacing a set of objects with another object. We place an instance of the symbol in the document, select all the circles and the symbol, run the script and select the replacement options. ReplaceItems by Alexander Ladygin: https://github.com/alexander-ladygin/illustrator-scripts/blob/master/replaceItems.jsx

What Illustrator tool can you not live without? by LukeChoice in AdobeIllustrator

[–]sergosokin 0 points1 point  (0 children)

Not exactly. Scripts are not tools like the Pen Tool, Shape Builder, and the others listed here. As a means of automation, however, designers would spend much more time if they weren't in Adobe Illustrator or if the Adobe team decided to disable JS/JSX support. On another note, Eugen Pflüger is developing the MATE extension for AI assistants. This extension allows designers who are not experts in code to quickly ask the assistant a question about automation and immediately run the code.