質問
how to find the object with format stroke : "Unnamed Color" with tint 50% in Indesign doc using JS

how to find the object with format stroke : "Unnamed Color" which is red in color and has color value "(C=11,M=99,Y=96,K=2)" and many Unnamed Color were present in Stroke swatch list. how to find exactly that cmyk red alone and replace its stroke value using indesign javascript
app.findChangeObjectOptions.objectType= ObjectTypes.ALL_FRAMES_TYPE;
app.findObjectPreferences = app.changeObjectPreferences = NothingEnum.NOTHING;
app.findObjectPreferences.strokeColor == "Unnamed Color";
// app.findObjectPreferences.strokeTint =60;
var foundItems = app.activeDocument.findObject(true);
for (var i = 0; i < foundItems.length; i++) {
foundItems[i].strokeTint =50;
}
