Skip to main content
Participating Frequently
May 5, 2022
Question

script runner Ui palette

  • May 5, 2022
  • 5 replies
  • 5942 views

Hi, we have multiple .jsx script files using illustrator document, every time we go to file other scripts and run my scripts. Is it possible to make a .jsx script runner Ui palette like an action palette?

This topic has been closed for replies.

5 replies

akmia51
Inspiring
July 30, 2022


With Scripts Runner Plugin, you can Run Your Scripts on Adobe Applications Without Actually Install Them on the Application. The script will be automatically added to the plugin, you don't need to add them every time. Just click to run it next time. also, Option to Run Scripts without adding on The plugin.
Link 

 
Abdul karim mia
Kurt Gold
Community Expert
Community Expert
May 7, 2022

Silly-V,

 

I tried your Script Panel 2 today. I'm quite impressed about its well thought-out settings and the palette itself looks pretty good.

 

However, I'm facing a major problem: The scripts don't get executed when double-clicking a script item in the palette. Nothing happens at all.

 

Do you perhaps have an idea what I may be overlooking?

 

Illustrator version: 26.2.1
Mac OS version 12.0.1

 

Silly-V
Legend
May 7, 2022

I believe you just single-click those buttons and it should work.

But, these scripts may have to written in a certain way.

It should work with all ways though, but maybe something in my latest changes makes it only work with this type of script:

 

 

//@target illustrator
function test_1 () {
	alert("Hello World!");
}
test_1();

 

 I haven't tested it with a script that isn't wrapped in a function like so, maybe that's the issue.

 

Edit: I apparently have done some more changes to it and just pushed them up. Not sure if it would make it better or worse though. But it still does work on 'my machine', so you should also see a result like this:

 

Kurt Gold
Community Expert
Community Expert
May 7, 2022

Thanks, Silly-V.

 

Well, of course I made sure that I actually do double click the items. I tried it with about 30 different scripts. It just doesn't work and nothing happens at all. Your test script does not get executed either. No matter if "listbox" or "buttons" are being set in the Script Display options.

 

Hmh.

 

PS: Looks like you are on Windows. Have you also tried it with the latest Illustrator version on the latest Mac OS version?

 

Kurt Gold
Community Expert
Community Expert
May 6, 2022

If you are looking for a simple, easy-to-use and straightforward Scripts palette, I can recommend two that are very similar to each other. One is called "ScripshonTrees" and the other is called "Scripts Panel". Both can be simply installed via Creative Cloud Plugin administration and do also work in Photoshop ("ScripshonTrees" also in InDesign).

 

 

"ScripshonTrees" has a nice search function that may be very useful if you have many scripts inside nested folders.

 

Probably the most sophisticated Scripts palette out there at the moment is called "LAScripts", provided by Alexander Ladygin. It comes with an additional Toolbar palette that may be useful sometimes.

 

"LAScripts" is more than just a script executor. It also has a pretty good source code editor to modify scripts on the fly and some other useful things. It works in Illustrator, InDesign and Photoshop.

 

 

Unfortunately, at the moment it is a bit tricky to install "LAScripts". Theoretically, it can simply be installed in your Creative Cloud Plugin administration, but this way the installation won't work properly and only shows an empty palette most of the time. You have to install it manually with some additional adjustments. Then it works well.

 

I haven't tried Silly-V's approach so far, but will do it certainly. Thanks for sharing, Silly-V.

 

Mike_Gondek10189183
Community Expert
Community Expert
May 5, 2022

Best you can do is in action flyout use Insert menu Item and type "Other scr" then click find it will fill in the rest and update to Title Case, so you know you got the right command.

 

You may wish to move your scripts to this folder  on windows, similar on mac

C:\Program Files\Adobe\Adobe Illustrator 2021\Scripting

 

restart illustrator, and they will show up under File >> Scripts. If you have many scripts you can use folders to group them by category.

Participating Frequently
May 5, 2022

 

Now we work on the same option but its frustration.

Thank you Mike,

Doug A Roberts
Community Expert
Community Expert
May 5, 2022

Yes, various scripters have made such things in the past. I haven't evaluated any but examples can be found in this thread:

https://community.adobe.com/t5/illustrator-discussions/can-i-make-a-button-to-run-a-script/td-p/10043240

Participating Frequently
May 5, 2022

This thread was more helpful.

Thanks Doug