- Сообщения
- 2 242
- Реакции
- 1 227
PHP:
function d2h(d) {return d.toString(16).toUpperCase();}
with (app) {
if (documents.length == 0) { exit(); }
for (i = 192; i < 256; i++) {
findTextPreferences = null; changeTextPreferences = null; findChangeTextOptions.caseSensitive = true;
findTextPreferences.findWhat = '<00' + d2h(i) + '>';
changeTextPreferences.changeTo = '<0' + d2h(i + 848) + '>';
activeDocument.changeText();
}
}