AceLoc Posted August 15, 2006 Share Posted August 15, 2006 <td><input type=radio name=select_crime value=2 id=radiocrime2><label id=labelcrime2 for=radiocrime2> Rob A Casino</label></td> <td>89% chance</td>how can i make this script click on "Rob a Casino" and after at "Commit"$sUsername = "MY ACCOUNTNAME" $sPassword = "MY PASSWORD" $sUrl = "http://www.bootleggers.us" $oIE = _IECreate ($sUrl) $oHWND = _IEPropertyGet($oIE, "hwnd") WinSetState ($oHWND, "", @SW_MAXIMIZE ) $oForm = _IEFormGetCollection ($oIE, 0) $oUsername = _IEFormElementGetObjByName ($oForm, "username") $oPassword = _IEFormElementGetObjByName ($oForm, "password") _IEFormElementSetValue ($oUsername, $sUsername) _IEFormElementSetValue ($oPassword, $sPassword) _IEFormSubmit ($oForm) _IELinkClickByText ($oIE, "crimes")screen of how it looks like: [quote name='AceLoc']I gots new sunglasses there cool.[/quote] Link to comment Share on other sites More sharing options...
AceLoc Posted August 15, 2006 Author Share Posted August 15, 2006 Here's the complete source: expandcollapse popup<html> <head> <title>Bootleggers :: News</title> <meta name="author" CONTENT="BSF2000"> <script language='Javascript' type='text/javascript' src='http://www.bootleggers.us/includes/remove_submit.js'></script> <link REL="stylesheet" TYPE="text/css" HREF="http://www1.bootleggers.us/includes/main.css"> </head> <body bgcolor="#111111" onload="grabit()"> <script language='Javascript' type='text/javascript' src='http://www.bootleggers.us/includes/scripts/gochat.js'></script> <center> <br> <table border="0" cellspacing="0" cellpadding="0" width="95%" class="cat"> <tr> <td colspan="3" align="center"> <table border="0" cellspacing="0" cellpadding="0" width="100%"> <tr> <td align="left" width="329"><img src="http://www.bootleggers.us/images/site/site/l.gif"></td> <td align="center" background="http://www.bootleggers.us/images/site/site/m.gif"> </td> <td align="right" width="241"><img src="http://www.bootleggers.us/images/site/site/r.gif"></td> </tr> </table> </td> </tr> <tr> <td colspan="3" class="cat2" height="15"> <table border="0" cellspacing="0" cellpadding="0" width="100%"> <tr> <td align="left" width="5" valign="top"><img src="http://www.bootleggers.us/images/site/site/mar_left.gif"></td> <td align="center" background="http://www.bootleggers.us/images/site/site/mar_center.gif"><img src="http://www.bootleggers.us/images/site/site/mar_center.gif"></td> <td align="right" width="5" valign="top"><img src="http://www.bootleggers.us/images/site/site/mar_right.gif"></td> </tr> </table> </td> </tr> <tr> <td width="120" background="http://www.bootleggers.us/images/site/site/bg.gif" valign="top"> <table border="0" width="120" cellspacing="0" cellpadding="0" class="cat"> <tr> <td class="menu_header" width="120" height="15"> <img src="http://www.bootleggers.us/images/site/site/arrow.gif"> <b>MAIN</b></td> </tr> <td> <img src="http://www.bootleggers.us/images/site/site/table_top.gif"><br> <img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> <a href="http://www.bootleggers.us/news.php">News</a><br> <img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> <a href="http://www.bootleggers.us/buzz/index.php">Bootleggers Buzz</a><br> <img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> <a href="http://www.bootleggers.us/bootcast.php">BootCast</a><br> <img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> <a href="http://www.bootleggers.us/faq/index.php">FAQ</a><br> <img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> <a href="http://www.bootleggers.us/find.php">Find Player</a><br> <img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> <a href="http://www.bootleggers.us/helpdesk.php">Help Desk</a><br> <img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> <a href="http://www.bootleggers.us/profile.php">Profile</a><br> <img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> <a href="http://www.bootleggers.us/states.php">States</a><br> <img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> <a href="http://www.bootleggers.us/stats.php">Statistics</a><br> <img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> <a href="http://www.bootleggers.us/usersonline.php">Users Online</a><br> </td> </tr> </table> <br> <img src="http://www.bootleggers.us/images/site/site/table_bottom.gif"><br> <table border="0" width="120" cellspacing="0" cellpadding="0" class="cat"> <tr> <td class="menu_header" width="120" height="15"> <img src="http://www.bootleggers.us/images/site/site/arrow.gif"> <b>MESSAGING</b></td> </tr> <td> <img src="http://www.bootleggers.us/images/site/site/table_top.gif"><br> <img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> <a href="java script:goChat('http://www.bootleggers.us/jirc/index.php')">Chat</a><br> <img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> <a href="http://www.bootleggers.us/forum_classifieds/index.php">Classifieds</a><br> <img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> <a href="http://www.bootleggers.us/forum_crew/index.php">Crew Forum</a><br> <img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> <a href="http://www.bootleggers.us/forum/index.php">Game Forum</a><br> <img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> <a href="http://www.bootleggers.us/mailbox.php">Mailbox</a><br> <img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> <a href="http://www.bootleggers.us/forum_other/index.php">Off Topic Forum</a><br> <img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> <a href="http://www.bootleggers.us/savedmail.php">Saved Mail</a><br> <img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> <a href="http://www.bootleggers.us/send.php">Send Letter</a><br> </td> </tr> </table> <br> <img src="http://www.bootleggers.us/images/site/site/table_bottom.gif"><br> <table border="0" width="120" cellspacing="0" cellpadding="0" class="cat"> <tr> <td class="menu_header" width="120" height="15"> <img src="http://www.bootleggers.us/images/site/site/arrow.gif"> <b>ACTIONS</b></td> </tr> <td> <img src="http://www.bootleggers.us/images/site/site/table_top.gif"><br> <img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> <a href="http://www.bootleggers.us/arm.php">Arm Wrestling</a><br> <img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> <a href="http://www.bootleggers.us/attempts.php">Attempts</a><br> <img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> <a href="http://www.bootleggers.us/bullets.php">Bullets</a><br> <img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> <a href="http://www.bootleggers.us/crew.php">Crew</a><br> <img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> <a href="http://www.bootleggers.us/hitlist.php">Hitlist</a><br> <img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> <a href="http://www.bootleggers.us/hospital.php">Hospital</a><br> <img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> <a href="http://www.bootleggers.us/jail.php">Jail</a><br> <img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> <a href="http://www.bootleggers.us/kill.php">Kill</a><br> <img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> <a href="http://www.bootleggers.us/shootingrange.php">Shooting Range</a><br> <img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> <a href="http://www.bootleggers.us/trainstation.php">Train Station</a><br> </td> </tr> </table> <br> <img src="http://www.bootleggers.us/images/site/site/table_bottom.gif"><br> <table border="0" width="120" cellspacing="0" cellpadding="0" class="cat"> <tr> <td class="menu_header" width="120" height="15"> <img src="http://www.bootleggers.us/images/site/site/arrow.gif"> <b>MONEY</b></td> </tr> <td> <img src="http://www.bootleggers.us/images/site/site/table_top.gif"><br> <img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> <a href="http://www.bootleggers.us/booze.php">Bootlegging</a><br> <img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> <a href="http://www.bootleggers.us/buy.php">Buy</a> / <a href="http://www.bootleggers.us/escrow.php">Escrow</a><br> <img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> <a href="http://www.bootleggers.us/crime.php">Crimes</a><br> <img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> <a href="http://www.bootleggers.us/bank.php">Federal Bank</a><br> <img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> <a href="http://www.bootleggers.us/autoburglary.php">Auto Burglary</a><br> <img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> <a href="http://www.bootleggers.us/missions.php">Missions</a><br> <img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> <a href="http://www.bootleggers.us/orgcrime.php">Organized Crime</a><br> <img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> <a href="http://www.bootleggers.us/points.php">Points</a> / <a href="http://www.bootleggers.us/points_track.php">Track</a><br> <img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> <a href="http://www.bootleggers.us/sell.php">Sell Items</a><br> <img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> <a href="http://www.bootleggers.us/stockmarket.php">Stock Market</a><br> <img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> <a href="http://www.bootleggers.us/swissbank.php">Swiss Bank</a><br> </td> </tr> </table> <br> <img src="http://www.bootleggers.us/images/site/site/table_bottom.gif"><br> <table border="0" width="120" cellspacing="0" cellpadding="0" class="cat"> <tr> <td class="menu_header" width="120" height="15"> <img src="http://www.bootleggers.us/images/site/site/arrow.gif"> <b>CASINO</b></td> </tr> <td> <img src="http://www.bootleggers.us/images/site/site/table_top.gif"><br> <img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> <a href="http://www.bootleggers.us/bj/blackjack.php">Blackjack</a><br> <img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> <a href="http://www.bootleggers.us/keno.php">Keno</a><br> <img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> <a href="http://www.bootleggers.us/lottery.php">Lottery</a><br> <img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> <a href="http://www.bootleggers.us/poker.php">Poker</a><br> <img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> <a href="http://www.bootleggers.us/race.php">Race Track</a><br> <img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> <a href="http://www.bootleggers.us/roulette.php">Roulette</a><br> <img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> <a href="http://www.bootleggers.us/slot.php">Slot Machines</a><br> <img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> <a href="http://www.bootleggers.us/war.php">War</a><br> </td> </tr> </table> <br> <img src="http://www.bootleggers.us/images/site/site/table_bottom.gif"><br> <table border="0" width="120" cellspacing="0" cellpadding="0" class="cat"> <tr> <td class="menu_header" width="120" height="15"> <img src="http://www.bootleggers.us/images/site/site/arrow.gif"> <a href="http://www.bootleggers.us/logout.php"><b>LOGOUT</b></a></td> </tr> <td> <img src="http://www.bootleggers.us/images/site/site/table_top.gif"><br> </td> </tr> </table> </td> <td width="99%" background="http://www.bootleggers.us/images/site/site/innerbg.gif" bgcolor="#222222" valign="top"> <br> <center> <table border="0" cellspacing="0" cellpadding="10" width="100%" class="cat"> <tr> <td> <center> <br /> </td> </tr> </table> </td> <td width="120" background="http://www.bootleggers.us/images/site/site/bg.gif" valign="top"> <table border="0" width="120" cellspacing="0" cellpadding="0" class="cat"> <tr> <td class="menu_header" width="120" height="15"> <img src="http://www.bootleggers.us/images/site/site/arrow.gif"> <b>INFORMATION</b></td> </tr> <td> <img src="http://www.bootleggers.us/images/site/site/table_top.gif"><br> <table border="0" cellspacing="0" cellpadding="0" width="100%" class="cat"> <tr> <td width="1"> </td> <td><img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> Pennsylvania</td> </tr> <tr> <td width="1"> </td> <td><img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> Tue 01:46 AM</td> </tr> <tr> <td colspan="2" align="center"><br> <a href="http://www.bootleggers.us/mailbox.php"> <img src="http://www.bootleggers.us/images/site/barrel_empty.gif" border="0"> </a> </td> </tr> </table> </td> </tr> </table> <br> <img src="http://www.bootleggers.us/images/site/site/table_bottom.gif"><br> <table border="0" width="120" cellspacing="0" cellpadding="0" class="cat"> <tr> <td class="menu_header" width="120" height="15"> <img src="http://www.bootleggers.us/images/site/site/arrow.gif"> <b>GUN</b></td> </tr> <td> <img src="http://www.bootleggers.us/images/site/site/table_top.gif"><br> <table border="0" cellspacing="0" cellpadding="0" width="100%" class="cat"> <tr> <td width="1"> </td> <td><img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> 45 MM</td> </tr> </table> </td> </tr> </table> <br> <img src="http://www.bootleggers.us/images/site/site/table_bottom.gif"><br> <table border="0" width="120" cellspacing="0" cellpadding="0" class="cat"> <tr> <td class="menu_header" width="120" height="15"> <img src="http://www.bootleggers.us/images/site/site/arrow.gif"> <b>BULLETS</b></td> </tr> <td> <img src="http://www.bootleggers.us/images/site/site/table_top.gif"><br> <table border="0" cellspacing="0" cellpadding="0" width="100%" class="cat"> <tr> <td width="1"> </td> <td><img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> 0</td> </tr> </table> </td> </tr> </table> <br> <img src="http://www.bootleggers.us/images/site/site/table_bottom.gif"><br> <table border="0" width="120" cellspacing="0" cellpadding="0" class="cat"> <tr> <td class="menu_header" width="120" height="15"> <img src="http://www.bootleggers.us/images/site/site/arrow.gif"> <b>PROTECTION</b></td> </tr> <td> <img src="http://www.bootleggers.us/images/site/site/table_top.gif"><br> <table border="0" cellspacing="0" cellpadding="0" width="100%" class="cat"> <tr> <td width="1"> </td> <td><img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> Reinforced Duesenberg</td> </tr> </table> </td> </tr> </table> <br> <img src="http://www.bootleggers.us/images/site/site/table_bottom.gif"><br> <table border="0" width="120" cellspacing="0" cellpadding="0" class="cat"> <tr> <td class="menu_header" width="120" height="15"> <img src="http://www.bootleggers.us/images/site/site/arrow.gif"> <b>CASH</b></td> </tr> <td> <img src="http://www.bootleggers.us/images/site/site/table_top.gif"><br> <table border="0" cellspacing="0" cellpadding="0" width="100%" class="cat"> <tr> <td width="1"> </td> <td><img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> $265,419</td> </tr> </table> </td> </tr> </table> <br> <img src="http://www.bootleggers.us/images/site/site/table_bottom.gif"><br> <table border="0" width="120" cellspacing="0" cellpadding="0" class="cat"> <tr> <td class="menu_header" width="120" height="15"> <img src="http://www.bootleggers.us/images/site/site/arrow.gif"> <b>RANK</b></td> </tr> <td> <img src="http://www.bootleggers.us/images/site/site/table_top.gif"><br> <table border="0" cellspacing="0" cellpadding="0" width="100%" class="cat"> <tr> <td width="1"> </td> <td><img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> Thug</td> </tr> </table> </td> </tr> </table> <br> <img src="http://www.bootleggers.us/images/site/site/table_bottom.gif"><br> <table border="0" width="120" cellspacing="0" cellpadding="0" class="cat"> <tr> <td class="menu_header" width="120" height="15"> <img src="http://www.bootleggers.us/images/site/site/arrow.gif"> <b>HEALTH</b></td> </tr> <td> <img src="http://www.bootleggers.us/images/site/site/table_top.gif"><br> <table border="0" cellspacing="0" cellpadding="0" width="100%" class="cat"> <tr> <td width="1"> </td> <td><img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> </td> <td> <table border="0" cellspacing="0" cellpadding="0" width="100" class="cat"> <tr> <td bgcolor="green" align="right"><font color="white">100%</font></td> <td width="0" align="left"><font color="white"> </font></td> </tr> </table> </td> </tr> </table> </td> </tr> </table> <br> <img src="http://www.bootleggers.us/images/site/site/table_bottom.gif"><br> <table border="0" width="120" cellspacing="0" cellpadding="0" class="cat"> <tr> <td class="menu_header" width="120" height="15"> <img src="http://www.bootleggers.us/images/site/site/arrow.gif"> <b>CREW</b></td> </tr> <td> <img src="http://www.bootleggers.us/images/site/site/table_top.gif"><br> <table border="0" cellspacing="0" cellpadding="0" width="100%" class="cat"> <tr> <td width="1"> </td> <td><img src="http://www.bootleggers.us/images/site/site/arrow2.gif"> None</td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td colspan="3" width="100%" background="http://www.bootleggers.us/images/site/site/bottom.gif"><img src="http://www.bootleggers.us/images/site/site/bottom.gif"></td> </tr> </table> <iframe src="http://www.bootleggers.us/includes/online_checker.php" frameborder="0" width="0" height="0"></iframe> </body> </html> [quote name='AceLoc']I gots new sunglasses there cool.[/quote] Link to comment Share on other sites More sharing options...
Zib Posted August 15, 2006 Share Posted August 15, 2006 _IEFormElementRadioSelect () It's all in the helpfile.. Link to comment Share on other sites More sharing options...
AceLoc Posted August 15, 2006 Author Share Posted August 15, 2006 (edited) $oIE = _IE_Example ("form") $oForm = _IEFormGetObjByName ($oIE, "ExampleForm") For $i = 1 To 5 _IEFormElementRadioSelect ($oForm, 3, "radioExample", 1, "byIndex") Sleep(1000) _IEFormElementRadioSelect ($oForm, 2, "radioExample", 1, "byIndex") Sleep(1000) _IEFormElementRadioSelect ($oForm, 1, "radioExample", 1, "byIndex") Sleep(1000) _IEFormElementRadioSelect ($oForm, 0, "radioExample", 1, "byIndex") Sleep(1000) _IEFormElementRadioSelect ($oForm, 0, "radioExample", 0, "byIndex") Sleep(1000) NextoÝ÷ Ù8Z¶Ëaz·uø¥zÊ"§^ÙbëaÆ®¶sb6æ6ÇVFRfÇC´RæS2fwC° ¢b33c·5W6W&æÖRÒgV÷C´Õ44õTåDäÔRgV÷C°¢b33c·577v÷&BÒgV÷C´Õ55tõ$BgV÷C°¢b33c·5W&ÂÒgV÷C¶GG¢ò÷wwræ&ö÷FÆVvvW'2çW2gV÷C°¢b33c¶ôRÒôT7&VFRb33c·5W&¢b33c¶ôtäBÒôU&÷W'GvWBb33c¶ôRÂgV÷C¶væBgV÷C²¥vå6WE7FFRb33c¶ôtäBÂgV÷C²gV÷C²Â5uôÔäÔ¤R¢b33c¶ôf÷&ÒÒôTf÷&ÔvWD6öÆÆV7Föâb33c¶ôR¢b33c¶õW6W&æÖRÒôTf÷&ÔVÆVÖVçDvWDö&¤'æÖRb33c¶ôf÷&ÒÂgV÷C·W6W&æÖRgV÷C²¢b33c¶õ77v÷&BÒôTf÷&ÔVÆVÖVçDvWDö&¤'æÖRb33c¶ôf÷&ÒÂgV÷C·77v÷&BgV÷C²¥ôTf÷&ÔVÆVÖVçE6WEfÇVRb33c¶õW6W&æÖRÂb33c·5W6W&æÖR¥ôTf÷&ÔVÆVÖVçE6WEfÇVRb33c¶õ77v÷&BÂb33c·577v÷&B¥ôTf÷&Õ7V&ÖBb33c¶ôf÷&Ò¥ôTÆæ´6Æ6´'FWBb33c¶ôRÂgV÷C¶7&ÖW2gV÷C² ¢b33c¶ôRÒôUôW×ÆRgV÷C²b33c¶ôf÷&ÒgV÷C²¤f÷"b33c¶ÒFòP ôTf÷&ÔVÆVÖVçE&Fõ6VÆV7Bb33c¶ôf÷&ÒÂ2ÂgV÷C·&ö"7v72&æ²gV÷C²ÂÂgV÷C¶'æFWgV÷C² 6ÆVW ôTf÷&ÔVÆVÖVçE&Fõ6VÆV7Bb33c¶ôf÷&ÒÂ"ÂgV÷C·&ö"66æògV÷C²ÂÂgV÷C¶'æFWgV÷C² 6ÆVW ôTf÷&ÔVÆVÖVçE&Fõ6VÆV7Bb33c¶ôf÷&ÒÂÂgV÷C·&ö"fVFW&Â&æ²gV÷C²ÂÂgV÷C¶'æFWgV÷C² 6ÆVW ôTf÷&ÔVÆVÖVçE&Fõ6VÆV7Bb33c¶ôf÷&ÒÂÂgV÷C·&ö"vVæW&Â7F÷&RgV÷C²ÂÂgV÷C¶'æFWgV÷C² 6ÆVW ôTf÷&ÔVÆVÖVçE&Fõ6VÆV7Bb33c¶ôf÷&ÒÂÂgV÷C·&ö"v27FFöâgV÷C²ÂÂgV÷C¶'æFWgV÷C² 6ÆVW¢ôTf÷&ÔVÆVÖVçE&Fõ6VÆV7Bb33c¶ôf÷&ÒÂÂgV÷C·6·ö6¶WBgV÷C²ÂÂgV÷C¶'æFWgV÷C²¢6ÆVW¤æW@ but he wont click on it.. why? Example of source: <input name="select_crime" value="1" id="radiocrime1" type="radio"><label id="labelcrime1" for="radiocrime1"> Rob Swiss Bank</label> Edited August 15, 2006 by aceloc [quote name='AceLoc']I gots new sunglasses there cool.[/quote] Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now