Manjish Posted August 17, 2009 Share Posted August 17, 2009 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 More sharing options...
Manjish Posted August 18, 2009 Author Share Posted August 18, 2009 Bump!! Somebody? [font="Garamond"]Manjish Naik[/font]Engineer, Global Services - QPSHoneywell Automation India LimitedE-mail - Manjish.Naik@honeywell.com Link to comment Share on other sites More sharing options...
WolfWorld Posted August 18, 2009 Share Posted August 18, 2009 (edited) 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 August 18, 2009 by athiwatc Main project - Eat Spaghetti - Obfuscate and Optimize your script. The most advance add-on.Website more of GadGets! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now