![]() |
| |||||||
Automation Anywhere Post messages and questions related to Automation Software here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| 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 |
| |||
| 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. |
| |||
| 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. |