Scripting window keeps appearing and no way to remove it
Uninstalling/Reinstalling does not remove prompt. Starting appearing after most recent update to with the new ipad features. Going back to older version, the window doesn't appear.
This issue is happening due to a security feature added in Illustrator to inform the user if any external application tries to execute a script in Illustrator.
Solution: Update your Logitech options app to the latest version – https://www.logitech.com/en-in/product/options
https://helpx.adobe.com/illustrator/kb/fix-scripting-error.html
We heard from some users that above solution is not working for them, we are investigating this issue. Meanwhile users can try the below workaround
Create a JSX file with the following content:
app.preferences.setBooleanPreference(“ShowExternalJSXWarning”, false);
Save the above JSX file. Now, go to File > Scripts > Other Script, and choose the newly saved jsx file.
This will suppress the warning dialog and run the script.
-
Sonia Vivo commented
@Alan solution works. For those that are not familiar with code:
1) Install a code editor like Visual studio Code (Free).
2) Type @Alan solution:
app.preferences.setBooleanPreference("ShowExternalJSXWarning", false)3) Save it on desktop as .jsx (write this at the end).
4) Go to illustrator and do that: File > Scripts > Other ScriptsHopefully that helps!
-
Rich commented
The update option worked for me.
I'm on a 2019 mbp 15" w/ OS version 11.5.2 -
Alan commented
Where latest Logitech version doesn't work, JSX solution does work.
For those who want a bit more information:
Place the text file called something like logitech-workaround.jsx in -
/Applications/Adobe Illustrator 2021/Presets/en_GB/Scripts (en_GB different for different countries)
Need to create it on your desktop and move it rather than saving direct there to get around permissions.NOTE - the text above has 'sexed' quotes. These need changing to straight quotes.
app.preferences.setBooleanPreference("ShowExternalJSXWarning", false)Then proceed as suggested via File > Scripts > Other Scripts
-
Dezi Vn commented
imac - mac os 10.15.7
16gb, geforce gt 750M 1GbIssue with new updated AI 25.3.1. Message about run script alway pop up ( event you chose with cancel or continue). It's too a annoyed. Please how can fix it? Thanks
-
Ryan Ackley commented
Same here.
-
Amy commented
I'm on Mac M1, OS 11.4, and Illustrator auto-updated last night to v25.3.1. Upon launching Ai, I repeatedly get a popup message/warning that I'm "about to run the script contained in the file 'IllustratorGc.jsx'". The message is persistent; even if I hit "cancel", it pops up again within seconds. Doesn't seem to matter if I launch the program without a file selected or am opening an existing file. Annoying!
-
Dan Robinson commented
Since I ran the latest update I've been getting this alert message constantly, about once a minute. Cancel or continue does nothing. I've searched my Mac for the existence of this script and it doesn't seem to exist.