Translate Ideas and Comments
Choose language:
There was an error during translation

Illustrator (Desktop) Bugs

When reporting a bug, please provide a detailed description with the following:

  1. Details of your operating system
  2. The version of Adobe Illustrator (desktop) 
  3. The steps you were taking when you experienced the issues
  4. Your expected result and the actual result
  5. Upload your Illustrator file or a video (screen recording or gif, this helps us most to reproduce the issue and resolve it)

  • Hot ideas
  • Top ideas
  • New ideas
  • My feedback
  1. 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 edition

    2 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  SDK and Scripting  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  2. Image Trace API is broken

    Please watch the video attached.
    1. Rename the attached .txt. file to .js (UserVoice does not allow to attach scripts directly)
    2. Select a raster image in Illustrator and try to run the script the way it’s shown in the video, with line 11 and 12 commented, mutually exclusive

    With TRACINGFULLCOLOR on it is expected to have the 'Palette' dropdown switch to Full Tone, but it gets set to Limited.

    On the contrary, TRACINGLIMITEDCOLOR should give Limited for 'Palette', but it gives Automatic.

    These are obviously swapped.

    Also notice how all advanced options become 50%.

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  SDK and Scripting  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  3. Recolor artwork using scripting

    Please add the recolor artwork functionality to the scripting DOM. We need this.

    2 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  SDK and Scripting  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  4. 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.pdf

    ACTUAL RESULT:

    AI File: 02020-MVP-3.ai

    Exported Files:
    - ai1655486566390202-MVP-3-THUMBNAIL.png
    - ai165548656639
    0202-MVP-3-FULL.png
    - ai165548656639_0202-MVP-3.pdf

    Operating System: MacOS Monterey 12.4
    Adobe Illustrator: Adobe Illustrator 2022

    Object…

    2 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  SDK and Scripting  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  5. Scripts ran via actions do not select properly

    Dear developers,

    A few days ago I wrote a simple script which uses pathfinder to unite paths. This works perfectly when the script is ran via File > Scripts. But when added to an action and ran the script seems unable to select the proper layer and thus fails to run pathfinder.

    For a detailed rundown, analysis and files please visit the community forms post: https://community.adobe.com/t5/illustrator-discussions/script-ran-via-actions-does-not-select-properly/td-p/13032773

    Technical details:
    - Microsoft Windows 10 Pro version 10.0.19043 Build 19043;
    - Adobe Illustrator 2022 version 26.0.3 (64 bit)

    Kind regards.

    7 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  SDK and Scripting  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  6. textRange.words counts words wrong in a wrong way

    If you try to calculate a number of words and store them for later using textRange.words and a punctuation marks placed one space after the word, as demonstrated in the video, Ai cuts words in wrong places, resulting words being trimmed.

    This breaks all scripts that rely on this method.

    You have to rename 'words-bug.txt' into 'words-bug.js' and 'words-bug.pdf' to 'words-bug.ai' to test it, since UV does not allow to upload these type formats.

    8 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  SDK and Scripting  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  7. 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.1

    2 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  SDK and Scripting  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  8. 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

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  SDK and Scripting  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  9. Text Frame loses UID when moved along with compound path art in a different layer

    OS: Windows 10 Pro
    Illustrator 2022

    Steps 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 it

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  SDK and Scripting  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  10. IUStringUnitsToAIReal doesn't recognize comma as decimal separator

    std::string input_ = "1,5"; // From Adobe header: The string to convert, which uses the localized international utilities (IU) decimal separator.
    AIReal n;
    sAIUser->IUStringUnitsToAIReal(ai::UnicodeString(input_), &n);

    This function interprets the text "1,5" as "15" even when the locale is set to a country where the system uses a comma decimal separator. Related functions IUStringToAIReal recognizes the comma, though.

    4 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  SDK and Scripting  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  11. 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..1

    To recreate:

    in terminal
    tccutil reset AppleEvents com.adobe.illustrator

    save the following AppleScript and place in the scripts menu for illustrator.

    tell application "Finder"
    display dialog "test"
    end tell

    Expected result:
    dialog in finder

    Actual result:
    AppleScript error: Not authorized to send Apple events to Finder. (-1743)

    2 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    3 comments  ·  SDK and Scripting  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    I 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!

  12. reading XMP data in scripts broken by 25.4 update.

    Illustrator 25.4 update broke scripts that try to read XMP data that worked in previous versions of Illustrator. This is the Mac version (have not tried in Windows).

    It appears to be getting the error on this line:

    ExternalObject.AdobeXMPScript = new ExternalObject('lib:AdobeXMPScript');

    Comparing the frameworks in the package contents for 25.3.1 vs 25.4, the AdobeXMPScript framework appears to be missing in 25.4.

    Below is an example script to read font data that worked in 25.3, but errors loading the library in 25.4

    // load XMP Library

    function loadXMPLibrary() {

    if (!ExternalObject.AdobeXMPScript) {  
    
       try {  
    
           ExternalObject.AdobeXMPScript = new ExternalObject('lib:AdobeXMPScript');  
    
       } catch
    21 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    6 comments  ·  SDK and Scripting  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  13. 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

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  SDK and Scripting  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  14. folderAlias.resolve() is broken

    can't resolve folder alias in mac os

    Environment
    macOS 10.13.6
    Illustrator CC ver 24.0.1

    try:

    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)//Folder

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  SDK and Scripting  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  15. 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.

    6 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    7 comments  ·  SDK and Scripting  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    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.

  16. Illustrator RulerUnits returns Unknown for 'Feet' and 'Feet and Inches'

    Illustrator recently added 'Feet' and 'Feet and Inches' to the available ruler units; however, when a user selects one of these units, the scripting side returns 'RulerUnits.Unknown' for 'activeDocument.RulerUnits'.

    For scripting, the corresponding 'RulerUnits.*' value should be added so that developers can respond to the selected units.

    14 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    5 comments  ·  SDK and Scripting  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  17. In CC2020 and later, referencing the created property of the File class returns "null”.

    Environment
    macOS 10.15.6
    Illustrator CC ver.25.1

    Step and reproduce
    1.Select menu ”File->Script->Other Script" and choose below one.

    //JavaScript File detail
    var f=File.openDialog("");
    alert(f.created);

    Expected result
    Illustrator shows "null". It must be return files created date.

    Actual result
    ”null” is returned.

    In CC2019 this property was successfully retrieved. It seems that a problem occurred after CC2020. Also, even if we put it in the 2021 family, other applications can get "created" property normally.
    "modified" property behaves similarly strangely in relation to this issue.

    This behavier shows only macOS. Windows can return as normal.

    //Japanese
    オペレーティングシステムおよび Adobe Illustratorのバージョン
    macOS 10.15.6
    Illustrator CC…

    10 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  SDK and Scripting  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  18. 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

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  SDK and Scripting  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  19. 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

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  SDK and Scripting  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  20. Illustrator 2021 breaks Export command with AppleScript

    Export command for AppleScript has suddenly stopped working as of Illustrator 2021. This error breaks almost all my professional workflows.

    macOS 11.1, Illustrator 25.1

    When I run AppleScript workflows that worked fine in Illustrator 2020, 2019, 2018, etc. they now fail at the 'export' command with 'Adobe Illustrator got an error: document doesn't understand the "export" message.'

    Screenshot of simplest possible script failing attached.

    2 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  SDK and Scripting  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
← Previous 1 3
  • Don't see your idea?

Feedback and Knowledge Base