CarlosCanto
Community Expert
CarlosCanto
Community Expert
Activity
‎Mar 27, 2024
08:03 AM
Thanks for sharing that Screen Scaling was part of the solution!
... View more
‎Mar 24, 2024
09:56 PM
how's your screen resolution?
mine
... View more
‎Mar 24, 2024
12:57 PM
are you on Mac? I'm on Windows 11, I get this
... View more
‎Mar 24, 2024
08:52 AM
can you post your code?
... View more
‎Mar 24, 2024
08:50 AM
I'm afraid we don't have access to them, we only have access to swatches in documents.
... View more
‎Mar 23, 2024
12:58 PM
one way of selecting the Selection tool is using a script
- save the following script to plain text (not Rich Text)
- give it a js or jsx extension,
- save it in the Presets/Scripts folder,
- restart Illustrator.
- Then start recording at the end of your Action,
- click on Insert Menu Action
- select the script in the File->Scripts menu
- stop recording
app.selectTool("Adobe Select Tool")
... View more
‎Mar 23, 2024
12:07 PM
1 Upvote
awesome, thanks for putting this together Mark
... View more
‎Mar 22, 2024
09:36 AM
noted, good luck
https://illustrator.uservoice.com/
... View more
‎Mar 21, 2024
12:02 PM
there's a great script by mhulse that does what you need, check this thread for a link and how to use it
https://community.adobe.com/t5/illustrator-discussions/gradient-from-2-swatches/m-p/11840448#M264413
... View more
‎Mar 21, 2024
11:44 AM
it seems you updated your code, but the idea is the same, use the translate trick to force a refresh
... View more
‎Mar 21, 2024
11:38 AM
1 Upvote
oh ok, try this
var idoc = app.activeDocument;
alert(checkIfCorrupt (idoc.compoundPathItems[0]));
function checkIfCorrupt(item) {
var doc = app.activeDocument;
var itemCpy = item.duplicate(item, ElementPlacement.PLACEAFTER);
// Update groupItem count.
itemCpy.translate(10,10);
//item.selected = true;
//doc.selection = null;
for (var i = 0; i < doc.groupItems.length; i++) {
if (doc.groupItems[i].parent == itemCpy) {
itemCpy.remove();
// Return true if corrupt
return true;
}
}
itemCpy.remove();
}
** I would move the copy to the very top of the document to check GroupItems[0] parent instead of looping thru all group items in the document
... View more
‎Mar 21, 2024
08:56 AM
from all the wonderfull workarounds in the link you posted, I would go with
1. checking all groupItem's parent
2. if parent == compoundPath, problem item
3. release, ungroup, remake
... View more
‎Mar 21, 2024
08:27 AM
Hello, I posted an updated script, it's on page 3 on this thread
... View more
‎Mar 17, 2024
08:38 PM
which script you tried? did you get any error messages?
... View more
‎Mar 14, 2024
04:10 PM
do you have any error messages?
try the first script to see if it works
... View more
‎Mar 14, 2024
03:52 PM
1 Upvote
you could record an Action to epxort to WMF and have your script play the action
... View more
‎Mar 08, 2024
09:47 AM
awesome! thanks for sharing!
... View more
‎Mar 07, 2024
08:04 AM
1 Upvote
you can get the active document full path as long as the file exists (it has been saved at least once)
var docRef = app.activeDocument.fullName // returns a file object
from here you can get the folder location
var folder = docRef.parent; // returns a folder object
Let me know if you need additional help
... View more
‎Mar 05, 2024
11:45 PM
same results here as well.
is startColor meaningful? (is there a chance the user clicks ok accepting the startColor)? If not, then you could compare the returned color and assume Cancel was pressed if it's the same as startColor
... View more
‎Mar 04, 2024
01:51 PM
you have a typo, OpenCloudDocument should start with a lower case o
try this
var docRef = app.openCloudDocument("Test/NewGarbTemplate.aic");
... View more
‎Mar 03, 2024
10:44 AM
I had a similar issue, the problem was a Drawing Pen's dying battery.
Also, removing the USB adapter that pairs the Pen with the computer solved the issue immediately.
hope that helps
... View more
‎Mar 01, 2024
10:25 AM
1 Upvote
The difference between js and jsx is what Mark said, when you double click on a script to launch it, it will be handled by the default application.
if jsx, the file gets opened by the ESTK app and if the script has a target directive, it will be handled by the right application (Illustraor, Photoshop, etc)
... View more
‎Feb 29, 2024
11:14 PM
no mide decimales por defecto (precision = 0), double click en la herramienta Dimension y cambia la precision segun necesites
... View more
‎Feb 29, 2024
11:02 PM
1 Upvote
or if you want to repeat your method as shown in the video
after selecting your shapes
1. select the Reflect Tool
2. Alt/Option + Click on the Guide (or one of the Anchors)
that will bring up the Reflect Dialog, click on Copy button
... View more
‎Feb 29, 2024
10:47 PM
1 Upvote
have you tried Mirror Repeat?
1. select your objects
2. go to Object->Repeat->Mirror
3. double click on an empty area to exit edit mode
... View more
‎Feb 29, 2024
08:29 AM
1 Upvote
@Manaus yeah, let us know if you find a solution following the steps I described above. thanks
... View more
‎Feb 27, 2024
10:54 PM
2 Upvotes
ok, then the script works. Make sure your layers are setup like the file that had no issues running the script on.
or follow the below steps
1. your layers should look like this
2. select Layer 1 then do Release to Layers (sequence)
3. keep Layer 1 selected then run the script, your layers should look like this
enjoy
... View more
‎Feb 27, 2024
12:32 AM
Hi Gemma, what's the error you're getting?
... View more
‎Feb 20, 2024
08:22 AM
Kurt are you scripting now? Welcome to the club!!!
... View more
‎Feb 19, 2024
09:44 AM
can you split the large pieces into smaller chunks?
... View more