Jump to content

IEFormElementCheckBoxSelect problem


Recommended Posts

hey guys its been awhile since i posted here but it always seems to help when im stuck.

im trying to make a script that will check a box on binsearch.info for me. in the source of binsearch each checkbox is given a name= value for each checkbox which is unique for each file.

this is what im using to try to check the box

$oForm = _IEFormGetObjByName($oIE, "r")
_IEFormElementCheckBoxSelect($oForm, "", $id, 1, "byValue")

$id is of course the id number of the selected file.

everytime i try i get the following error:

_IEFormElementCheckboxSelect, $_IEStatus_NoMatch

if searched all over the forum with no luck. i can check the boxes with the following command but it does me no good.

_IEFormElementCheckBoxSelect($oForm, 1, "", 1, "byIndex")

any help would be great

thanks

Link to comment
Share on other sites

#include <IE.au3>
$oIE = _IECreate("http://binsearch.info/?q=eminem&max=100&adv_age=900&server=")
$oForm = _IEFormGetObjByName ($oIE, "r")
_IEFormElementCheckboxSelect ($oForm, "ON", "55286703", 1, "byValue")

Sometimes you need to have 'Microsoft FrontPage' to see all :)

Another thing i dont know if this is needed

Binsearch may only be used for personal use. Commercial use, in any shape or form, is strictly prohibited. Yes, this means integrating our service in 3rd-party programs is not allowed either. People should not be made to pay money for search results we provide for free.

.

Edited by bogQ

TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
There are those that believe that the perfect heist lies in the preparation.
Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.

 
Link to comment
Share on other sites

thanks for the help, its been driving me crazy for a while now. i should of asked sooner. well i got one more question, is there a way to bypass the IE download/save as dialog? ive searched heavy on google with no luck. i can get past it with a controlclick but ide like to have IE in the background?

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