Intelligent Automation & Macro Software  

Go Back   Automation Anywhere, Inc. 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 02-25-2009, 02:24 PM
jeffgreenberg jeffgreenberg is offline
Junior Member
 
Join Date: Feb 2009
Posts: 3
Default can one of you geniuses help a moron?

I am trying to create an auto responder to craigslist posts.. heres how i view it..

first I think I have to preset some variables for the routine: (city| category | search term |email_location| numpages) lets say (atlanta|services|salon| c:/windows/desktop/CLemail.txt|5)

I want the clresponder task to open up craigslist classifieds: jobs, housing, personals, for sale, services, community, events, forums click on "atlanta" then "services" (the first two preset variables) and... then from the services search box it types in my preset search term \"salon\" and a bunch of results come up 100 per page I want the routine to click on the first result... check if the text has an email address, if no go back to results and go to the next result check for email again if yes locate its position and click on it to open up the email client \"ms outlook\" this will create a subject field and email address field for the email from info within the link.

then i want the routine to copy my email text (from my preset variables \"email text location\" and paste it into the email body in outlook and click send .. then the routine needs to navigate back to results listing page go to the next result until it reaches the bottom of the first 100 results.

then subtract 1 from the numpages variable and reset the numpages variable to the new number. if the numpages now = 0 quit if numpages > 0 do it again.
--------------------------------------------------
I know this is easy for you guys, but I am just getting started.....
Reply With Quote
  #2 (permalink)  
Old 02-26-2009, 04:08 AM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

We have created a sample task as per your requirement.

To run this task,

.Please copy attached task file under location, 'C:\...\My Documents\Automation Anywhere\Automation Anywhere\My Tasks' folder.
. Before running this task, create 5 user variables namely, City, Category, Searchterm, Email_location and Numpages. To create a variable,

1. Go to Tools->Variable Manager in Automation Anywhere.

2. Click on “Add New Variable”.

3. In “Name” field, enter “City”.

4. In “Value” field enter value with which you want to initialize the variable say 'atlanta'.

5. Press “Save”

6. Press “Ok”

7. Similarly, create other four variables and initialize them.

Hope that helps.
Attached Files
File Type: zip JeffGreenBerg.zip (1.9 KB, 5 views)
Reply With Quote
  #3 (permalink)  
Old 02-26-2009, 08:29 AM
jeffgreenberg jeffgreenberg is offline
Junior Member
 
Join Date: Feb 2009
Posts: 3
Default it gives me an error on line 7

i put in the variables & the values, and it failed... did you run the task?

it advised me that under properties i should set it so it can run on similar pages??
Reply With Quote
  #4 (permalink)  
Old 02-26-2009, 08:39 AM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

Yes, the task is running well at our end. We had tested the task before sending it to you.

Variables are case-sensitive so can you please ensure that you created the variables in correct case.

Hope this helps.
Reply With Quote
  #5 (permalink)  
Old 02-26-2009, 09:07 AM
jeffgreenberg jeffgreenberg is offline
Junior Member
 
Join Date: Feb 2009
Posts: 3
Default

i initialized the variables and tried to run the script and it failed on line 7
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

BB 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 02:56 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc.
Copyright © 2003-2011 Automation Anywhere, Inc. All rights reserved