-- Copyright 2002-2008.  Adobe Systems, Incorporated.  All rights reserved.
-- This script shows how to crop the frontmost document

tell application "Adobe Photoshop CS4"
	activate
	make new document with properties {width:2 as inches, height:2 as inches}
	
	-- bounds are the region that you want to crop.
	-- height and width are the dimensions of the resulting image
	crop current document bounds {0.5 as inches, 0.5 as inches, 0.75 as inches, 0.75 as inches} Â
		angle 45 width 1 as inches height 1 as inches
end tell
