• 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: Making text plain or bold in Word
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making text plain or bold in Word


  • Subject: Re: Making text plain or bold in Word
  • From: "Oz.Springs" <email@hidden>
  • Date: Sat, 12 Apr 2003 07:36:37 +0100

Yes it does, but it does some strange things with the styles in the 6 page document on which I tested your script. The style changes to "Title" throughout and the font is listed as "Times New Roman" in the font menu but it is still showing as Benguiat Gothic on screen.

I don't think MS Word can properly recognise style of text to plain.

Kind regards



Oz


At 9:34 +1000 12/04/2003, Shane Stanley wrote:
>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.
_______________________________________________
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.

  • Follow-Ups:
    • Re: Making text plain or bold in Word
      • From: Shane Stanley <email@hidden>
    • Re: Making text plain or bold in Word
      • From: David Wignall <email@hidden>
References: 
 >Re: Making text plain or bold in Word (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Making text plain or bold in Word
  • Next by Date: Re: Making text plain or bold in Word
  • Previous by thread: Re: Making text plain or bold in Word
  • Next by thread: Re: Making text plain or bold in Word
  • Index(es):
    • Date
    • Thread