Hight reduction script
I am trying to write simple script that reduces hight of selection (single object or many objects on different layers) by fixed parameter. In my case 6mm. The problem is that in result redictionis 2.117mm instead of expected 6mm. Do you have any clue why and how the proper code wshould look like?
var doc = app.activeDocument;
var sel = doc.selection;
for(var i = 0; i < sel.length; i++){
sel[i].height = sel[i].height - 6;
}

