Powered by Blogger.

imacros shared scripts II

Here's a hushmail signup script.

Make data.csv in datasources with usernames in column1 and passwords in column2.



VERSION BUILD=6861208     
TAB T=1     
TAB CLOSEALLOTHERS     
URL GOTO=https://www.hushmail.com/signup/     
'New page loaded      
CMDLINE !DATASOURCE data.csv
'Number of columns in the CSV file. This must be accurate!
SET !DATASOURCE_COLUMNS 2
'Start at line 2 to skip the header in the file
SET !LOOP 20
'Increase the current position in the file with each loop 
SET !DATASOURCE_LINE {{!LOOP}}
SET !EXTRACT_TEST_POPUP NO
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:newaccountform ATTR=NAME:hush_username CONTENT={{!COL1}}  
TAG POS=1 TYPE=INPUT:PASSWORD FORM=NAME:newaccountform ATTR=NAME:hush_pass1 CONTENT={{!COL2}} 
TAG POS=1 TYPE=INPUT:PASSWORD FORM=NAME:newaccountform ATTR=NAME:hush_pass2 CONTENT={{!COL2}} 
TAG POS=1 TYPE=INPUT:CHECKBOX FORM=NAME:newaccountform ATTR=ID:hush_tos&&VALUE:on CONTENT=YES 
PROMPT Fillthatcaptchayo !VAR1 
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:newaccountform ATTR=NAME:hush_turing_response CONTENT={{!VAR1}} 
TAG POS=1 TYPE=INPUT:CHECKBOX FORM=NAME:newaccountform ATTR=ID:hush_additional_tos&&VALUE:on CONTENT=YES 
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:newaccountform ATTR=ID:createKeysButton  
WAIT SECONDS=#DOWNLOADCOMPLETE# 
'New page loaded      
ADD !EXTRACT {{!COL1}}
ADD !EXTRACT {{!COL2}}
SAVEAS TYPE=EXTRACT FOLDER=* FILE=*
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:signInForm ATTR=VALUE:Tosigninnow,clickhere 
CLEAR 
'New page loaded

Bannerad

Artikel Terpopuler

Tags

Blogumulus by Roy Tanck and Amanda Fazani