Sign in to follow this  
Followers 0
jacob_1998_1999

Simplish IE.au3

3 posts in this topic

<form name="transact" action="/transaction.php" method="post">
<td>
<input type="hidden" value="3067" name="id">
<input type="hidden" value="/view.php?id=3067" name="uri">
<input type="submit" name="submit" value="buy" class="submit">
</td>
</form>

How would I get this to work? I've tried the following:

_IENavigate($oIE,"www.blah.net/view.php?id=3067")
    _IELoadWait($oIE)
    $oForm = _IEFormGetObjByname($oIE,"transact")
        $obutton = _IEFormGetObjByName($oForm, "buy")
    $obutton.click()
    _IELoadWait($oIE)

However, the obutton says it needs an object.

(P.S.- the page has several forms on the page. I have also tried using the _IEFormSubmit() )

once that has taken place, I need to switch profiles to john.

<form method="post" style="display:inline;">
<select name="id">

<option value="329"  SELECTED>Jacob</option>

<option value="1252" >John</option>
</select>
  
<input type=submit value="switch profile" class="submit" name="submit">
</form>

And I'm not even sure how to attempt that. Any help would be much appreciated. :whistle:

Share this post


Link to post
Share on other sites



Any help would be much appreciated. :whistle:

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  
Followers 0