Jump to content
Sign in to follow this  
Manjish

word.au3 help

Recommended Posts

Manjish

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

Share this post


Link to post
Share on other sites
Manjish

Bump!! Somebody?


[font="Garamond"]Manjish Naik[/font]Engineer, Global Services - QPSHoneywell Automation India LimitedE-mail - Manjish.Naik@honeywell.com

Share this post


Link to post
Share on other sites
WolfWorld

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

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.