Problem porting Quark 4.11 script to Q 6 and OS X

I’ve finally started porting over all of my scripts to Quark 6 and OSX. Everything was fine until this one.

tell application “QuarkXPress� 4.11”
activate
set page rule origin of document 1 to {“0p”, “0p”}
set tool mode of document 1 to drag mode
select every generic box of every page of document 1
end tell

This does nothing in 6 but change the rules and tool mode. In 4.11 it selects everything of every page. Someone please tell me I can still do this.

Thanks,
Marshall

It does, but only as long as the document has only one spread – otherwise it does nothing, because you can’t have items selected on more than one spread. You might be hitting that problem in v6.1.


Shane Stanley

So its a bug in 4.11 that let me select All frames of every page? In 4.11 as a user you can’t select items over multiable spreads but with this script it selects every text and graphics frames in the entire doc at the same time, so you can shift a Head margin globaly.

I’m sure they’d call it an “undocumented feature” :wink: Sometimes odd stuff works via script, but relying on it is living dangerously.

Shane Stanley