Text files do not contain any information related to fonts. If you are talking about the font in a word document, an rtf file or any other format that contains additional formatting information, you will have to use keystrokes or mouse clicks depending on the available shortcuts of the third party application.
If you can be more specific about exactly what you are trying to do, I will provide you with more details about how to automate your task in WinAutomation.
The best way that I can think of to do such a thing without using interactive actions (i.e. without taking the control of the machine), is through a template xls file. You can have a sample xls file that has the first cell (i.e. A1) with the format that you want.
You can instruct winautomation to open the excel file, write the code to the first cell (it will automatically get the cell's formatting) and save the file with a different name. Then you can print it with the "Print" action.
Text files do not contain any information related to fonts. If you are talking about the font in a word document, an rtf file or any other format that contains additional formatting information, you will have to use keystrokes or mouse clicks depending on the available shortcuts of the third party application.
If you can be more specific about exactly what you are trying to do, I will provide you with more details about how to automate your task in WinAutomation.
==Dedicated Automation Solutions==
==Dedicated Automation Solutions==