On Wed, Apr 10, 2013 at 4:58 PM, Starlet Abraham <[email protected]>wrote:
> Hi Guys, > I am not a linux user. I use windows(I am sorry :-( ). > But I wanted to implement the same script using AutoHotKey script. My > purpose is the same, to keep connecting to the login page of asianet. AHK > script will be kinda crude. I have attached a flowchart of my idea. > Please do share your valuable inputs or even better options than AHK > scripting. > Well, I really don't know what AHK and stuff is, but I can login to Asianet with 1 line of curl. You can put this in a loop with a sleep or something to keep the connection always alive. # login curl -k -s -d "redirurl=%24PORTAL_REDIRURL%24&auth_user=ca00000&auth_pass=password-here&accept=Login+%3E%3E" \ https://mwcp-clt-01.adlkerala.com:8001/ | grep successfully # logout curl -k -s -d "logout_id=ca11792&logout=Logout" https://mwcp-clt-01.adlkerala.com:8001/ | grep successfully PS: Get rid of windows. My 2 cents. -- Regards, Jaseem Abid github.com/jaseemabid -- -- "Freedom is the only law". "Freedom Unplugged" http://www.ilug-tvm.org You received this message because you are subscribed to the Google Groups "ilug-tvm" group. To control your subscription visit http://groups.google.co.in/group/ilug-tvm/subscribe To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For details visit the google group page: http://groups.google.com/group/ilug-tvm?hl=en --- You received this message because you are subscribed to the Google Groups "Free Software Users Group, Thiruvananthapuram" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
