Skip to content

Illustrator (Desktop) SDK/Scripting Issues

131 results found

  1. Applescript export PNG in 300 DPI

    Using applescript, we can't export artwork in 300 DPI in format PNG.
    in the last version, the export PSD is not as beautiful as the export menu.
    Why ?

    4 votes
    0 comments  ·  AppleScript  ·  Admin →
    How important is this to you?
  2. [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.

    5 votes
    1 comment  ·  CEP  ·  Admin →
    How important is this to you?
  3. 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 plugin…

    4 votes
    0 comments  ·  C++ SDK  ·  Admin →
    How important is this to you?
  4. 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
    How important is this to you?
  5. Can you provide a script that will take selected elements and groups and place them on their own layers?

    Can you provide a script that will take selected elements and groups and place them on their own layers?

    2 votes
    How important is this to you?
  6. 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
    0 comments  ·  C++ SDK  ·  Admin →
    How important is this to you?
  7. 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"

    1. 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
    1 comment  ·  C++ SDK  ·  Admin →
    How important is this to you?
  8. accented charaters bug?

    Hi

    (Illustrator 2015-3, mac)

    I try to put this text in a frame.

    &éèçà€ù~©®πRUNNING

    Before insertAfter, the text ( as a char *) is correct

    After the insertAfter, it is also correct ( via getContents).

    But garbage is displayed as seen in the screen capture.

    Dropbox - Capture d'écran 2018-04-25 05.39.42.png

    I'm stuck.

    Thanks for any help.

    He re is some code I use.

    // get contents

    TextFrameRef textFrameRef = NULL;

    AIErr result = sAITextFrame->GetATETextFrame(bloc, &textFrameRef);

    ATE::ITextFrame textFrame(textFrameRef);

    ATE::ITextRange textRange = textFrame.GetTextRange();

    // textRange.Select();

    //debug

    int longueur = textRange.GetContents(s, 255);

    // set contents to contenu

    // Set the contents of…

    2 votes
    1 comment  ·  C++ SDK  ·  Admin →
    How important is this to you?
  9. [Feature] Ability to embed HTTPS sites into extension HTML via iFrames

    Currently it is not possible to embed HTTPS sites into extension HTML via iFrames because it results in a mixed-mode security violation. It would be nice to have the CEF used in the extension ignore this error when using extension html installed on the local system.

    I've attached a simple file demoing the problem.

    2 votes
    0 comments  ·  CEP  ·  Admin →
    How important is this to you?
  10. [BUG] Unable to debug Extensions on Windows with CC2018

    Currently when attaching the Chrome debugger under windows this causes the application to refresh the extension panel, and to disconnect from the debugger.

    2 votes
    0 comments  ·  CEP  ·  Admin →
    How important is this to you?
  11. Javascript erroneously reports stroke color in paragraphStyles.characterAttributes if it has been changed from a color to noColor

    AI 21.0.0 2017 Release

    ---------------------------------------- to reproduce

    New Document (defaults: print, letter)

    T for text tool, click in document, type "test text"

    cmd-return to exit

    in Color palette click anywhere in color bar to change text color

    in Paragraph Styles palette, click the new style icon to create "Paragraph Style 1"

    ---------------------------------------- 1st run

    run script "bugreport"

    results:
    fillColor: [CMYKColor]
    strokeColor: [NoColor]

    ---------------------------------------- 2nd run

    select the "test text" text

    press "X" to change the color palette from fill to stroke

    click anywhere in the color bar to give the text a colored stroke

    in Paragraph Styles palette, select "Redefine…

    3 votes
    How important is this to you?
1 2 3 4 5 7 Next →
  • Don't see your idea?

Illustrator (Desktop) SDK/Scripting Issues

Categories

Feedback and Knowledge Base