• 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: David Wignall <email@hidden>
  • Date: Sun, 13 Apr 2003 02:33:33 +1200

on 13/4/2003 12:58 AM, Oz.Springs at email@hidden wrote:

> It works, but (just to be picky) the email links remained blue and the link
> stayed there... The blue colour on the link is a character style called
> "hyperlink". In fact all the styles remain; your script just overwrites them,
> does not remove them, just as Shane's did (intermittently).

Fair enough although the script was meant to be indicative, which is why I
didn't set all the font properties. Paul Berkowitz picked me up on that one
as well.

With hindsight, I wasn't really thinking of styles. In those terms one
should set the whole document to Normal and adjust from there. That said,
*I* would attach a template I keep for just this purpose and set it all to a
Body Text style and leave Normal alone.

Actually, now that it's late and my brain is working, the Word X Selection
object has a ClearFormatting method so you could do that, collapse the
selection to the first two words and make bold. Probably slower over complex
documents but the project's intention is very clear.

> My script and Paul's change everything to "Normal" including the character
> styles. So far as I am aware you cannot get rid of Normal which is the basis
> of all text in Word but you should be able to get rid of all the other styles
> if you want to strictly meet the requirement for "plain text" which is what
> Frank asked for.

Strictly speaking, it can't be plain text because the OP wanted the first
two words in bold :-) If they really wanted plain text the easiest way would
be a Save As. Looking back, Frank wrote

> All I want to do is change all text in an opened Word document to "plain",

which I took to mean Roman rather than 'plain text.' That, to me, is a very
different thing.

> In a very old version of Word on a DOS PC (1980s), Normal was always Courier.
> You could change the font and other attributes in the Normal template, but as
> soon as you rebooted, Courier would come back for the template would always
> default to Microsoft's preordained setup.

Normal is each users default font and text styles and paragraph formatting.
Earlier this week I was dealing with a person who had Normal set to pink
Braggadocio, justified and indented by a couple of centimetres from both
margins. Most recently, that is, as the Normal template was corrupt and the
style had set to update automatically. There is a Plain Text style as well,
which is Normal + Courier, unless you change it. My point is that maybe the
OP didn't want whatever they're using for Normal but wanted it left as the
document had it.

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

References: 
 >Re: Making text plain or bold in Word (From: "Oz.Springs" <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