tell application "QuarkXPress Passport"
activate
try
if not (exists document 1) then error "No document is open."
tell document 1
set theSelected to every picture box whose selected is true
set numberOfBoxes to count of theSelected
repeat with x from 1 to numberOfBoxes
set theBox to item x of theSelected
tell theBox
tell image 1
set bounds to box fit
end tell
end tell
end repeat
end tell
end try
end tell