Jump to content

Pro click(java button)


Pum
 Share

Recommended Posts

Hello. I newby in autoit. It looks very terribly, but probably it can cope with my problem. I am a shame to ask me about the help, but is independent to me a little that clearly. So a problem: there Are 5 static sites on which it is necessary to come time at 12 o'clock, to click on the button and to close a site.

For example site http://www.xtremetop100.com/in.php?site=1132196620

i need press button "Vote for Zulu hotel" and close that site

My idea so stupid

$url = "http://www.xtremetop100.com/in.php?site=1132196620"
$oIE = _IECreate($url, 1, 1, 0)
sleep(10000)
Send("{TAB}")
sleep(200)
Send("{TAB}")
sleep(200)
Send("{TAB}")
sleep(200)
Send("{TAB}")
sleep(200)
Send("{TAB}")
sleep(200)
50 times till it get my button T_T then
Send("{ENTER}")

But i saw here topic http://www.autoitscript.com/forum/index.ph...c=36269&hl=

it what i need but i cant understand that i need to do.. Please help me!

Link to comment
Share on other sites

Anyways, This might work:

$oHTTP = ObjCreate("winhttp.winhttprequest.5.1")
$oHTTP.Open("POST", "http://www.xtremetop100.com/in.php?site=1132196620&submit=Vote+for+Zulu+Hotel")
$oHTTP.Send()

EDIT::

Though, I dont know if it would, Because they might have some sort of bot protection.

Edited by AzKay
# MY LOVE FOR YOU... IS LIKE A TRUCK- #
Link to comment
Share on other sites

Anyways, This might work:

$oHTTP = ObjCreate("winhttp.winhttprequest.5.1")
$oHTTP.Open("POST", "http://www.xtremetop100.com/in.php?site=1132196620&submit=Vote+for+Zulu+Hotel")
$oHTTP.Send()

EDIT::

Though, I dont know if it would, Because they might have some sort of bot protection.

WOW! Thanks MAN!!!!! THTA GREAT!!!!

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...