• 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: scripting Word top copy text - should be simple, but ain't
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: scripting Word top copy text - should be simple, but ain't


  • Subject: Re: scripting Word top copy text - should be simple, but ain't
  • From: "Charles Arthur, UKClimbing Editor" <email@hidden>
  • Date: Tue, 25 Apr 2006 17:37:11 +0100

Thanks for the attempted answers on this (which have come up in my RSS
newsreader before the digest has arrived - uh).

textutil: nice try, Shane, but I'm afraid that it can't do Word 5 files -
it leaves the control characters in.

Mr Tea: did you look at what Word Vx produced as the result of the script?
>set mytext to text of window 1

for me, that just gives "text of window 1" as an application object. But
there's no way I can coerce it to the actual *text*. (A reminder: I'm using
Word 2004, which has - no exaggeration - something like 100 entries in its
dictionary for "text" (including text range, text column, text columns
evenly spaced) including two different ones called "text", both of which
are for text insertion, and about 20 called  "text object" which seem to be
properties of all sorts of different things.

But none that is just the "word things in the document/window". Argh!!

This *must* be possible, surely.

     best
     Charles
--
http://www.ukclimbing.com : 1,000+ British crags, 350+ British climbing walls
- searchable by distance rock type, etc, with 5-day weather forecasts for
every one - plus maps, articles, news, and the New Routes database. There's
even a cool shop attached...
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: scripting Word top copy text - should be simple, but ain't
      • From: Mr Tea <email@hidden>
    • Re: scripting Word top copy text - should be simple, but ain't
      • From: Simon Topliss <email@hidden>
  • Prev by Date: Re: Plugins
  • Next by Date: Re: scripting Word top copy text - should be simple, but ain't
  • Previous by thread: Re: scripting Word top copy text - should be simple, but ain't
  • Next by thread: Re: scripting Word top copy text - should be simple, but ain't
  • Index(es):
    • Date
    • Thread