Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Illustartor script running UI twice

Community Beginner ,
Mar 18, 2025 Mar 18, 2025

I have a very basic jsx script for illustrator that shows a window. It has two buttons, when you press one of them the window closes. But for some reason it runs the script again that creates the window, if I run the same script from within the Extended Script editor toolkit linked to illustrator it runs the same script to build the UI once.


I have tried running the jsx script from the main menu and also as an action and both ways will appear ti run the script again once the UI is closed.

TOPICS
Scripting , SDK , Tools
115
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Beginner , Mar 25, 2025 Mar 25, 2025

All sorted, rebuilt the UI and not sure what it was but all works fine now.

Translate
Adobe
Community Beginner ,
Mar 18, 2025 Mar 18, 2025

To add I'm running Illustrator 2025 (29.3.1)

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 18, 2025 Mar 18, 2025

Hi @Nigel24120264gn0u first thing to do is to quit Illustrator, launch it again and confirm that the problem still occurs when you run the script directly from Illustrator.

 

Second thing to do is to create a pared-down version of your UI script with the minimum in it but that still triggers the problem and post that code here. Use the </> code formatting button and paste it. Then we will test to see if the issue is reproducible on our systems.

- Mark

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 25, 2025 Mar 25, 2025

All sorted, rebuilt the UI and not sure what it was but all works fine now.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 25, 2025 Mar 25, 2025
LATEST

Thanks for letting us know. 🙂

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines