- Сообщения
- 1 583
- Реакции
- 54
doc = app.activeDocument;
for (l = doc.layers.length-1; l >= 0; l--) {
doc.layers[l].visible = true;
doc.layers[l].locked = false;
}
for (n = doc.pageItems.length-1; n >= 0; n--)
{
CheckObject = doc.pageItems[n];
if (CheckObject.guides == true) {
try{
CheckObject.remove();
}
catch (e){
}
}
}