CarlosCanto
Community Expert
CarlosCanto
Community Expert
Activity
‎Oct 29, 2024
08:24 AM
Can you show samples of what you need? share a file if possible please
... View more
‎Oct 10, 2024
08:49 AM
it might not be possible. As an alternative, after pressing Alt+F, R, press the down arrow as many times as needed to highlight your menu item, then press Enter
... View more
‎Oct 06, 2024
08:13 AM
no it's not required, the #target directive's purpose is to run the script in the right application when one double clicks on the file in the Explorer window (finder on mac)
... View more
‎Sep 30, 2024
09:39 AM
thanks sttk3!
... View more
‎Sep 26, 2024
08:18 AM
there aren't many books about scripting, about the only author out there is Davide, check out his work here
https://www.davidebarranca.com/
info is out there though, check tutorials on Youtube, then ask questions here is you get stuck.
... View more
‎Sep 17, 2024
08:56 AM
Illustrator doesn't have any Layer metadata. If you want to export layer information you would have to gatter the info yourself and possible write a text file if that's what you need.
... View more
‎Sep 17, 2024
08:36 AM
make sure your layout is similar to the screenshot I posted here
https://community.adobe.com/t5/illustrator-discussions/release-to-layers-but-retain-layer-names/m-p/14854828/page/3#M399097
... View more
‎Aug 31, 2024
06:07 PM
ESTK is no longer supported. It still works on Windows only because it still supports 32 bit programs. Macs won't install or run ESTK.
If you're on Windows you can find and istall the ESTK through the the Creative Cloud App
... View more
‎Aug 31, 2024
06:00 PM
2 Upvotes
or...place the script in the secure "My Documents" folder to bypass the warning
... View more
‎Aug 29, 2024
08:54 AM
oh, ok @haraldw93098100 then it seems the indexes are getting jammed as you add more groups.
try start duplicating from the bottom up instead of top down, then move the duplicates below the last original group. That way the original number of groups is not messed up. The duplicate function takes a second argument "ElemenetPlacement" to dup and move the dup at the same time.
let me know if that works
... View more
‎Aug 26, 2024
02:05 PM
Hi @haraldw93098100 I finally got a chance to test, I do not do C# so I run the jsx from vbs and I did not get any errors.
you mentioned it works good the first time but after duplicating it doesn't. To test, should I duplicate the layer via vbs (c# in your case) then run the jsx on the duplicate? or what's the sequence?
... View more
‎Aug 26, 2024
02:02 PM
Hi Larry, that's what I thought but he says it used to work ok.
... View more
‎Aug 21, 2024
08:18 AM
@haraldw93098100 can you share a sample file where the script fails? save your ai file as pdf and upload it here, or save the ai in Google Drive, DropBox or similar and post the link here
... View more
‎Aug 08, 2024
08:51 AM
use the uuid property
var idoc = app.activeDocument;
alert(idoc.textFrames[0].uuid);
to find items by their uuid use the following
var idoc = app.activeDocument;
//alert(idoc.textFrames[0].uuid); // 5501
var tframe = idoc.getPageItemFromUuid (5501);
tframe.contents = "new content";
... View more
‎Aug 02, 2024
03:58 PM
Hi @Mattymattster , I posted a new version of that old script. Check my post on Nov 08, 2019, on page 3
... View more
‎Aug 02, 2024
01:16 PM
Hi @Mattymattster , scripts usually don't need to be updated to work on future releases. Is the script not working on your end?
... View more
‎Aug 01, 2024
08:34 AM
perhaps the UXP userID formats is different from JSX, I'm gussing here, uxp is not ready in Illustrator.
Can you run jsx from PS to the get userID? I'm not sure if you can get a matching jsx id in PS though.
... View more
‎Jul 23, 2024
08:18 AM
it should be possible but I'm not clear, can you post before and after samples?
... View more
‎Jul 18, 2024
08:29 AM
1 Upvote
I've just been openly skeptical and critical of UXP's ground-up design approach from the very beginning and tentatively expecting that by the time Illustrator even gets UXP, that UXP itself will be as old as CEP was when Adobe decided to replace it.
By @Inventsable
bold prediction, love it
... View more
‎Jul 18, 2024
08:15 AM
@nickcombs I just posted the new location
... View more
‎Jul 18, 2024
08:09 AM
check this thread for a possible solution
https://community.adobe.com/t5/illustrator-discussions/illustrator-windows-startup-scripts-error/td-p/12975455
... View more
‎Jul 16, 2024
01:19 AM
1 Upvote
Hi Mark, I don't have a solution to get text per Envelope but I'm researching and there might be hope.
It turns out the solution I provided only works in the ideal scenario I tested it on...stay tuned.
... View more
‎Jul 15, 2024
02:57 PM
those are the most fun Jacob 🙂
... View more
‎Jul 15, 2024
01:22 PM
1 Upvote
I hear you Mark, I don't mind writing script and give them away, but time is limited I have to pick and choose the ones that won't take me too much time.
now, researching trying to find a solution that seems impossible, that's my thing, I can't stay away from those Lollll, I spent too much time on trial and errors to come up empty handed most of the time.
... View more
‎Jul 15, 2024
01:19 PM
yeah, same problem here, it's hard to find/make good graphics to demo the script.
your demos are great by the way. I loved them.
... View more
‎Jul 13, 2024
02:38 PM
3 Upvotes
one more comment, there are users that come with "I need a script that does ABC". We're generous beings and we give it to them. They get excited and can't believe how easy it was, all you have to do is ask! they come back with another request, again they get lucky, there are a few of us willing to help. Then they think they found a gold mine and start demanding free work from us. At some point we all ignore those users, they get tired of waiting and leave. The forum goes dry for a while until the next user finds gold.
... View more
‎Jul 13, 2024
02:30 PM
2 Upvotes
femke, I think mark, jacob, sergey and kurt covered all points. I agree with all of them.
I think the scripting volume is about standard, I've noticed the times when we have had a lot of questions is when someone ventures to learn scripting and asks a ton of question in the process. But those users are scarce, there arent' many of them, even before ChatGPT of easy content creation tools like Express or Figma. Once they learn, they move on, the forum goes dry for a while until someone else gets curious about scripting.
I've been lurking on the young people's Discord illustrator channel for a while and haven't seen any scripting questions, so I think this forum is still king when it comes to scripting traffic.
... View more
‎Jul 13, 2024
02:06 PM
1 Upvote
Hi Mark, spot on!! you remembered correctly. Here's a snippet for editing envelope text via stories, there's no need to go into isolation or edit contents mode, or selecting envelopes
// edit envelope text contents
// carlos canto 7/13/24
// https://community.adobe.com/t5/illustrator-discussions/can-we-script-the-find-replace-dialog-and-not-use-atextframe-contents/m-p/14734217#M412798
// assuming Envelope is the top most item
var idoc = app.activeDocument;
var s = idoc.stories;
alert(s.length);
var deleteMe = false;
// it there are no other text frames but the envelope, the api reports zero stories, so add one temp frame
if (s.length == 0) {
var tf = idoc.textFrames.add();
tf.contents = "temp frame";
deleteMe = true;
}
alert(s[0].textRange.contents);
s[0].textRange.contents = "New Text";
alert(s[0].textRange.contents);
if (deleteMe) tf.remove();
... View more
‎Jul 13, 2024
01:36 PM
What do you mean by Artwork dictionary?
there is a Spelling Dictionary, is that what you're referring to?
... View more
‎Jul 11, 2024
08:33 AM
1 Upvote
I can't do this rotation with 'Actions' because actions doesn't let me export the image with incrementing file names (I have to manually type it out each time).
By @Subset
I have a trick to "loop" Actions.
- create a variable
- create 360 Datasets
- run your action in batch mode using the Datasets
- use the dataset names in your export file name
... View more