the first version dealt with only one selected object and only one artboard, in this version, I added options to handle more than one selected object and all artboards (or the active artboard)...plus padding.
questions? comments, let me know...enjoy.
download
Trying to use this on an EAN13 barcode generated in vector format from the free http://www.terryburton.co.uk/barcodewriter/generator/... the artboard is smaller than the barcode. After running the script the barcode is definitely not a scaled down version to fit on the artboard. It does look like it was scaled proportionately, but the thickness of the barcode lines are much different. I do have 'scale strokes and effects' turned on. =[
North America
Europe, Middle East and Africa
Asia Pacific