Is it possible to find out Text/Picture boxes which has been Suppress Output option has been checked in the quark files especially in paste board area…?
Then i need to delete all unused boxes in the paste board area except the above said items which are in “Suppress Output”!
Help me on this how to find i searched all the ways but i can’t find the code for “Suppress Output”…?
tell application "QuarkXPress"
tell document 1
set Page_Names to name of every page
if Page_Names does not contain "2001" or Page_Names does not contain "2002" then
set Spread_Count to count of spreads
repeat with i from 1 to Spread_Count
tell spread i
set Generic_Box_List to every generic box
repeat with j from (count of Generic_Box_List) to 1 by -1
set Box_Page to name of page 1 of (item j of Generic_Box_List)
if Box_Page = "2002" or Box_Page = "2001" then
if suppress printing of (item j of Generic_Box_List) is false then
delete (item j of Generic_Box_List)
end if
end if
end repeat
end tell
end repeat
else
display dialog "Can't do this."
end if
end tell
end tell