Jump to content

IE.au3 Help.


Recommended Posts

Ok, i keep getting an error that says:

Variable Must be a type of 'Object'.

i can't figure out how to stop that error, and its for posting(just like autoit1...2..3).

Code:

$oIE = _IECreate(0)
        _IENavigate($oIE,'website')
        _IEClickLinkByText($oIE,'General Discussion')
        _IEClickimg($oIE,'Post new topic','alt')
        $form   = _IEFormGetObjByName($oIE, "post")
$o_title     = _IEFormElementGetObjByName($form, "subject")
;$o_desc     = _IEFormElementGetObjByName($o_form, "TopicDesc")
$o_message   = _IEFormElementGetObjByName($form, "message")

_IEFormElementSetValue($o_title, 'testing')
;_IEFormElementSetValue($o_desc, "I'm a knucklehead...")
_IEFormElementSetValue($o_message, 'Ignore This post. THanks')
_IEFormSubmit($form)

This is the 'Post' form name:

<form action="posting.php" method="post" name="post" onsubmit="return checkForm(this)" enctype="multipart/form-data">

This is where you input your message:

<textarea name="message" rows="15" cols="35" wrap="virtual" style="width:450px" tabindex="3" class="post" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);"></textarea>

Also, The forum is PHPBB, if you really want to look at the forum, PM ME. sorry.

Edited by NegativeNrG

[size=20]My File Upload[/size]Register at my site and upload.

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