Noah Posted April 10, 2010 Posted April 10, 2010 hi guys. i am newbiei want to get security token from this website www.kaskus.usif i use javascript. there is -> javascript:alert(document.getElementsByName('securitytoken')[0].value);how can i get the securitytoken use autoit?i have been use _IEGetObjByName @_@but its not work help me
AdmiralAlkex Posted April 10, 2010 Posted April 10, 2010 Hi and Welcome to the forums! Please note that the rule is to wait 24 hours before bumping. This is a free forum for a free language and people are going to answer you at their own leisure. Just sit back and relax buddy .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface
ssubirias3 Posted April 10, 2010 Posted April 10, 2010 i want to get security token from this website www.kaskus.usNot exactly clear on what your goal is. Do you want au3 to return the "guest" that's next to the (name="securitytoken" value="guest") or are you just trying to log into the website with with au3? Using the IE.au3 UDF and the examples in the Help file you should be able to do almost anything you want. Some of the frustration I've had automating websites was eliminated once I understood the webpage structure. If the page has multiple nameless frames you'll have to specify which frame using _IEFrameGetCollection(). Pages containing multiple nameless forms could use _IEFormGetCollection() and _IEFormElementGetCollection().Also check out the example code in _IETagNameAllGetCollection(). That helped me get a better handle on the _IE*() functions. In the example try using .name or .innerHTML in place of the .tagname This should hold you over until someone who knows what they're talking about can respond. But they too will want a better understanding of your goal.Cheers!!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now