Re: Naming Quark boxes - screwed up!
Re: Naming Quark boxes - screwed up!
- Subject: Re: Naming Quark boxes - screwed up!
- From: Steve Kump <email@hidden>
- Date: Tue, 17 Apr 2001 17:19:32 -0500
Actually...I have embarrasingly discoverd it has to do with ScriptMaster
(shun shun ) simply displaying the wrong labels. I have found that my script
was naming the correct box. Scriptmaster was showing crazy stuff.
It's ok now.
thanks!
Steve Kump
>
From: harry brindley <email@hidden>
>
Date: Tue, 17 Apr 2001 12:47:10 -0700
>
To: email@hidden, email@hidden
>
Subject: Naming Quark boxes - screwed up!
>
>
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
>
_______________________________________________
>
applescript-users mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/applescript-users