Naming Quark boxes - screwed up!
Naming Quark boxes - screwed up!
- Subject: Naming Quark boxes - screwed up!
- From: harry brindley <email@hidden>
- Date: Tue, 17 Apr 2001 15:47:10 -0400
Steve Kump writes ...
I am doing this very simple operation in three steps to try and solve this
strange behaviour:
This snip should help you (talk to the current box, not the document) ...
tell document 1 of application "QuarkXPress 3x"
tell current box
set boxName to name
if boxName = "" then
set dResult to ,
display dialog "Box namer" & return & return & "The selected ...
... box has no name. Give it a name." default answer "anonymous"
if (text returned of dResult) is not "" then
set name to text returned of dResult
end if
else
set dResult to ,
display dialog "Box namer" & return & return & "The name of the ...
... selected box is \"" & boxName & "\"." & return & "You may ...
... change it." default answer boxName
set name to text returned of dResult
end if
end tell
end tell
Reconnect the broken lines at the ellipses.
Harry
--
Harry Brindley
Systems & Technology
The New York Times
212-556-4996