I need a script that adds specific sized crop marks around a selected object.
This is what it needs to do:
//Get height and width of currently selected object//
var myDoc = app.activeDocument;
var selectedArt = myDocument.selection;
var artBounds = selectedArt [0] .geometricBounds;
//Then pass these on two say "artWidth" and "artHeight" which adds .25 inches in pixel mesurements to both stored height and width variables.//
var artWidth = artBounds[0 + .25in “in pixel value”]
var artHeight = artBounds[1 + .25in “in pixel value”]
//Then passes that information on to a document write function that will create a new box around the object that is centered awround the originally selected object’s position//
function makeDimensions()
{
}
// From here I think I can work within the actions pallet to finish the steps//
But how do I start this?