Re: Anchored Picture Box In Quark
Re: Anchored Picture Box In Quark
- Subject: Re: Anchored Picture Box In Quark
- From: Shane Stanley <email@hidden>
- Date: Mon, 05 Nov 2001 12:14:36 +1100
On 5/11/01 11:38 AM +1000, Hans Haesler, email@hidden, wrote:
>
To delete all anchored boxes, the script must build a list with
>
the offsets of all ASCII character 4. The value is added to the
>
list after testing the next character (this is necessary to
>
exclude the second 4 of ... 4, 0, 4 ...).
>
>
Then the script goes backwards through the list and deletes
>
the characters:
It's probably quicker just to export the story as tagged text, then reimport
it:
set theTemp to (path to temporary items) as text
tell application "QuarkXPress 4.11"
set import styles to true
tell current box
save story 1 in theTemp & "*" as "TEXT"
set story 1 to alias (theTemp & "*")
end tell
end tell
--
Shane Stanley, email@hidden