Set thumbnails size inside Layer Panel
I wish we could directly set the Thumbnail inside Layer Panel with the help of a script.
Sadly the listener doesn't record the setting of the Thumbnail Size, it only records the call of the Layer panel options .
I already found the helpful code below inside this post : get/set "Add Mask By Default" via AM?
but when i run the code, ESTK responds with the error "this functionnality may not be available in this versin of PS"
var ref = new ActionReference();
ref.putProperty (stringIDToTypeID ("property"), stringIDToTypeID ("layerThumbnailSize"));
ref.putEnumerated( charIDToTypeID("capp"), charIDToTypeID("Ordn"), charIDToTypeID("Trgt") );
var desc = executeActionGet(ref);
var layerThumbnailSize = typeIDToStringID(desc.getEnumerationValue(stringIDToTypeID("layerThumbnailSize")));
alert(layerThumbnailSize);
So, any help is welcome...![]()



