WinAutomation - windows automation software with macro recorder
      3 replies [Last post]
      nbrannelly
      nbrannelly's picture
      User offline. Last seen 7 weeks 5 days ago. Offline
      Joined: 01/27/2010
      Posts: 9

      Hi,

      What is the best way to change the font in a text file in a winautomation job?

      Thanks

      Neil

      D.M.Altizer
      User offline. Last seen 6 hours 32 min ago. Offline
      Joined: 01/12/2010
      Posts: 193
      Re: Change Font

      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==

      nbrannelly
      nbrannelly's picture
      User offline. Last seen 7 weeks 5 days ago. Offline
      Joined: 01/27/2010
      Posts: 9
      Re: Change Font

      Hi D.M

      I need to write an automated utility where the user chooses a date and a printout is produced with a barcode which holds the date information.

      Any help would be appreciated.

      Thanks

      Neil

      D.M.Altizer
      User offline. Last seen 6 hours 32 min ago. Offline
      Joined: 01/12/2010
      Posts: 193
      Re: Change Font

       Do you use a specific program to do this now?

      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.

      __________________

      ==Dedicated Automation Solutions==

      __________________

      ==Dedicated Automation Solutions==