Copy link to clipboard
Copied
Hello dear friends, the time has come... to assemble a list of bugs we want to have eliminated.
I've come into contact with an engineer on LinkedIn and he has this to say in a private email exchange:
Me: "I have a variety of issues I can provide you with, including cases provided by other scripters around the world. Would you want to focus on any specific issue at first, or do you wish to get the entire catalog of reports?"
Him: "Entire catalog in a prioritized list will be great. I can then get into a conversation with developers with this doc. Also, anything you can do to help me explain why fixing something “non obvious” is important will also help me."
Okay, so let's put some list together to send him and hopefully it can start some ball rolling.
I think we should come up with a format to document each "situation" , as these bugs are not typical user bugs and are sometimes more elusive.
Copy link to clipboard
Copied
Don't everybody just jump in all at once now!
Copy link to clipboard
Copied
yeah, please one at the time, we don't want to crash the site.
Copy link to clipboard
Copied
MMkay let me start off. These issues are prevalent on Mac OS, but also may be present on Windows too.
Philosophical reasons to fix these although they are non-obvious to average users:
Globalization has driven down the price of manufactured and decorated consumer goods, forcing those businesses to rely on automation to stay competitive and afford their costs. Often, a promotions/print/decoration business cannot stay in business due to low margins and high competition, if an extra employee is required. Rather than investing in extra employees to perform clerical graphic arts tasks, they are investing in automation to empower the existing experienced employees to output a high volume of files in a fast-paced environment. As these kinds of enterprises focus on promotional, print and apparel goods for licensed and corporate clients, using spot-color swatches and especially PANTONE color books is essential. When you have PARM errors which result during processes which deal with spot colors, their efficiency gains are negated and they are forced to spend more money in areas of low return until they are forced to go out of business. Therefore, it is very important to eliminate the errors which result from such basic processes such as manipulating art objects in documents or reading spot colors in documents.
Okay, that's what I got so far, please feel free to correct, enhance, append, etc.
Copy link to clipboard
Copied
Speed and Stability in batch processing of files. This is related to number 4 on your list somewhat. But I'm also experiencing a slowdown as it moves through files. Evidently Qwertyfly was not getting the same results I was on a PC, but on a Mac this is a serious issue.
Copy link to clipboard
Copied
Oh duh, one more huge thing!
6. ESTK on Mac Yosemite
Copy link to clipboard
Copied
7. MRAP errors when creating/modifying layers. ESTK on Mac (i don't use PC so i don't know if it's an issue there as well)
Copy link to clipboard
Copied
Most of my issues are with the stability of the engine. and the lack of meaningful error messages when errors occur.
(this one is hard as I can run the same script for days before it errors a hand full of times, then it might be good for a week before it happens again. with no consistency it makes it hard to know the what, why, how)
the next biggest issue for me is all the items that we Don't have access to via javascript.
ie.
Variable Width Strokes
Contents of Opacity masks
autofit area text toggle
But I think your trying to get existing bugs fixed, not so much what we want added, that sounds like a different thread.
I'll come back and post more as I come up against them so I can test and give the required detail
ScriptUI has some big ones that I can think of, but will need to play with them before I can provide useful information.
8. #target illustrator (does not point to latest version installed)
Copy link to clipboard
Copied
This is a joke that this even has to be talked about, but given the total lack of effort by the developers over the years, not surprising. Most all of these "bugs" should have been dealt with years ago with direct involvement.
Qwertyfly... wrote: .... all the items that we Don't have access to via javascript.
Such a list could be extensive, given how lacking scripting support is in Illustrator, along with how few of features were added since scripting was implemented.
So many glaring issues/omissions its hard to remember them all.
Copy link to clipboard
Copied
Speaking of BUGs, did I break this thread with my above post?
Regardless, I would be eager to hear of others ideas for things that are missing, need improved/expanded/fixed, various desired script related features, etc., all relating to AI scripting. Given the fact Silly-V is in contact with a mythical developer we might as well make a "wish"/hopes/dreams list, since the actual wishform (hilarious name) never works for much of anything.
Speak up folks, dream big people, heck you never know maybe someday the graph feature might even step out of 1993, or AI scripting support/features may actually improve.
Copy link to clipboard
Copied
Carlos talked to the same person a couple years ago, he mentioned, and nothing much came of it - but let's reach for the stars!
Oh and big edit, he's more like a manager who is in contact with developers, not even sure if they are in same building- but they for sure are in the same continent! ..which is not western hemisphere.
Copy link to clipboard
Copied
Silly-V, You had me at "Hello" in your first post. But sadly I lost virtually all confidence in this ideal with your last post, that coupled with historical facts/truths regarding AI DOM scripting development, or more so the absence there of, version after version of AI. It seems less about actually making a concerted effort for change and more about saving face on social media. If they truly cared, they would have fixed bugs historically and came here directly for interaction on customer feedback and input and thusly would have had an actual dialog to make corrections/advances. Seemingly this thread is another subset of the all but famous Adobe "WISHFORM", where wishes, dreams and great ideas go to die. Sadly this information sounds destined to head up the same river without a paddle (unless you buy one via subscription), to never be seen or heard from again. I hope to be proven wrong, but history sure seems to prove otherwise.
Copy link to clipboard
Copied
But, but.. he said they admittely dropped the ball on developer partner engagement and are keen on fixing it! Either way, it's good to have a single thread to serve as a quick reference for things which may give you problems
(as opposed to the rest of the forum where problems are inconveniently peppered with solutions)
Copy link to clipboard
Copied
I say this list is a good idea.
even if it only serves as a reference for us.
Copy link to clipboard
Copied
+1
Copy link to clipboard
Copied
I never said it was a bad idea, I'm just not in any way optimistic it will yield anything by the developers (based upon previously stated).
CarlosCanto wrote: +1
Start typing Carlos: all the things that you have seen, mentioned by yourself or others over the years that are missing regarding features and access via scripting. What is your list?
Copy link to clipboard
Copied
I also wanted to add that just about ALL of the MRAP errors i get seem to be directly related to opening/closing a lot of files (or sometimes not even a lot..)
If i try to batch a folder using a script to open, manipulate, save, close, repeat... I will often get 2-3 files completed before an MRAP halts everything. However, as Silly-V has pointed out in the past, simply opening a large number of files first, then looping through the open documents seems to run in a much more stable fashion, until of course, as silly has also pointed out, this then causes a period of unresponsiveness when the script is complete.
Many of the scripts that i used are not intended for batching a folder of files, but rather for making a lot of adjustments to one particular file based on input that I'm giving at the beginning of the script. So this requires me to open 2 files, copy artwork from one to another, run the script. save the destination file, close both files and repeat. I often only get through 4-5 files before MRAP's force me to quit and relaunch illustrator before i can continue.. but when I do the above method of opening many files at once, then batching the open files, i can get through many more before i get any errors.
I wasn't sure how to put that in the catalog format we've been using, but that's my experience thus far. Hope it's helpful.
Copy link to clipboard
Copied
A few new things to add to the list, in regards to images in palette and dialog windows:
Copy link to clipboard
Copied
I don't know if this thread will actually have any impact, but I certainly hope it does, since I have a major scripting issue that I know for a fact is a bug. I'll post it below, but if there is a more "official" place in which to submit this bug, please let me know and I will do so immediately. Seeing as how the first two problems below are still problems after several months, I'm guessing that this thread is being ignored by the powers that be. Still, I'll give it a shot.
MRAP:
First, let me open by saying that I, too, have been having many MRAP errors in our scripts. We are on Macs running Yosemite currently, which fits with your theory, Silly-V. This has been an issue since Mavericks and maybe even Mountain Lion, I think, but it appears to be happening much more often now on Yosemite, and typically whenever the script is opening/processing a larger file or one with more complex artwork / many hundreds of paths. I have been attributing it to my relatively poor scripting skills--that "MRAP" meant some sort of memory leak in the scripts--but now I am not so sure.
ESTK Pause:
This is also happening to me, also running the Creative Cloud version (CC) on Yosemite. Very frustrating, indeed. If I were a less patient person, I would have gone through a dozen keyboards by now. Perhaps it is a very inefficient auto-backup feature?
NoColor fill reads as GrayColor 0:
Here's the one I'm currently having. I'll try to follow the same format that has been established earlier in this thread:
The result of this is that whenever a path without a fill is being read, the script thinks that it has a fill of white. This can be easily replicated with the following steps:
var workDoc = app.activeDocument;
$.writeln("Stroke Color: " + workDoc.pathItems[0].strokeColor.typename);
$.writeln();
$.writeln("Fill Color: " + workDoc.pathItems[0].fillColor.typename);
if (workDoc.pathItems[0].fillColor.typename == "GrayColor") {
$.writeln("Fill Color's Gray Value: " + workDoc.pathItems[0].fillColor.gray);
}
And that's it. Thoughts/ideas/workarounds welcome.
Copy link to clipboard
Copied
for the Grey color issue, what would you take as acceptable workaround?
The script returns "GrayColor".
what do you need instead of "GrayColor"?
Copy link to clipboard
Copied
CarlosCanto wrote:
for the Grey color issue, what would you take as acceptable workaround?
what do you need instead of "GrayColor"?
Since the polygon has absolutely no fill, I would prefer it return "NoColor."
If you try out the steps in my previous post to replicate the issue and remove any stroke (so it is also set to None), then you'll see that the PathItem.strokeColor.typename will return "NoColor."
A GrayColor of 0 is equivalent to White, which is not the same thing as having no fill color at all.
If this isn't a bug, then I don't know what is.
As for a workaround, I wish I could think of one. I need to be able to detect if a path that the script is looking at has no fill instead of telling me that it has a grayscale value of 0.
Copy link to clipboard
Copied
I think because of such things, you've got to use the .stroked and .filled properties too at that point.
Copy link to clipboard
Copied
Silly-V wrote:
I think because of such things, you've got to use the .stroked and .filled properties too at that point.
Much appreciated! I had completely forgotten about those two properties! Yes, I will adjust my scripts so that they will test for that first before the color and that creates a perfect workaround. Unfortunately, I cannot edit my earlier post now to put this in there as a workaround. Now if we can only get rid of these annoying "MRAP" and "ESTK Typing Pause" problems, then my scripting life would be whole again. ;~)
Thanks again!
Copy link to clipboard
Copied
and "ESTK Typing Pause" problems
my workaround for that is to click the green link connection button. You'll be able to type faster but you will loose access to the apps documented api in the one palette (on phone, I forget name of this palette).
Copy link to clipboard
Copied
Man, actually this for me did not produce a marked improvement.. maybe it did for a little while, before things went back to molasses.