Jump to content
Sign in to follow this  
kctvt

Some problems with Register, select Month,day

Recommended Posts

kctvt

I'm writing code Auto Register for website http://ledmobile.net/

And this's my test code:

#include <IE.au3>

#include <File.au3>

#include <Array.au3>

#include <Date.au3>

$oIE = _IECreate ('http://ledmobile.net/diendan/register.php')

$oAgree = _IEGetObjByName ($oIE, 'agree')

_IEAction ($oAgree , "click")

$oSubmit = _IEFormGetCollection ($oIE, 1)

_IEFormSubmit ($oSubmit)

_IELoadWait ($oIE)

$oForm = _IEFormGetObjByName ($oIE, "register")

$oText = _IEFormElementGetObjByName ($oForm, "month")

_IEAction ($oText , "click")

_IEFormElementSetValue ($oText,"Tháng 4")

I want to auto select Month, day.... but I dont know how... so, can you help me this , thanks so much :D

Edited by kctvt

Share this post


Link to post
Share on other sites
Hawkwing

Usually when someone is trying to automatically register at a website, they aren't up to any good.


The Wheel of Time turns, and Ages come and pass, leaving memories that become legend. Legend fades to myth, and even myth is long forgotten when the Age that gave it birth comes again.

Share this post


Link to post
Share on other sites
kctvt

:D Just test...

I can auto Post Reply, auto type Password, Username... but dont know how to select month, day...

So... I want to ask. I'm not Spammer.

Share this post


Link to post
Share on other sites
Hawkwing

If it's a pulldown menu thing you might be able to use controlclick.


The Wheel of Time turns, and Ages come and pass, leaving memories that become legend. Legend fades to myth, and even myth is long forgotten when the Age that gave it birth comes again.

Share this post


Link to post
Share on other sites
kctvt

umm... Can u say more clearly ... or give me a sample ? It'll be easier :D

Share this post


Link to post
Share on other sites
Hawkwing

If its a pulldown menu thing, you should be able to use controlclick to click on the menu, and then the month/day. Use the helpfile, it's very useful.


The Wheel of Time turns, and Ages come and pass, leaving memories that become legend. Legend fades to myth, and even myth is long forgotten when the Age that gave it birth comes again.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.