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)
73 results found
-
AIPaintStyleSuite not found
Trying to update a plugin to use the Illustrator 2020 SDK on Mac. Previously using the 2017 SDK. The SPBasicSuite AcquireSuite function fails to find the AIPaintStyleSuite when building with the 2020 SDK.
4 votes -
GetPresetSettings function doesn't work correctly in CC 2017 and later
In Illustrator CC 2017 (22.x) and CC 2018 (23.x) the AIDocumentList::GetPresetSettings function is broken. It still returns an error if the preset doesn't exist, but if the preset does exist, it returns 0, but doesn't fill in the AINewDocumentPreset structure.
4 votes -
app.preferences.setIntegerPreference() does not work
app.preferences.setIntegerPreference("rulerType", 0) changes the selection in the GUI but doesn't actually apply the change to the document.
I still have to go into the GUI preferences, change the units to something else, then back to inches and close for the change to actually apply to the current document.
3 votes -
CompoundPathItem of grouped CompoundPathItems shows zero pathItems in script.
AI version: 27.1.1
OS: MacOS 13.1Steps to reproduce:
1. New Document.
2. Make some compoundPathItems (eg. create outlines of text).
3. Group the compoundPathItems.
4. Select that group
5. Choose menu: Object > Compound Path > Make
6. Run this script:
alert('pathItems.length = ' + app.activeDocument.selection[0].pathItems.length);Result: alert says pathItems.length = 0
Expected result: should say the actual number of pathItems3 votes -
ExtendscriptToolkit is 32bit-only, OSX Catalina is 64bit-only
I use a script I wrote for an important business function. For the last couple OSX upgrades, it has been warning me that ExtendscriptToolkit is not compatible with future versions of the OS. Specifically, OSX Catalina, which has been seeded to developers, will only support 64bit applications, and ExtendscriptToolkit is a 32bit application. Is that going to be addressed before the OS is released?
3 votes -
IllustratorSaveOptions in C# .NET is not working anymore as expected
For more than a decade the following Illustrator script has been applied via C# .NET in combination with all existing Illustrator versions (sourcecode):
typelib.IllustratorSaveOptions saveOptions = new typelib.IllustratorSaveOptions();
saveOptions.Compatibility = typelib.AiCompatibility.aiIllustrator8;
saveOptions.FlattenOutput = typelib.AiOutputFlattening.aiPreserveAppearance;
DestDoc.SaveAs(sPath, saveOptions);All over the internet we see a lot of people using the same code above (applying the exact same idea) also in other programming languages.
Following test has been done with Illustrator versions CS, CS2, CS3, CS5, CS6, etc. on the latest Windows 10 operating system and VS2012: draw 2 intersecting rectangles: above yellow, the other red. A transparency Difference has been set on…
3 votes -
javascript doc.close() after error
https://forums.adobe.com/message/9853322#9853322
for detailsWhen you close the file in the script
After that, an error (1346458189 ('PARM')) occurs with high probability.
Closed processing is closed up to what is not closed or can not be closed
It looks like a bug.3 votes -
IgnoreWhite option no longer works in javascript bug
Illustrator v 28.0 - Image Trace option check box for Ignore White has been replaced with Ignore Color and an eyedropper option. While I think this is a good addition for manual use, it appears to have somewhat broken the ability to use image trace properly in javascript as the change has made the original "tracingOptions.ignoreWhite = true" no longer work. I suspect there is now an additional option/variable responsible for the color to be ignored's selection but it doesnt appear to be refferenced in any of the current documentation. I've tried adding the method for Abutting (also undocumented) as…
2 votes -
Justification attribute to center text in Illustrator API
Why do Justification to aiCenter and Align Center produce different results?
Given myLabel string with at least one line break character in it, when I use JavaScript code like this...Set myFrame = textGroup.TextFrames.Add
myFrame.TextRange.CharacterAttributes.Size = defaultFontSize
myFrame.TextRange.CharacterAttributes.TextFont = appRef.TextFonts.Item(nameOfFont)
myFrame.Contents = myLabel
myFrame.Paragraphs(1).ParagraphAttributes.Justification = 2 ' aiCenter
myFrame.Position = Array(myXPos, myYPos)...the lines of text are not centered with respect to each other.
Is there a way, using the JavaScript API, to achieve text-centering of multiple lines in a text frame?
If not, I'd like to request a new paragraph attribute to the JavaScript API to accomplish this function.…2 votes -
[ExtendScript] RasterItem.colorize() does not accept SpotColor via script, but does via UI.
MacOS 13.3.1, Adobe Illustrator 27.4.1
The colorize() method of RasterItem doesn't accept a SpotColor via scripting, but can do via the UI, so there is no technical reason I can see why this it the case. It may be a simple bug. Also there is a workaround by using defaultFillColor which does apply a SpotColor to a RasterItem.
Steps to reproduce:
1. Start with document containing a bitmap (colourable) RasterItem and a SpotColor swatch.
2. script: (adjust the swatch index to match your SpotColor swatch index)app.activeDocument.rasterItems[0].colorize(app.activeDocument.swatches[4].color);
Expected result: colorizes the RasterItem.
Actual result: does nothing.2 votes -
[ExtendScript] Incorrect paragraph count when linefeeds are used.
MacOS 13.3.1, Adobe Illustrator 27.4.1
To see the issue, run this script:
```
(function () {var doc = app.documents.add(); var tf1 = doc.textFrames.add(); tf1.position = [100, 100]; tf1.contents = 'Paragraph one\u000DParagraph two'; var tf2 = doc.textFrames.add(); tf2.position = [200, 100]; tf2.contents = 'Paragraph one\u0003still paragraph one'; alert('Paragraph counts\n2 paragraphs: ' + tf1.paragraphs.length + '\n1 paragraphs with forced line break:\n ' + tf2.paragraphs.length);
})();
```I expect the left text frame to have 2 paragraphs and the right text frame to have 1 paragraph, but the right text frame is incorrectly shown to have 2 paragraphs.
This discussion revolves around…
2 votes -
[ExtendScript] Line feed \u000A character assigned to text contents is converted to carriage return
MacOS 13.3.1, Adobe Illustrator 27.4.1
Also reported on Windows same version of Illustrator.Steps to reproduce.
To see problem, run this script
```
(function () {var doc = app.documents.add(); var tf1 = doc.textFrames.add(); tf1.position = [100, 100]; tf1.contents = 'Break\u000Ame.'; alert('Linefeed (10)\n charCode = ' + tf1.contents.charCodeAt(5)); var tf2 = doc.textFrames.add(); tf2.position = [200, 100]; tf2.contents = 'Break\u0003me.'; alert('End-of-text (3)\n charCode = ' + tf2.contents.charCodeAt(5));
})();
```
I would expect the text on the left to have a line feed (u+000A) character, but it is converted to a carriage return (u+000D).
The text on the right is a workaround,…2 votes -
Cant' get character properties (AI ver26.4. ~)
AI ver 27.0.1 bug , too
2 votes -
ver26.4.1で、AppleScriptでcharacterのpropertiesが取得できなくなった
ver26.3.1までは取得できました
2 votes -
pathfinder - unexpected behaviour inside script
when I select two compound paths and subtract, I get a fully selected group.
If I create an action consisting of just the pathfinder operation and run it from the actions panel, the result is identical.
If I call this action from extendscript, the group sometimes is only partially selected. - and the following steps produce unexpected results :(
It turns out that adding an extra object.selected = true can help.
I observed this in 2022 edition, I have the impression that this did not happen in 2020 edition2 votes -
Recolor artwork using scripting
Please add the recolor artwork functionality to the scripting DOM. We need this.
2 votes -
Scripting Issue on MacOS Monterey
We had this script for Illustrator that will export PDF and images with predefined presets. This was working until some of our team upgraded their macOS to Monterey.
When they tried to run the script it will create a PDF and images with different file names, we are expecting that it will have the same file name from the AI file.
EXPECTED RESULT:
AI File: 02020-MVP-3.ai
Exported Files:
- 0202-MVP-3-THUMBNAIL.png
- 0202-MVP-3-FULL.png
- 0202-MVP-3.pdfACTUAL RESULT:
AI File: 02020-MVP-3.ai
Exported Files:
- ai1655486566390202-MVP-3-THUMBNAIL.png
- ai1655486566390202-MVP-3-FULL.png
- ai165548656639_0202-MVP-3.pdfOperating System: MacOS Monterey 12.4
Adobe Illustrator: Adobe Illustrator 2022Object…
2 votes -
broken: reading File date properties
Unable to read date properties from a File on Mac (does work on Windows)
alert(app.activeDocument.path.modified)
alert(app.activeDocument.path.created)// always returns null as if file is not saved
I tested on:
Mac mini M1, macOS Montery 12.3.1, Ai 26.2.1 and Ai beta 26.4.2
Macbook Pro Intel, macOS Catalina 10.15.7 Ai 26.2.12 votes -
Unable to control third party applications with AppleScript
This is essentially the same issue as https://community.adobe.com/t5/indesign-discussions/indesign-16-3-2-not-authorised-to-send-apple-events-to-other-apps/td-p/12312871 except for Illustrator.
Illustrator is missing the NSAppleEventsUsageDescription key from its info.plist file. This prevents the system from asking permission from the user to send apple events from Illustrator.
Mac OS 11.5.2
Illustrator 25.4..1To recreate:
in terminal
tccutil reset AppleEvents com.adobe.illustratorsave the following AppleScript and place in the scripts menu for illustrator.
tell application "Finder"
display dialog "test"
end tellExpected result:
dialog in finderActual result:
AppleScript error: Not authorized to send Apple events to Finder. (-1743)2 votesI am happy to share that we have fixed this bug in our latest release – 26.3.1 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!
-
Get document bleeding size problem
I checked illustrator_ JavaScript_ Scripting_ Reference_ In 2017, only the document bleeding documentbleedoffsetrect can be set, but the bleeding size that has been set in the document cannot be obtained. Is it because the document is incomplete or this method is not provided? Now how can I get the bleeding size of the current document. thank you!
Examples code:
//set bleed
docPreset.documentBleedOffset = [10, 10 10,10];But there is no way to get the value that has been set
2 votes
- Don't see your idea?