danielbag Posted July 11, 2010 Posted July 11, 2010 I need help. How to click the followings? <DIV class="" id=itemClassBazaar_role_item_shop_50617 style="MARGIN-TOP: 0px; MARGIN-LEFT: 0px; POSITION: absolute"> <DIV onmouseup="var itemType = this.getAttribute ( 'item_type' ); itemClassBazaar.setCurrentItem ( itemType, 50617 ); itemClassBazaar.viewItem ( itemType, 50617 )" class=role_item onmousedown="var itemType = this.getAttribute ( 'item_type' ); itemClassBazaar.setCurrentItem ( itemType, 50617 ); itemClassBazaar.startDrag ( itemType, 50617 );" style="BACKGROUND-IMAGE: url(); WIDTH: 52px; HEIGHT: 78px" titleContent="<table class='item_detail_table' style='border:none'> <tr> <th><span style='color:'>精钢战甲</span></th> </tr> <tr> <td><ul class='item_details'> <li>装备类型:<span class='highlight'>上装</span></li> <li>绑定类型:<span class='highlight'>装备后绑定</span></li> <li>护甲类型:<span class='highlight'>重甲</span></li> <li>适用派系:<span class='highlight'><span style='color:#89ff60'>破坏系</span> <span style='color:'>防护系</span> <span style='color:'>剑宗系</span> </span></li> <li>防御力:<span class='highlight'>127</span></li> <li>耐久度:<span class='highlight'>90/90</span></li> <li><span class='special'>可使用【七彩石】锻造提升强化次数上限</span></li> <li>单价:<span class='highlight'>11,825 铜币</span></li><li>等级需求:<span style='color:#89ff60'>Lv.26</span></li><li>职位需求:<span style='color:#89ff60'>武士</span></li><li>性别需求:<span style='color:#89ff60'>男性</span></li><li>属性需求:臂力 <span style='color:#89ff60'>47</span> 身法 <span style='color:#89ff60'>27</span> </li> </ul></td> </tr> <tr><td class='special'>< 点击鼠标右键直接购买 ></td></tr></table>" item_type="shop"></DIV></DIV>
Sobiech Posted July 12, 2010 Posted July 12, 2010 I dont see nothing by this code, but try use FF.au3 (FireFox.au3) in Example Scripts There you can find sth for this or _IECreate("link") but this should open new window :f This world is crazy
danielbag Posted July 14, 2010 Author Posted July 14, 2010 Hi Sobiech, thank you for replying. I am tring something like: $oQuery =_IEGetObjById() _IEAction($oQuery ,"click") But it does not work, can anybody help me with this?
PsaltyDS Posted July 15, 2010 Posted July 15, 2010 What did you put between the parentheses in _IEGetObjById()? Is that code inside a form or frame element? Did you examine it with a DOM inspector to see what the container elements it might be inside? A few lines of bad, unformatted, unreadable HTML is not enough to help you with. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
HalH Posted July 15, 2010 Posted July 15, 2010 Hey danielbag, what exactly are you trying to click on there. You have a div in div and the inner div has all sorts of table cells in it. Also have you considered using a ControlClick() mouse emulation rather then using the IE controls as it looks like the system is using Javascript to detect mousedown/mouseup.
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