Call Toll Free: 1-888-484-3535    

  Automation Anywhere - The Automation Software

Sample Tasks -> T35- Format all Word documents (*.doc) in a folder

Task Description: This task automates formatting all Word documents in a folder (Times New Roman, Justify, Sentence Case etc).

T35.atmn 

Note: Save the .atmn file in My Documents->Automation Anywhere->Automation Anywhere->My Tasks

 

Solution
1.Create a new task
  • Click on New -> Task Editor.
2.Loop through all the files in a folder
  • Select Start Loop in Conditions/Loops category.
  • Select Files for folder option.

Screenshot 1

3.Select only document Files
  • Under Conditions / Loops category, double-click on If command
  • Select the option Variable
  • Click on Edit button
  • From the first drop down box select the System variable name Extension
  • Select the Operator 'Equals'
  • In the File option specify the value 'doc'

 Screenshot 2

4.Open a document
  • Under Program/Files/Windows category, double-click on Program/Files command
  • In Program/File path specify the value '$CurrentDirectory$\$FileName$.$Extension$'

Screenshot 3

Open "$CurrentDirectory$\$FileName$.$Extension$ "

5.Apply formatting to the document Insert keystrokes in the documents to apply formatting.
  • Select All the contents and do justify.
  • Open change case window and select sentence case.
  • Open font window and apply 'Times new Roman' font
  • Close the file.

Screenshot 4

 
When you run this task, it loops through all the documents of a folder and formats them.

Screenshot 1:

Screenshot 2:

Screenshot 3:

Screenshot 4:

 

E-Mail: Enter your email address to receive information about new products & offers from Tethys Solutions.


 PRODUCTS

 Automation Anywhere
   Standard & Premier
   Enterprise
   Integration Pack
 Workspace Macro Pro
 Workspace Macro
 Launch-n-Go
 Free Downloads
 Compare Products
 

 SERVICES

 Ask The Expert
 Consulting Service
 

 PURCHASE

 BUY NOW
 Pricing
 Upgrades
 Our Guarantee

 CUSTOMERS

 Customer List
 Case Studies
 Testimonies

 SUPPORT

 FAQ & Examples
 Have a Question?
 Open A Support Case
 Forums
 

 QUICK LINKS

 Productivity Essentials
 Developers
 

 GENERAL

 Partners
 Affiliates
 Articles: Macro &
 Automation

 Get RSS Feeds

 Press & News
 Contact Us
Home |Site Map |Privacy Policy |About Us |Contact Us

Copyright © 2003-2008 Tethys Solutions, LLC. All rights reserved. Trademarks