script to convert all registration to black

not being too familiar with how indesign will handle items,
is there a quick, easy way to run a script that will convert any instances of registration color
to black color?

I don’t believe that I can delete the registration color swatch and replace it with black.

I think that the only items that I need to convert will be lines, no shapes.

thanks
david

try something like this

tell application "Adobe InDesign CS6"
	activate
	set myDoc to active document
	tell myDoc
		try
			set _Registration to swatch "Registration"
			set _Black to swatch "Black"
			set fill color of every item of all page items whose fill color is _Registration to _Black
			set stroke color of every item of all page items whose stroke color is _Registration to _Black
		end try
	end tell
end tell