Page 1 of 1

SCRIPT FOR EMPTYING GMAIL ACCOUNTS

Posted: Sun Dec 09, 2007 1:20 pm
by z3us
Hi. I tried to make a script that I want to use for deleting all messages in several gmail accounts that I use for p2m.

Is this:

Code: Select all

VERSION BUILD=6011201 RECORDER=FX
TAB T=1
SET !ERRORIGNORE YES
URL GOTO=http://www.gmail.com
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:https://www.google.com/accounts/ServiceLoginAuth?service=mail ATTR=ID:Email 

CONTENT=FIRST ACCOUNT ID
TAG POS=1 TYPE=INPUT:CHECKBOX FORM=ACTION:https://www.google.com/accounts/ServiceLoginAuth?service=mail 

ATTR=ID:PersistentCookie&&VALUE: CONTENT=YES
TAG POS=1 TYPE=INPUT:PASSWORD FORM=ACTION:https://www.google.com/accounts/ServiceLoginAuth?service=mail ATTR=ID:Passwd 

CONTENT=FIRST ACCOUNT ENCRIPTED PASSWORD
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ACTION:https://www.google.com/accounts/ServiceLoginAuth?service=mail 

ATTR=NAME:signIn&&VALUE:Acceder
FRAME F=2
TAG POS=1 TYPE=SPAN ATTR=TXT:Todas
TAG POS=1 TYPE=BUTTON ATTR=TXT:Suprimir
TAG POS=1 TYPE=SPAN ATTR=TXT:Papelera
FRAME F=3
TAG POS=1 TYPE=SPAN ATTR=TXT:Vaciar<SP>la<SP>Papelera<SP>ahora
TAG POS=1 TYPE=A ATTR=TXT:Salir

URL GOTO=http://www.gmail.com
TAG POS=1 TYPE=INPUT:PASSWORD TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:https://www.google.com/accounts/ServiceLoginAuth?service=mail ATTR=ID:Email 

CONTENT=SECOND ACCOUNT ID
...
It runs OK with the first account, but when trying to log into second account, a "TAG not found" error is shown

Any idea????

TY

Posted: Thu Dec 13, 2007 1:50 pm
by OrkyDD
Don't you need to log out from the account before trying to log in to the next one?

Posted: Thu Dec 13, 2007 3:57 pm
by z3us

Code: Select all

TAG POS=1 TYPE=A ATTR=TXT:Salir 
Salir is the link for logging out in spanish

Posted: Sat Dec 15, 2007 12:25 am
by Tech Support
It seems Gmail uses different URL sometimes(?). Instead of

TAG POS=1 TYPE=INPUT:CHECKBOX FORM=ACTION:https://www.google.com/accounts/Service ... rvice=mail

please try

TAG POS=1 TYPE=INPUT:CHECKBOX FORM=ACTION:*/ServiceLoginAuth?service=mail