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

Illustrator (Desktop) SDK/Scripting Issues

  1. ファイル名に#が付いた配置画像のファイルパスをapplescriptで得ようとすると問題あり

    例えばファイル名「ABC#123.psd」とした画像を配置し、
    選択したうえで

    tell application "Adobe Illustrator"
    get file path of selection
    end tell

    を実行するとリザルトが
    file "○○○:○○○:ABC"
    となり、#とそれ以降が無くなっている。
    正常ならば
    file "○○○:○○○:ABC#123.psd"
    となるはず。

    ファイル名に限らず、パス内に#が入っているとダメ。

    cs6、cc2018、cc2019では問題ない。
    cc2020(24.1.3)(24.2.1)(24.3.0)cc2021(25.2.3)パブリックベータは問題あり。

    macmini2018 macOS 10.14.6
    imac2020 macOS 11.2.3

    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  ·  AppleScript  ·  Flag idea as inappropriate…  ·  Admin →
  2. API for getting the reflection property of a frame/linked image (flip)

    Hi,

    A couple of years ago we asked about an API for getting the reflection property of a frame/linked image (flip).
    Back then, your answer was that there was no such API.
    1. Is that still correct?
    2. If it is, can you please add such API to your next release?

    Thanks,
    Ori

    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  ·  C++ SDK  ·  Flag idea as inappropriate…  ·  Admin →
  3. I need the TAD file technical architectural diagram for AI

    I need the tad file for AI in order to have my company pilot this program and deploy 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  ·  Vb Scripting  ·  Flag idea as inappropriate…  ·  Admin →
  4. .duplicate() does not update selection, crashing Illustrator

    selection[0].duplicate()
    // redraw()
    alert(selection.length)

    when running this script in Illustrator, you will see that both the original selection plus its duplicate will be selected, but the alert will display 1. Running this script in debug shows that selection only contains one object despite .duplicate() being used. This causes a corruption(?) issue where in reality there are now two objects selected but selection only shows one to be selected unless you do redraw(). This discrepancy will cause Illustrator to crash when trying to set the selection (in specific circumstances) on another line after the .duplicate().

    In other situations, whether one or…

    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  ·  JavaScripting  ·  Flag idea as inappropriate…  ·  Admin →
  5. Dimension / Fraction script not rotating text properly

    After installing the Illustrator 25.1 update, some of the features of the dimension / fraction script are not rotating text properly. Some of the options should rotate the height measurement 90º; it remains horizontal with no rotation.

    [dimensionsFractions1.3RO]

    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  ·  AppleScript  ·  Flag idea as inappropriate…  ·  Admin →
  6. Add ability to retrieve text on path options via C++ API

    Currently, it is not clear or not possible how we can get the current text on the corve element's baseline and effect settings.
    Make them accessible via some API.

    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  ·  C++ SDK  ·  Flag idea as inappropriate…  ·  Admin →
  7. placedItem name property doesn't work

    Hello,

    I'm trying to get placedItem name, but it is empty

    //Get active document
    var activeDocument = app.activeDocument;

    //Get all links (or placed items)
    for (var i = 0; i < activeDocument.placedItems.length; i++) {
    var imageName = activeDocument.placedItems[i].name;
    alert("imageName = " + imageName);
    }

    activeDocument.placedItems[i].name returns empty string

    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  ·  JavaScripting  ·  Flag idea as inappropriate…  ·  Admin →
  8. 24.3 causes my extension to crash illustrator

    Hi,

    I've noticed that my extension Khronos Maker have started to crash Illustrator after updating to 24.3. I'm not sure what's causing it and hope to get some help to identify where the problem is.

    In terms of code, what's causing the crash is the sequence of following:

    myDocument.textFrames.add();
    myLayer.position = [coordinates.x, coordinates.y];
    myLayer.contents = graphic;

    app.undo()

    //and then running the code above again after the undo causes a crash
    myDocument.textFrames.add();
    myLayer.position = [coordinates.x, coordinates.y];
    myLayer.contents = graphic;

    This is strange since hitting cntrl + Z (windows) instead of the script, no crash. And in version 24.2.3 everything works fine.…

    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

    1 comment  ·  CEP  ·  Flag idea as inappropriate…  ·  Admin →
  9. Unable to create file or folder object in Illustrator CC2020

    I tried to create a file or folder object with a slash (colon) in its name in Illustrator CC2020, but I couldn't.
    Also, I was not able to get the file object from PlacedItem.
    The same thing happens with AppleScript.

    In Photoshop CC2020 and InDesign CC2020,I was able to create.

    NG Case(JSX)

    [File location] desktop > 2020/01 > 01/01Image01.jpg ==> [Full path] /Users/***/desktop/2020:01/01:01Image.jpg

    var fObj = File('/Users/***/desktop/2020:01/01:01_Image.jpg'); ==> invalid object
    fObj.exists ==> false
    fObj.name ==> none

    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  ·  JavaScripting  ·  Flag idea as inappropriate…  ·  Admin →
  10. Unable to get AppleScript that worked in AI 2019 to work in AI 2020.

    We have an export in AppleScript we run for our AI 2019 graphics, but when we run it in 2020, we get an error that the file we're working in cannot be found, even though the path is correct. I can delete everything but one line (doesn't matter which line) in the script and I still get the error. Is there a basic trick tog et AppleScript that work in 2019 to work in 2020?

    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  ·  AppleScript  ·  Flag idea as inappropriate…  ·  Admin →
  11. Fails to retrieve file creation date | AI 2020, MacOS Catalina

    This issue appears only on MacOS Catalina.

    Steps to reproduce:

    File(file_path).created.getTime()

    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  ·  JavaScripting  ·  Flag idea as inappropriate…  ·  Admin →
  12. Delete Anchor Point is not working

    On the latest update of AI (2020 version) delete anchor point is not working.

    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  ·  CEP  ·  Flag idea as inappropriate…  ·  Admin →
  13. Listbox checkmarks not displaying in Illustrator 2020

    Checkmarks are no longer being displayed on listbox items in Illustrator 2020. Please see the attached image showing the listbox in Illustrator CC 2019 and Illustrator 2020. This is on a Windows PC.

    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  ·  JavaScripting  ·  Flag idea as inappropriate…  ·  Admin →
  14. Add documentation for exporting Windows Metafile (WMF)

    There's currently a hidden parameter 'parm' that is required to export as WMF in kAIExportDocumentAction. Please document what this is for and what value is required.

    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  ·  C++ SDK  ·  Flag idea as inappropriate…  ·  Admin →
  15. Close swatch library

    Would it be possible to add the ability to close a swatch library panel through some sort of handle?

    There are cases where we have multiple swatch libraries open and would like to close one/some of them upon some event.

    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  ·  C++ SDK  ·  Flag idea as inappropriate…  ·  Admin →
  16. Add ability to create a File object from an HTTP endpoint

    Adding the ability to create a File object from an HTTP endpoint rather than a physical document on disk would be very useful for scenarios where you want to reference a linked item from an online asset management system, where it is centrally stored and versioned, as opposed to being forced to download the file to disk. This would also help with management of access and security relating to these assets.

    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  ·  JavaScripting  ·  Flag idea as inappropriate…  ·  Admin →
  17. Extension drop down list Not completely visible at the bottom of the extension

    We have verified 2019 version of adobe illustrator in both Windows and Mac operating systems. drop downs developed in the extensions which are at the bottom of the extensions are hiding inside the extensions and complete data not visible. 2018 version of adobe illustrator is working fine but problem with 2019 version

    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  ·  CEP  ·  Flag idea as inappropriate…  ·  Admin →
  18. Step and repeat batch script needed

    I need a script that can step and repeat hundreds of AI images from one size (scale in height/width) to another and then have the same script save the image to a web friendly JPEG format. Is there such a tool/script already in existence, or can something like this be created? Note - the original AI files do not all have the same step and repeat pattern, which makes it tricky.

    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  ·  AppleScript  ·  Flag idea as inappropriate…  ·  Admin →
  19. I can't find to fireworks cs6 If you have published a software that works differently in the past,You must have the download link in website

    I can't find to fireworks cs6 If you have published a software that works differently in the past,You must have the download link in website

    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  ·  AppleScript  ·  Flag idea as inappropriate…  ·  Admin →
  20. Wish Applescript could create more extensive dialog boxes in Illustrator.

    It would be great to be able to create dialogs with radio buttons, check boxes etc., as can currently be created with Applescript in InDesign.

    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  ·  AppleScript  ·  Flag idea as inappropriate…  ·  Admin →
  • Don't see your idea?

Illustrator (Desktop) SDK/Scripting Issues

Categories

Feedback and Knowledge Base