Illustrator (Desktop) SDK/Scripting Issues
10 results found
-
CEP: Waaaay more events from AI to CEP Panels (e.g. selection changed)
In a panel I would like to receive events from the host app - in this case AI.
Please provide events for
- selection changed
- layers added/changed
- items added (items of any kind)
- items deleted
- etcCurrent workarounds: polling (setTimer) for changes...thats far from ideal.
The current situation is more than sad (not regarding the lack of documentation).
16 votes -
CEP: Unique identifier for items and layers
Please provide unique identifiers for all page items and layers via script.
Right now it is not possible to save IDs of page items/layers in a variable or array and retrieve them at a later point in the script.
At first I could not believe it that there are no IDs. This is total basic and should be a no-brainer and default.
Thanks!P.S. Current workaround: set custom tag on items. This works only as long as the user is not duplicating an items. Than you have two items with the same tag and it is not unique anymore.
Workaround…7 votes -
Concerns about the future of CEP and UXP
I've been reading through the new information about UXP and the announcement that it will be replacing CEP.
If this happens it will likely mean the end of our current CEP extension, since the support provided in UXP does not cover our use case. To be specific we have problems with the following areas:
1) Most critical UXP is "not a browser" and as such will only support a subset of HTML. Our extension relies on being able to run another web application within the browser control supplied by CEP, in an iframe window. While there is currently no list…
5 votes -
[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 -
Delete Anchor Point is not working
On the latest update of AI (2020 version) delete anchor point is not working.
2 votes -
[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 -
[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 -
weird unicode file names in CEP panel scripts
Files with unicode names should report correctly in the documentAfterActivate and documentAfterSave events.
I just noticed that there are not only strange sequences of escaped and unescaped characters, but they can even differt between these two events.
A € sign produces 0x80 in the activate event and %e2 0x82 %ac in the save event1 vote -
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 -
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
- Don't see your idea?