Re: Selecting and deleting text in QuarkXPress
Re: Selecting and deleting text in QuarkXPress
- Subject: Re: Selecting and deleting text in QuarkXPress
- From: Shane Stanley <email@hidden>
- Date: Fri, 20 Jul 2001 19:35:16 +1000
I wrote:
>
tell application "QuarkXPress 4.11"
>
tell document 1
>
tell text box 1
>
set theOffset to offset of character -1 of line -1
>
delete text from character theOffset to character -1 of story 1
>
end tell
>
end tell
>
end tell
I should have written:
tell application "QuarkXPress 4.11"
tell document 1
tell text box 1
set theOffset to offset of character -1 of line -1
delete text from character (theOffset + 2) to character -1 of story 1
end tell
end tell
end tell
--
Shane Stanley, email@hidden