InDesign: Change Document Setup

I need to change the document setup of a folder of InDesign documents. The documents were setup as one size with bleed and I need to change them to another size without bleed.

I searched the forums but could not find anything to point me in the right direction. Thanks.

I was able to figure it out from Adobe’s InDesign Scripting Guide. Part of my solution:

tell document preferences of front document
	set page height to "11.125"
	set page width to "8.375"
	set document bleed top offset to "0"
	set document bleed uniform size to true
end tell