Copy link to clipboard
Copied
looking at hundreds of different colored items in multiple documents
any script out there that does this?
Copy link to clipboard
Copied
Something like this? (A Javascript, so save as "MakeStrokeSameAsFill.jsx")
if (app.documents.length && app.selection.length)
{
for (var a=0; a<app.selection.length; a++)
{
try {
app.selection.strokeColor = app.selection.fillColor;
} catch (e)
{
// ignoring all possible errors ...
}
}
}
Copy link to clipboard
Copied
I tried this and it only works for the one selected item, not a selection of multiple items.
Copy link to clipboard
Copied
Ok, I got this to work. Items need to have an existing stroke, before it works. So I selected everything, gave it a black stroke and then ran the script from ExtendScript console.