SDK/Scripting Bugs and Features

  1. Allow scripts (AppleScript, Javascript) to retrieve a full list of all selected layers

    Currently, you can ask Illustrator what layer is selected, but if a user has more than one layer selected, it won't give a list or array of all selected layers. It will still just give you one layer. So many scripts I write have to do with changing properties of multiple layers like batch renaming or batch recolouring. The workaround is to ask the end user to lock all layers they don't want to be affected. It would be much more natural for them to just select the layers they want to be affected.

    15 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  JavaScripting  ·  Flag idea as inappropriate…  ·  Admin →
  2. Please add feature for to make object as key object via script to perform align operations.

    Hi, I am a plugin developer, and there is a lot of features we are missing in Illustrator scripting that can be done manually in Illustrator. This is the one feature. Please add this feature so that we have some method or property to make the object as a key object to perform "Align to Key Object" operation via script.

    12 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  JavaScripting  ·  Flag idea as inappropriate…  ·  Admin →
  3. Access to underlying Illustrator object handles via scripting

    The biggested pain point when implementing scripting support for plugins is that if you want to add objects that interact with built-in Illustrator script objects (LiveObjects) like Layers, Documents or PageItems. While it's possible to correctly parse whether you're being passed the correct scripting object (e.g. a Layer and not something else) you can't actually determine the handle for the specified object; that lives inside the ScriptingSupport.aip and has no public API.

    Perhaps a small suite could be added that provides methods like this:

    AIAPI AIErr (*GetDocumenttHandle) (long* hObject, AIDocumentHandle& outHandle);
    AIAPI AIErr (*GetLayerHandle) (long* hObject, AILayerHandle& outHandle);
    AIAPI AIErr…

    9 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  C++ SDK  ·  Flag idea as inappropriate…  ·  Admin →
  4. kAINamedStyleListChangedNotifier is not emitted when a Graphic Style is updated

    If you hold ALT and drag some art into a Graphic Style, it updates, but the notifier is not sent. This has been happening since at least the original CC. It used to work before that.

    8 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  C++ SDK  ·  Flag idea as inappropriate…  ·  Admin →
  5. [BUG CEP 8] HTML Extension Resize Issue on Navigation

    We are experiencing resizing issue in the latest CEP version. Our extension allows user to resize extension's window, however whenever any navigation occur, window size resets. Problem exists in Illustrator CC 2018 (22.0.1), everything is working fine in previous version (CC 2017).

    We already tried different geometry settings and extension UI types, but problem persists and seems to be related to engine itself.

    We successfully reproduced this issue with official git hub sample extension. Steps to reproduce:
    1. Open sample extension with debug mode enabled
    2. Resize window
    3. Change window location in console to any other page
    4. After…

    8 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  JavaScripting  ·  Flag idea as inappropriate…  ·  Admin →
  6. Edit Appearances with Scripting

    Currently it appears only 1 appearance fill is available via scripting, and Illustrator spits out the value of whichever one is selected. What I'd like to be able to do, is loop through the appearances of layers for example, record those attributes(including layer opacity and blending modes) and apply those to fills within a single shape. As there are many more stacked attributes within appearances, it may not be this simple, but it'd be much appreciated.

    8 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  JavaScripting  ·  Flag idea as inappropriate…  ·  Admin →
  7. kATEDocumentResourceChangedNotifier not sent when character/paragraph styles are changed

    According to the documentation for kATEDocumentResourceChangedNotifier, it is supposed to be "Sent when ATE document resources, such as named style, have changed."

    I have never found this to be true, in any version since the ATE was added. This has always been a serious pain point, because we build small previews of text styles and we have to rebuild them every time we open a UI that shows them, because we have no way of knowing if they have changed (or if they even still exist, or any have been added!).

    Since it's never been sent before, there can't be…

    7 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  C++ SDK  ·  Flag idea as inappropriate…  ·  Admin →
  8. Unicode support for annotation text

    AIAnnotationDrawerSuite::DrawText() takes an ai::UnicodeString, but when you pass it non-Latin1 characters, you just get the box character. I suspect that if I passed Japanese to the Japanese version of Illustrator, the characters would display correctly, but it'd useful if you could do it regardless of Illustrator version.

    We are just starting to add translations of our plugin and currently AI tool tooltips & annotation text have to be kept as Latin1 or we run into trouble.

    7 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  C++ SDK  ·  Flag idea as inappropriate…  ·  Admin →
  9. Remove Security from Scripting Guides

    Why are Scripting Guides/References password protected now?

    many times we need to copy/paste sample scripts to help new users in the forums.

    Please remove protection.

    thanks
    Carlos

    5 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    2 comments  ·  JavaScripting  ·  Flag idea as inappropriate…  ·  Admin →
  10. C#/ .NET api

    I'd really value the ability to extend illustrator with c#.

    I know adobe is cross platform, but surely theres enough of a windows user base to make this beneficial.

    5 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  C++ SDK  ·  Flag idea as inappropriate…  ·  Admin →
  11. Scripting Bug: importFile() no longer works in CC2018

    importFile() worked fine in CC2017, now in CC2018 it throws an "Illegal Argument" error.

    here's a small JavaScript to test. Open any document or create a blank file before running the script

    var f = File('c:/temp/Example File.pdf'); // to test, add a path to a valid file in your system

    var idoc = app.activeDocument; // have any document open

    idoc.importFile(f, false);

    5 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  JavaScripting  ·  Flag idea as inappropriate…  ·  Admin →
  12. Unicode support for tool names & toolips

    The AIAddToolData struct is still using char* for the title & tooltip members. I know it does some kind of localization, but that's really archaic when the rest of the SDK uses ai::unicode.

    4 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  C++ SDK  ·  Flag idea as inappropriate…  ·  Admin →
  13. Update Samples to not require MFC

    The Samples included with the SDK cannot currently be compiled on Windows unless MFC was installed as part of the Visual Studio installation procedure.

    Making the Samples requires two small things:

    1. Add the following include below the SDKDef.h include in VersionInfo.rc

    #include "verrsrc.h"

    2. Change the "afxres.h" include in the .rc of all plugins to instead include "winuser.h"

    Doing so will make MFC optional, and not required; ultimately, including 'afxres.h' is including the two headers outlined above so it's just introducing an unnecessary middle man who can be safely bypassed.

    4 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  C++ SDK  ·  Flag idea as inappropriate…  ·  Admin →
  14. Bug: Before and After Export Notifiers Do Not Fire When Export As is Used From the Menu

    The below menu command notifiers do not fire when the export option is used:

    kAIExportCommandPreNotifierStr "AI Command Notifier: Before Export"
    kAIExportCommandPostNotifierStr "AI Command Notifier: After Export"

    Other menu notifiers do fire, such as "AI Command Notifier: Before Save As" and "AI Command Notifier: After Save As"

    4 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  C++ SDK  ·  Flag idea as inappropriate…  ·  Admin →
  15. [BUG] Extend script via Javascript document.importFile broken between CC2017 and CC2018

    Currently this is producing an error in CC2018 Illustrator on Mac

    var newFile = new File('/tmp/sample.rtf');
    app.activeDocument.importFile(newFile, false);

    Works correctly in CC2017.

    4 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  CEP  ·  Flag idea as inappropriate…  ·  Admin →
  16. Rotate / scale sensitivity

    In the recent version of Illustrator, I have severe problems with the simple task of rotating and scaling objects. The distanse I need to hold my selector/cursor from the object, relative to the indication I need to know weather I'm about to rotate, scale, or even add radius to a corner is far to sensitive for me. And with a "mouse-hand"/ or pen hand (not sure if thats the right term in English) it get quite annoying. I always have to zoom in quite a lot to do this simple and frequent operation. Not sure if anyone else have this…

    4 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  C++ SDK  ·  Flag idea as inappropriate…  ·  Admin →
  17. Updating annotation drawings as bezier control points are dragged

    Hello,

    I'm working on an Illustrator plugin to help visualise bezier curve continuity. Screenshot: https://i.imgur.com/rxgqDJL.png

    I wanted to ask if there's a way to update artwork annotations as the user drags a bezier path control point? Currently my plugin only updates the annotation drawing once you let go.

    I assume this is possible because Illustrator seems to be able to do it for showing useful information such as alignment as you edit curves.

    ---

    Some extra technical details in case it helps... :)

    I started this project using the Annotator example project from the sdk as a starter.

    In my…

    4 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  C++ SDK  ·  Flag idea as inappropriate…  ·  Admin →
  18. Align function not working properly in Illustrator CC 2017

    I don't know what category this goes into because I'm not a developer. You could at least provide categories for users instead of for developers. Your program is extremely frustrating to use. It's not designed to be very user friendly. I wish Macromedia Freehand were still around, because I would be using it instead of Illustrator. I have an alignment error that happens when I select all and then use the "align to horizontal center" and "align to vertical center". I have complained about this before and no one replied to it. Since I am paying monthly for access to…

    4 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Apple Script  ·  Flag idea as inappropriate…  ·  Admin →
  19. When art is renamed, no notifier is sent

    In CC2019, at least two notifiers should result from renaming art: kAIArtPropertiesChangedNotifier & kAIArtObjectsChangedNotifier, but neither is sent.

    3 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  C++ SDK  ·  Flag idea as inappropriate…  ·  Admin →
  20. Align/Distribute support for AppleScript

    It would be great if we could have support for Align/Distribute in AppleScript. I believe Illustrator's UI functionality in this area is the same as InDesign, so using the exact same terminology would be excellent.

    A little nit—AppleScript is one word, not two, so that needs to be changed in the "Category" choices in this forum. Thanks!

    3 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Apple Script  ·  Flag idea as inappropriate…  ·  Admin →
← Previous 1 3
  • Don't see your idea?

SDK/Scripting Bugs and Features

Feedback and Knowledge Base