Jump to content

submit problem


Recommended Posts

hello autoit mem, today is my first day with dat, and i start a project commenter

I wana do Auto Login and auto Post, the login it works, but after that the HAOS came!

correct me pls were im rong with an explain

Here is the code??:

#include <IE.au3>

$oIE = _IECreate("www.youtube.com/my_videos_upload", 0, 1, 0)

_IELoadWait ($oIE)

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

$oUser = _IEFormElementGetObjByName($oForm, "comment")

$oPasswd = _IEFormElementGetObjByName($oForm, "comment")

$user = "blablabla"

$passwd = "1234"

_IEFormElementSetValue($oUser, $user)

_IEFormElementSetValue($oPasswd, $passwd)

Send("{TAB}")

Send("{TAB}")

Send("{ENTER}")

Send("{ENTER}")

$oIE = _IECreate ("http://www.youtube.com/#")

Sleep(2500)

Send("i love you")

Send("{ENTER}")

Sleep(2500)

$oIE = _IECreate("http://www.youtube.com/watch?v=zMc1IZ_iFuU", 0, 1, 0)

_IEFormSumbit($oForm)

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...