Script to change trapping in Quark 7.5

Hi!

Does someone know if there is a way to change all trapping preference of all object in a Quark document to “default”.

For now, I know that I can put all trap text to default with this script:

tell application "QuarkXPress"
	activate
	try
		tell document 1
			
			set trap text of every text style range of every story to default
			
		end tell
		
	end try
	
end tell

but I have no clue how to do the same with box, frame, line, etc…

any idea? :confused:

thanks for your help.

I found this for boxes, but couldn’t find any for frames, lines, etc as requested.

set background trap of generic boxes to default

Hope it works for you!

This works for lines too:

set background trap of generic boxes to default

And this works for frames:

set inside trap of frame of generic boxes to default
set outside trap of frame of generic boxes to default

But I couldn’t figure out how to set the frames of certain color only to default/knockout/overprint.

Please help! TIA!