indesign distribute page items

I have three page items I would like to distribute horizontally with some space between them . when they start they are all stacked on top of each other

so I tried this


tell application "Adobe InDesign CS5.5"
	tell document 1
		align align distribute items {laminate, mounting, slide} align option horizontal centers align distribute bounds item bounds
	end tell
end tell

and I don’t get any errors but they are certainly not getting distributed.

any ideas what I’m doing wrong ?

Hi,

I think you want to use the distribute command rather than align:

tell application "Adobe InDesign CS4"
	distribute document 1 align distribute items {laminate, mounting, slide} distribute option horizontal space absolute distribute measurement 5 with use distribute measurement
end tell

Thanks,
Nik

thanks!