- Сообщения
- 885
- Реакции
- 1
		Код: 
	
	with(app){
	if(documents.length==0){
		alert("Нет открытых документов");
		exit();
	}
	myDoc = activeDocument;
}
maxSec = myDoc.sections.length;
for (sec = maxSec - 1; sec > 0; sec --){
	myDoc.sections[sec].remove;
} 
	 
 
		