Jump to content

word.au3 help


Recommended Posts

Hey, I was wondering how I could change the font size and attributes of the text i write using: $oDoc.Range.insertAfter

I want to write customizable text in word with each line as different font attributes, if u understand what I mean. I checked the entire word management functions list in help file. Still not getting an answer to this..

Please help.. I wanna create a file something like this:

[font="Garamond"]Manjish Naik[/font]Engineer, Global Services - QPSHoneywell Automation India LimitedE-mail - Manjish.Naik@honeywell.com
Link to comment
Share on other sites

Okay in vb you can use Range.Font.Color right?

So in Autoit you can use $oDoc.Font.Color = HEX value of the color.

But this will change the whole document to that color. You need to use the select to get the range that you want.

Edited by athiwatc
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...