Re: scripting Word top copy text - should be simple, but ain't
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: Mr Tea <email@hidden>
- Date: Tue, 25 Apr 2006 14:49:34 +0100
This from Charles Arthur, UKClimbing Editor - dated 25/4/06 12.17:
> set mytext to contents of thewindow
Have you tried telling MS Word to...
set mytext to text of window 1
?
I ran the following with Word vX and it worked fine.
set theFile to choose file
tell application "Microsoft Word"
open theFile
set myText to text of window 1
end tell
Nick
pp Mr Tea
"Let the pot stand for at least five minutes before serving."
_______________________________________________
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