Intelligent Automation & Macro Software  

Go Back   Tethys Solutions Forums > Products Zone > Automation Anywhere
Register FAQ Search Today's Posts Mark Forums Read

Automation Anywhere Post messages and questions related to Automation Software here.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-10-2007, 03:39 PM
AutoEvent AutoEvent is offline
Junior Member
 
Join Date: Aug 2007
Posts: 2
Default Newbie Help

I have a relatively simple task, that I would appreciate help to accomplish. I want to go to a webpage copy everything on it into XL and then go to the next page and repeat the process.

This is the firstpage I want to get:
http://www.miaminewtimes.com/search/...ate=2007-08-10

I have been able to use the download file template to get each page by inserting a variable in to page=$variable$

However, when I open the file, the window has the title of the HTML page title, not the file name that I save it as. Therefore, I have not been able to assign an active window to open the files and paste them into XL. This seems like it should be a very simple task. Does anyone have a .atmn file that accomplishes this that they would be willing to share?

Thanks,
David
Reply With Quote
  #2 (permalink)  
Old 08-11-2007, 06:07 AM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 474
Default

Hello David,

You can use $Counter$ variable in loop to go to the next page. You can loop for number of pages you want to. Inside the loop use this keystroke command to go to next page:

Keystrokes: http://www.miaminewtimes.com/search/events.php?page=$Counter$&date=2007-08-10[ENTER] in "about:blank - Microsoft Internet Explorer"

We have attached task file (Miaminewtimes.atmn). Copy it under location My Documents\Automation Anywhere\Automation Anywhere\My Tasks.

Before running the task keep the Internet Explorer’s home page (about: blank) and Excel file open.

This task will loop for 3 times to copy the text data of webpage to excel.

Hope that helps.
Attached Files
File Type: atmn Maiminewtimes.atmn (16.8 KB, 11 views)
Reply With Quote
  #3 (permalink)  
Old 08-11-2007, 07:20 PM
AutoEvent AutoEvent is offline
Junior Member
 
Join Date: Aug 2007
Posts: 2
Default Thanks

Thanks for the script -- it was very helpful, and accomplished exactly what I was looking for. One thing I would add to it for other newbies out there, is that you have to check off "Enable this task to run with other similar files" in the General section of the properties tab. Thanks again for the timely response.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 09:26 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc.
Copyright © 2003-2008 Tethys Solutions, LLC. All rights reserved