Re: Making text plain or bold in Word
Re: Making text plain or bold in Word
- Subject: Re: Making text plain or bold in Word
- From: Shane Stanley <email@hidden>
- Date: Sat, 12 Apr 2003 09:34:43 +1000
On 12/4/03 2:56 AM +1000, Frank W. Walker, email@hidden, wrote:
>
All I want to do is change all text in an opened Word document to "plain",
>
then change the first two words of text to "bold".
>
>
Easy, I hope?
In AppleScript, you could try something like this:
tell application "Microsoft Word"
set style of text of document 1 to plain
set style of text from word 1 to word 2 of document 1 to bold
end tell
Works here in Word 98.
--
Shane Stanley, email@hidden
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.