Width/Height return % unit instead px
here the code:
photoshop.open(File(sFolderImg + nCont + "D.jpg"));
var imgD = app.activeDocument;
photoshop.open(File(sFolderImg + nCont + "R.jpg"));
var imgR= app.activeDocument;
//alert (imgD.name);
//alert (imgD.Width.as("px"));
var imgLottoW=imgD.width.as('px') + imgR.width.as('px');
imgD.width returs always a 100% and using .as('px') retun NaN:

I need to get the value in Pixel.
Any idea?
Thanks
