Quark 4 vs. 5
Quark 4 vs. 5
- Subject: Quark 4 vs. 5
- From: "Andy Keck" <email@hidden>
- Date: Mon, 24 Feb 2003 10:37:35 -0800
- Thread-topic: Quark 4 vs. 5
Here's one that's got me stumped:
Below, I've pasted in a (massively simplified) script that makes new pages in a Quark doc from different master pages. It works fine in QXP 4, but crashes Quark 5.0 instantly. Anybody have any guesses?
tell application "QuarkXPress(tm)"
activate
set DocName to name of document 1
set SpreadList to the name of every spread of master document DocName
set Master_I to (object reference of spread (item 1 of SpreadList) of master document DocName)
set Master_II to (object reference of spread (item 2 of SpreadList) of master document DocName)
set Master_III to (object reference of spread (item 3 of SpreadList) of master document DocName)
tell document DocName
make new page at end with properties {master spread:Master_III}
make new page at end with properties {master spread:Master_II}
make new page at end with properties {master spread:Master_I}
end tell
end tell
Andy Keck
Digital Doughboy
Cranium, Inc.
2025 First Avenue, Suite 600
Seattle, WA 98121
p: 206 438 1356
m: 206 390 3870
f: 206 652 1483
email@hidden
www.playcranium.com
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.