• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AppleWorks formatting and Glossary
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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. |
----------------------------------------------------------------------


  • Prev by Date: Re: Fetch's Initial Dialogue Box
  • Next by Date: Re: Push for AppleScript in OS X
  • Previous by thread: Re: considering/ignoring in QuarkXPress
  • Next by thread: Re: AppleWorks formatting and Glossary
  • Index(es):
    • Date
    • Thread