Skip to content

Illustrator (Desktop) SDK/Scripting Issues

136 results found

  1. 箇条書きを含まないテキストのlistStyleプロパティを参照するとIllustratorがクラッシュする

    macOS14.7.2/Illustrator ver.29.7.1

    再現手順
    1. テキストエディタ等で「alert(app.selection[0].paragraphs[0].listStyle);」の一行のみ入力して「test.jsx」として保存する。
    2. Illustratorに戻りポイントテキストを入力(箇条書きの設定は行わない)し、選択ツールでテキストフレームを選択した状態にする。
    3. メニューからtest.jsxを実行するとIllustratorがクラッシュする。

    期待する結果
    ver.28のように「[ListStyle]」とlistStyleオブジェクトが返される

    実際の結果Illustratorがクラッシュする。

    回避方法
    ありません

    EN
    Step to Reproduce
    1. enter only one line of "alert(app.selection[0].paragraphs[0].listStyle);" in a text editor, etc. and save it as "test.jsx".
    2. return to Illustrator, enter the point text (do not set the bulleted list or numbered list), and select the text frame with the selection tool.
    3. Execute test.jsx from the menu and Illustrator will crash.

    Expected result
    A "[ListStyle]" and listStyle object is returned as in ver.28

    Actual result
    Illustrator crashes.

    Workaround
    None.

    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

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  2. [ExtendScript] Unexpected error occurs when getting kinsoku or mojikumi and the value is None

    [ExtendScript] kinsoku/mojikumi取得の際、値が なし だと予期しないエラーが起こる

    ja

    ExtendScriptにてTextRangeからkinsokuまたはmojikumiを取得する際、値がなしの状態だとエラーが出ます。これは期待する動作ではありません。

    スクリプト開発者はなしというstateがあると考えるので、何かそういった値を返すはずです。セットするときには''空文字列が使われるので、それを採用するのがわかりやすいでしょう。

    環境

    • macOS 12.7.5
    • Illustrator 2025(29.8.1)

    再現手順

    1. Illustrator書類でテキストフレームを選択する
    2. 禁則をなしにセットする
    3. 実行するスクリプト欄のスクリプトを実行する

    実際の結果

    次のエラーが発生する

    Error 9563: the requested attribute is undefined for the text range
    

    ![kinsokumojikuminone.png](kinsokumojikuminone.png)

    期待する結果

    ''が返る

    実行するスクリプト

    alert(app.documents[0].selection[0].textRange.kinsoku) ;
    

    添付したファイル

    • kinsokumojikuminone.png

    en

    [ExtendScript] Unexpected error occurs when getting kinsoku or mojikumi and the value is None

    When retrieving kinsoku or mojikumi from a TextRange in ExtendScript, an error occurs if the value is None. This is not the expected behavior.

    Script developers should assume the None state exists and expect…

    5 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

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  3. The ability to read/write bleed value

    I would like Adobe to give some love to the Illustrator’s scripting API overall. So many things are missing.
    Please give us the ability to read/write bleed.
    There are some hacks we have to dance with around the problem — community.adobe.com/t5/illustrator-discussions/setting-the-bleed-in-ai-via-javascript/m-p/8975095 — but the solution is rather clunky.

    Original idea by Jean-Claude Tremblay

    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

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  4. The ability to read/write live corner widget option

    I would like Adobe to give some love to the Illustrator’s scripting API overall. So many things are missing.
    Please give us the ability to read/write live corner widget option (as well as any other option in Ai, really).

    Original idea by Jean-Claude Tremblay

    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

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  5. Arabic shaping breaks when applying tracking in GE-Thameen

    Arabic shaping breaks when applying tracking in GE-Thameen and other Arabic fonts in Illustrator 29.6.1. The same file works fine in 26.2.1. World-Ready Composer and RTL settings are correctly enabled. This appears to be a regression in OpenType shaping handling with tracking applied.

    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

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  6. [Typo] app.flattenerPresetList of Illustrator JavaScript Reference.pdf

    There is a typo in app.flattenerPresetList in Illustrator JavaScript Scripting Reference.pdf. The wrong property name is listed and developers and users cannot get it. It would be helpful if it could be corrected.

    According to my research, this is wrong from CS3 version to the current (2025 v1).

    In addition, the return value type should be “array of string”, not “object”.

    ![flattenerPresetList.png](flattenerPresetList.png)

    Expected name

    app.flattenerPresetsList (add "s" to Preset -> Presets)

    Actual name

    app.flattenerPresetList ("s" is missing from Presets)

    Attached files

    • flattenerPresetList.png
    5 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

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  7. Justification.FULLJUSTIFYLASTLINELEFT

    In Illustrator scripting, the constant Justification.FULLJUSTIFYLASTLINELEFT does not work as expected.
    It behaves the same as FULLJUSTIFY, with no option to align the last line left (or center, or right).

    InDesign scripting supports full justify with last line alignment correctly, which makes it possible to automate proper typesetting.
    Illustrator should support the same behavior, so scripts can handle justified text layouts consistently.

    This limitation makes it impossible to automate professional typography workflows in Illustrator.
    Please fix this or implement the same functionality as in InDesign.

    Thank you.

    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

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  8. [Typo] Document.SaveToCloud() of Illustrator JavaScript Reference.pdf

    There is a typo in Document.SaveToCloud in Illustrator JavaScript Scripting Reference.pdf. The wrong function name is listed and developers and users cannot call SaveToCloud(). It would be helpful if it could be corrected.

    According to my research, this is wrong from CC 2021 version to the current (2025 v1).

    Expected Name:

    Document.saveToCloud ("s" is lowercase -> saveToCloud)

    Actual Name:

    Document.SaveToCloud ("S" is uppercase -> SaveToCloud)

    Attached Files:

    • SaveToCloud.png
    9 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

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  9. [BUG] AICloudDocument API is broken

    Adobe Illustrator 29.6.1 + Adobe Illustrator SDK Build 207

    The AICloudDocument suite’s GetFirstNRecentCloudDocuments function contains 2 suite-breaking bugs:

    1. The numRecentDocuments argument is being ignored, e.g. if its value is 10, the function SHOULD return the asset refs for the 10 newest AIC documents stored in the user’s Adobe Cloud. Instead, it ALWAYS returns an unpredictable number of asset refs, usually 110-120.

    2. The reqHandleOut argument SHOULD return a bookmark pointer to the user’s remaining AIC documents, which can be passed to GetNextNRecentCloudDocuments to get the next batch of asset refs. Instead, it ALWAYS returns NULL. This means that GetNextNRecentCloudDocuments CANNOT be…

    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  ·  C++ SDK  ·  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. [Typo] app.OpenCloudDocument() of Illustrator JavaScript Reference.pdf

    There is a typo in app.OpenCloudDocument in Illustrator JavaScript Scripting Reference.pdf. The wrong function name is listed and developers and users cannot call OpenCloudDocument(). It would be helpful if it could be corrected.

    According to my research, this is wrong from CC 2021 version to the current (2025 v1).

    Expected Name (Correct):
    app.openCloudDocument ("o" in "open" is lowercase -> openCloudDocument)

    Actual Name (Wrong):
    app.OpenCloudDocument ("O" in "Open" is uppercase -> OpenCloudDocument)

    Attached Files
    * OpenCloudDocument.png

    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

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  11. Move gradient swatch to swatch group

    In new releases of Adobe Illustrator, it's now possible to move gradient swatches into swatch groups.

    Previously, we expectedly got an error when trying mySwatchGroup.addSwatch(myGradientSwatch) >>> an Illustrator error occurred: 561402708 ('TSv!')

    What's happening now...Same thing! The user can group gradients in the Illustrator interface, and the scripts are still unaware of this fix

    Mac OS. Adobe Illustrator CC 2025 v29.3

    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

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  12. Access to recent files via a script

    Once upon a time, app.recentFiles returned an array of recently used files.
    It would be nice to have that feature back

    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

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  13. Script cannot detect that app.openCloudDocument failed

    en

    When an error occurs during the execution of openCloudDocument, Illustrator forces a message in a dialog.

    The message is something like this. Not sure what it would be displayed in English.

    Cannot open file.

    The current account does not have access permission to this file. Contact the owner for more details.

    ![openclouderror1.png](openclouderror1.png)

    The message cannot be circumvented by enclosing it in a “try” syntax, nor can the error be caught in a “catch” statement. In other words, this message may stop the batch process.

    The ideal behavior is to be able to catch an error…

    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

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  14. [Typo] app.tracingPresetList of Illustrator JavaScript Reference.pdf

    There is a typo in app.tracingPresetList in Illustrator JavaScript Scripting Reference.pdf. The wrong property name is listed and developers and users cannot get tracingPreset. It would be helpful if it could be corrected.

    According to my research, this is wrong from CS2 version to the current (2024 v1).

    Expected Name:

    app.tracingPresetsList (add "s" to Preset -> Presets)

    Actual Name:

    app.tracingPresetList ("s" is missing from Presets)

    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

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  15. Dialog display in the event of a path segment exceedance during script processing is displayed with 8191 pieces.

    Illustrator ver.29.3.1

    The current Illustrator specification allows "31999" segments to be included in a single path, but the exceedance error displayed during script execution is displayed at "8191" segments. This is the value of the limit in past versions and has not been updated when the specification was changed.

    When run the following script, we get an error dialog with 8191 segments, but there are 32000 path points and 31999 segments added to the path on the document.

    var depth = 8;
    var size = 500;
    var doc = app.activeDocument;
    var layer = doc.layers.add();
    layer.name = "Hilbert Curve";
    var pth…

    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

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  16. Document.save() for eps/svg/pdf documents changes them to ai files

    en_US

    Document.save() is a method to save over a document. In keyboard shortcut, it is equivalent to command+S.

    However, when ExtendScript's save() is executed on a document that preserves Illustrator editing capabilities such as eps/svg/pdf, it will be saved as an ai document instead of being overwritten as its original format.

    For example, when save() is executed for the document 1.eps, the file 1.ai will be created in the folder where the eps is placed. If the file 1.ai already exists, it will be overwritten with the contents of 1.eps and the original 1.ai will be lost.

    Environment

    • macOS…
    16 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

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  17. DocumentArtboardLayout under app.documents.add is broken

    var aDoc = app.documents.add(DocumentColorSpace.CMYK, 612.0, 792.0, 3, DocumentArtboardLayout.GridByCol, 40.0, 1);

    Running the above script.jsx GridByCol broken. I get two rows, should be a single column. Changed GridByCol to GridByRows and also outputs 2 rows of artboards. DocumentArtboardLayout is broken.

    3 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

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  18. Broken embedICCProfile in export

    For TIFF, PSD exports, there are new ExportOptionsPhotoshop() and new ExportOptionsTIFF() in the ExtendScript object model, and a Boolean attribute embedICCProfile that embeds a color profile in exports. But if we set it to true, the profile still won't be embedded.

    I've explored versions of Adobe Illustrator. Illustrator CS6 - embedICCProfile property worked, but in the next version of CC (v17) embedICCProfile was broken and in the next versions it didn't change, it's been ten years!

    How to test:
    1) Rename exportTif.txt to exportTif.jsx and run it. The script will export the first artboard of the document in TIFF to…

    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

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  19. [Scripting API] Give access to a SymbolItem's "anchor" and matrix

    It would be great to have access to a SymbolItem's "anchor" and matrix (as read/write properties). Setting a new anchor [x,y] would move the anchor (and the SymbolItem) to that point, and setting a new matrix would replace the SymbolItem's existing matrix.

    3 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

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  20. Duplicating a group with a script does not change/update groupItems.length

    When you duplicate a group via script (check the video and screenshots) activeDocument.groupItems.length is not reflecting that. It stays the same. app.redraw() is not helping. Only when you set the new group to .selected = true you can force an update. But that slows down everything when you have a lot of groups.

    Video: https://drive.google.com/file/d/1dd0PyBRDBciNnUgnhGLV7Hf40rrG_vSb/view

    Steps to Reproduce:
    All with script!
    1. Create a group (put something in that group)
    2. Alert the activeDocument.groupItems.length (it's now 1)
    2. Duplicate the group.
    3. Alert the activeDocument.groupItems.length: it stays the same (1 instead of 2)
    Please take a look at the script…

    3 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

    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 4 5 6 7
  • Don't see your idea?

Illustrator (Desktop) SDK/Scripting Issues

Categories

Feedback and Knowledge Base