Scripting text box contents in QXP 4.11
Scripting text box contents in QXP 4.11
- Subject: Scripting text box contents in QXP 4.11
- From: mark <email@hidden>
- Date: Tue, 12 Jun 2001 19:22:45 +0200
Hello all, again.
My Quark returns an error, "Can't set story 1 of generic box 1 of spread 3
of document "homelib.qxp" of document 1 to "test"" and I can't figure out
why...
Here's a bit of my script:
tell application "QuarkXPress Passport"
open libDoc
tell document 1
set boxList to (object reference of every generic box of
page modulPage whose name is tempModulTag) as list
end tell
repeat with boxRef in boxList
set storyNo to count of storys in boxRef
--if (box type of boxRef) = text box type then set story 1
of boxRef to "test"
tell story 1 of boxRef
set content of it to temModulData
end tell
end repeat
end tell
Any help is appreciated greatly
Best regards
Mark Bjaergager