Call Toll Free: 1-888-484-3535    

  Automation Anywhere - The Automation Software

Sample Tasks -> T41 - Close all open Word windows

Task Description: Closes all open Word windows.

T41.atmn 

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

 

Solution
1.Create New Task Click on New -> Task Editor.
2.Loop through all open Word windows Using the Loop command from the Conditions/Loops category, select "Start Loop" and select "Condition" option from the Looping Commands wizard. Another window opens with the title "Loop While". Select the option "Window Exist" and from the "Select Title" list select a Word window. Use the wild card (*) support to find the all word window.
Screenshot 1

Loop While Window Exists(- "Microsoft Word")

End Loop

3.Send Keystrokes to close the Word window Using the Insert Keystrokes command from the Keystrokes/Mouse category, specify the keystrokes ALT+F4 to close the Word window. Screenshot 2

Keystrokes: [ALT DOWN][F4][ALT UP] in "*Microsoft Word*"

4.Enable the option "Enable this task to run with other similar files or window titles" In the main window of Automation Anywhere 5.0.2, select the Properties Tab -> General Category.  Click on the option "Enable this task to run with other similar files or window titles". Screenshot 3
 

When you run this task, it loops through all the open word windows and closes it.

Screenshot 1:

 

Screenshot 2:

 Screenshot 3:

 

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