Illustrator (Desktop) Bugs
When reporting a bug, please provide a detailed description with the following:
- Details of your operating system
- The version of Adobe Illustrator (desktop)
- The steps you were taking when you experienced the issues
- Your expected result and the actual result
- Upload your Illustrator file or a video (screen recording or gif, this helps us most to reproduce the issue and resolve it)
85 results found
-
Adobe Illustrator 28.7.3 does not load AIBeautifulStrokes
Adobe Illustrator 28.7.3, at least the macOS version, does not load AIBeautifulStrokes suite in my plugin (error 29550). All other versions, including up to 28.7.2, work fine. I am using SDK build 142, the version of the 2024 SDK now available for download.
AIErr err = sSPBasic->AcquireSuite (kAIBeautifulStrokesSuite, kAIBeautifulStrokesVersion, (const void**) &sAIBeautifulStrokes);
1 voteNo longer happens with 29.1
-
Illustrator JavaScript Scripting Reference.pdf Pages 46 (Documents Section)
"ArtBoard" or "artBoard" ???? There must be consistency in capitalization
[, numArtBoards]
[, artboardLayout]
[, artboardSpacing]
[, artboardRowsOrCols])1 vote -
getSystemPath using CSInterface throws URI Malformed error
I was trying to get the my documents folder path of the system using CSInterface getSystemPath function. It works in most of the cases. But it throws URI malformed error (refer the screenshot below), if the path of the documents folder contain characters from languages other than English.
I debugged the CSInterface.js file at line 521. And I found that the below piece of code returns the path of the folder without encoding the characters from languages other than English.
window.adobe_cep.getSystemPath(pathType)
IN MY CASE:
Path of documents folder: "C:\Users\sanjay\OneDrive - Élégante\Documents".
window.adobe_cep.getSystemPath(pathType)
// Returned value -…1 vote -
Applescript Artboard Name no longer works
Getting/Setting name of artboard no longer works. It used to work fine. It is an issue with class of properties. All options Fail.
1. name of (get properties of artboard 1) -- error
2. get item 7 of properties of artboard 1 -- error
3. name of artboard 1 -- always failedIf you insert «class bAl9» in place of Name and compile, it does not fail however will fail next time since the dictionary replaces it with Name
1 vote -
CEP Extension Window MinSize Change On Mac OS When UI Scaling Large
CEPエクステンションで、
ウィンドウサイズを最小サイズに変更するボタンを設置しようとしていますが、
Mac版でUIスケール拡大時、スクリプトで手動変更の最小サイズまでリサイズできません。1.お使いのオペレーティングシステムおよび Adobe Illustrator (デスクトップ版) のバージョン
Illustrator2022,2023 MacOS2.問題が発生したときに実行していた手順
ユーザーインターフェイス>UIスケール
小から大に変更
エクステンションの最小幅200、最小高さ400
ウインドウサイズへ変更ボタン(CSInterface.resizeContent(200,400)が実行される)を押す3.想定していた結果
最小サイズまでウインドウサイズがリサイズ実際の結果
リサイズされない■詳細■
Windows版では、UIスケールを拡大した時は、
エクステンション自体が拡大表示されいて、特に問題ありません。ところがMac版で、UIスケールを拡大した時
ウィンドウサイズのみ拡大されて、
エクステンションの中身は拡大されません。
このことは、別にOS差の仕様の違いとして、許容範囲内なのですがmanifest.xmlにて
<MinSize>
<Height>400</Height>
<Width>200</Width>
</MinSize>
と設定していて、
CSInterface.getScaleFactor()で取得したScaleFactorが1.25の時ウィンドウ幅を最小にした時のサイズが
Chromeでのデバッグで表示されるサイズは313px
になっていて、設定サイズよりも大きくなり、
想定した幅まで最小化できなくなります。また
CSInterface.resizeContent(width, height)でのリサイズはCSInterface.resizeContent(300, 500)
→ width: 375 (設定値:300×ScaleFactor:1.25)
height: 625 (設定値:500×ScaleFactor:1.25)
設定値×scaleFactorのサイズになるので
高さを維持して、幅だけ変えたいときとか、ScaleFactorを意識しないといけないため
不便に感じます。ただ、これも仕様を把握していれば、なんとか対応できます。
困っているのは、
illustrator2022,2023(Mac)にて、
CSInterface.resizeContent()の許容値がおかしいことです。
manifest最小値、最大値の範囲内なら、有効のはずですがIllustrator2022,2023(Mac)では、
NG) CSInterface.resizeContent(200,400)
NG) CSInterface.resizeContent(249,500)
OK) CSInterface.resizeContent(250,500)
となっていて、
有効範囲までScaleFactor分拡大されています。しかし、先に述べた通り、
CSInterface.resizeContentでは、設定値×scaleFactorで設定されるので、
手動で変更可能な最小幅×ScaleFactorまでしか、スクリプト上では変更できません。
(設定最小幅200、ScaleFactor1.25のとき、
現在の手動最小幅250にしたいのに、313までしかスクリプトから変更できない)Illustrator2021(Mac)では
CSInterface.resizeContent(200,400)が動いて、
ウィンドウサイズを最小サイズまでリサイズできます。Mac版でUIスケール拡大時、スクリプトで最小サイズまでリサイズできるように
修正お願いします。1 vote -
BridgeTalk.getSpecifier( "estoolkit") no longer works in Illustrator 2022 & 2023. Returns null
I have a script that runs in Illustrator and needs to send progress information to a ScriptUI user interface running in Extendscript Toolkit. Since Illustrator 2022, the function call BridgeTalk.getSpecifier( "estoolkit") returns null. As a result, my script is unable to send messages to Extensscript Toolkit. My workaround has been to use Illustrator 2021, where this functionality still works. It works in Illustrator 2020 & 2021 but does not work in Illustrator 2022 & 2023.
1 vote -
Illustrator 2021 and 2022 crash when trying to run an action from a script
Attempting to run any action from applescript or javascript is always resulting in Illustrator 2021 or 2022 immediately crashing for me.
I've tried on multiple computers, and running it on a fresh install of AI 2022 with no settings changed.
Tested on MacOS Mojave, Big Sur, and Monterrey
It doesn't matter which Action or Action Set is used, I've tried the included "Default Actions" and others.
The identical scripts work fine from AI CC2020 back to at least AI CS6.
For example, I can copy and paste this straight from Adobe's ADOBE ILLUSTRATOR CC SCRIPTING REFERENCE: APPLESCRIPT:
tell application "Adobe…
1 vote -
how can a note have more than one value?
this file shows a situation where the note shown in the attribute panel differs from the note visiblefor a script. There were about fife occurences in a file of about 500 art objects. I picked one and removed everything else, and also replaced the artwork by a plain rectangle.
To view the error, select the square and view the attribute panel
Then run this extendscript:
var doc = app.activeDocument;
var obj = doc.selection[0]
alert(obj.note)BTW: I could set proper values with a simple jsx that sets the note from the contents of a text field
1 vote -
Text Frame loses UID when moved along with compound path art in a different layer
OS: Windows 10 Pro
Illustrator 2022Steps to reproduce issue:
Create a text frame and a compound path art in different layers
Add UID to textframe using SDK
Select both textframe and path art together, then move them
Text frame loses UID, so we cannot get text frame using UID anymore
This happens even if we saved the file after adding uid, closed and re-opened it1 vote -
folderAlias.resolve() is broken
can't resolve folder alias in mac os
Environment
macOS 10.13.6
Illustrator CC ver 24.0.1try:
var folderName="untitled folder"
var folderAliasName="untitled folder alias"
var folderAlias=new Folder(Folder.desktop+"/"+folderAliasName)//calling resolve on alias returns file
var resolvedFolder=Folder(folderAlias.resolve())//no..
alert(resolvedFolder.getFiles)//undefined
//test actual folder
alert(Folder(folderName).getFiles)//function...
//seems it points to file
alert(resolvedFolder.constructor)//File (?!)
//just to check
alert(folderAlias.constructor)//Folder1 vote -
Bug: Newlines become Carriage Returns on Mac
On Mac this outputs a file with "test1^Mtest2^M"
f = new File([path]);
f.open("a");
f.writeln("test1");
f.writeln("test2");
f.close();it uses carriage returns which means things like tail -f [path] won't work. Workaround is to use the "BINARY" file encoding
1 vote -
25.1 Type Library is invalid
Can not create Illustrator.Application.
The CLSID value stored in the Windows registry and ScriptingSupport.aip is different.
It seems that you need to create an Application object with a new CLSID, but the 25.0 version ID is stored in the registry.
1 vote -
Applescript commands error on Ai v25.1.
Applescript: Execute Menu Command & select all on active artboard (the only ones I documented) Fail on Ai v25.1 (MacOS Catalina).
Seems certain AS commands have broke with the newest update.
Multiple AS errors occurred on two Macs, both were fixed by downgrading to v25.01.
Thanks.
1 vote -
VBScript Internal Script Execution Error in version 25.1
Running VBScripts from File > Other Scripts is not currently functional in the latest update- however the very same scripts work fine if the scripts are opened manually (and worked as expected from 'Other Scripts' in the previous version).
Please fix!
1 voteI am happy to share that we have fixed this bug in our latest release – 25.2 which is available worldwide now.
Going forward, our goal is to fix as many top User-Voice bugs as possible and as frequently as possible. Given the nature of the fixes, some of the bugs will take a longer time to fix, but we are on it.
You can update to the latest release using Creative Cloud desktop App: https://helpx.adobe.com/in/creative-cloud/help/creative-cloud-updates.html
Thank you for all the feedback. Keep it coming!
-
Applescript justification text bug
"set the alignment of text of text frame 1 of layer 1 of document 1 to center" doesn't work anymore. Adobe Illustrator 24.3
1 vote -
Script Running Actions Skips Alignment
Version 24.2.1
When using a script to initiate an action, the action is skipping the alignment to artboard steps.
This worked perfect in earlier versions
1 vote -
alert() function is slicing the last word in the output window.
Somehow the last word of an alert message to Illustrator keeps getting sliced. Notice in my attached example how the last word of my alert string "messages." gets cut off.
1 vote -
`let` declarations not supported in .jsx files
Running this script:
let foo = "Foo";
const bar = "Bar";
alert(foo + bar);produces the following error:
Error 25: Expected: ;.
Line: 1
-> let foo = "Foo";However, replacing
let
withconst
works fine. According to this page (https://helpx.adobe.com/after-effects/using/legacy-and-extend-script-engine.html), ES6 language features are ostensibly supported, but onlyvar
andconst
bindings seem to work.1 vote -
textFonts not refreshed after add/remove fonts. textFonts.getByName(fontName) doesn't throw error if font is not installed on user system.
textFonts not refreshed after add/remove fonts. textFonts.getByName(fontName) doesn't throw error if font is not installed on user system.
Code:
for (var i = 0; i < usedFonts.length; i++) {
try {
var textFont= app.textFonts.getByName(usedFonts[i]);
} catch (error) {
missingFonts.push(usedFonts[i]);
}
}1 vote -
ActiveX component can't create object: 'Illustrator.Application'
We recently upgraded to CC 2019. version 23.0.6.
Vbscripts are now unable to execute. They fail on:
Set appRef = CreateObject('Illustrator.Application')
with the error: ActiveX component can't create object: 'Illustrator.Application'
This functionality is important to our workflow.
1 vote
- Don't see your idea?