Re: AppleWorks formatting and Glossary
Re: AppleWorks formatting and Glossary
- Subject: Re: AppleWorks formatting and Glossary
- From: Michelle Steiner <email@hidden>
- Date: Fri, 2 Feb 2001 08:45:00 -0800
On 2/2/01 7:22 AM, T&B <email@hidden> wrote:
>
AppleWorks 5 has problems with whose clauses and elements within elements
>
in text,
So I found out. :(
>
but the result can be achieved, such as:
<snip>
Here's another way:
tell application "AppleWorks"
set wordList to {}
tell document 1
tell text body
repeat with i from 1 to count words
set the styleList to (style of word i)
if on styles of styleList contains italic then
set wordList to wordList & word i
end if
end repeat
end tell
end tell
end tell
get wordList
--Michelle
----------------------------------------------------------------------
| Michelle Steiner | Hard as it may be to believe, my |
| email@hidden | life has been based on a true story. |
----------------------------------------------------------------------