Thread: Email reading
View Single Post
  #3 (permalink)  
Old 07-10-2009, 08:45 AM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,337
Default

Hello,

To trigger a task, you can create a rule to display a specific message in 'New Message Alert Window' whenever a message arrives in particular folder.

Now, whenever a new message will arrive, a 'New Item Alert' window would pop up displaying new messages in it. You can create a custom trigger on this window i.e. when this window opens, click on link in it.

Create a task that would include ‘Loop While Window does not exists’ command to wait until specified Window does not exists. Inside Loop-End Loop block, you can insert keystrokes command to hit F9 to refresh outlook. After End Loop, insert keystroke, Alt+o in 'New Item Alert' window to open that particular message.

If you have Automation Anywhere Premier version, you can use Manage Windows Controls (MWC) to directly access Windows UI objects like Text Box, Drop Down, List Box, Radio buttons and more. Using 'Get Text' option of MWC you can extract text that cannot be selected and copied using standard clipboard operations. To extract particular value from body section, you can use 'String Manipulation' command to extract a part of string into variable. When you use MWC, not only your task is independent of screen coordinates and screen resolution, but it can also run in background.
After you extract the link, open it using 'Launch Website' or 'Open Browser' command.

Text format of commands would appear something like this,

1) Loop While Window Does Not Exist("New Item Alerts")
2) Keystrokes: [F9] in "*Microsoft Outlook"
3) Delay: (5000 ms)
4) End Loop
5) Keystrokes: [ALT DOWN]o[ALT UP] in "*Microsoft Outlook"
6) Delay: (500 ms)
7) Get Text from Textbox in Window : "* Message (Plain Text) " Assign to variable "$Clipboard$"

We have also attached sample task for reference. Please copy it under location, 'C:\...\My Documents\Automation Anywhere\Automation Anywhere\My Tasks' folder.

Hope that helps.
Attached Files
File Type: atmn Sample.atmn (1.8 KB, 3 views)
Reply With Quote