Could someone help me to spec a frame in quark?

Hi, and thanks for reading:

I am a novice and am trying to write a script to remove frames of a certain color from a quark document. I can get it to remove Boxes with a certain fill color, but cannot figure out how to word the command to delete boxes with a certain frame color.

Any suggestions would be welcome.

Thanks!

tell application “QuarkXPress 5.01”
tell document 1
delete (every picture box whose name of color of frame = “Red”)
end tell
end tell

Hope this helps.