• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Naming Quark boxes - screwed up!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Naming Quark boxes - screwed up!
      • From: Steve Kump <email@hidden>
  • Prev by Date: Re: getting a URL from IE
  • Next by Date: Re: Random number generator without duplicates?
  • Previous by thread: RE: Naming Quark boxes - screwed up!
  • Next by thread: Re: Naming Quark boxes - screwed up!
  • Index(es):
    • Date
    • Thread