Re: Identifying text boxes by a name in Quark
Re: Identifying text boxes by a name in Quark
- Subject: Re: Identifying text boxes by a name in Quark
- From: email@hidden
- Date: Fri, 16 Mar 2001 10:01:42 -0700
Do to all the great help I received before, I thought I would try it again.
Below is a section of a script I'm using to import and format text. I went
through and named the text boxes in the document using Scriptmaster XT. When I
ran the script below with the text box name the text didn't import. I have tried
everything I can think of but it doesn't seem to recognize the text box by its
name. It runs fine if I use the text box number. Does anybody know the correct
wording to identify it by it's name?
tell application "QuarkXPress
? 4.11"
repeat
if not (document 1 exists) then
choose file with prompt "Choose File to Update" of type
{"XDOC"}
copy the result to SourceFile
open SourceFile
end if
set SourceFile2 to (choose file with prompt "Choose text file to
import")
tell document 1
set --Text Box Name-- to SourceFile2
end tell
end repeat
end tell
Any help would be appreciated.