Jump to content

khanh3t

Members
  • Posts

    9
  • Joined

  • Last visited

khanh3t's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. if you want seft script restart, can you use it. It work with me Func _restart() ShellExecute(@ScriptName) Exit EndFunc ;==>_restart
  2. i had same problem, any help me how to capture browser ( now active ) to image or capture element on browser with postion from iepropertyget func.
  3. I want create GUI have many windows IE but they don't share cookies and history. and i try del cookies on GUI create by func _IECreateEmbedded but not succeed. Anyone help me on problem, thank you so much.
  4. my code run ok, set value ok, but value not display in text area i'll try the PsaltyDS's way
  5. this is code of text area <div class="controlbar" style="padding-right: 8px;"> <fieldset style="border: 0px none; margin: 0px; padding: 0px;"> <textarea name="message" id="vB_Editor_QR_textarea" rows="10" cols="60" style="width: 100%; height: 100px; display: none;" tabindex="1" dir="ltr"></textarea> <iframe style="border: 2px inset; width: 100%; height: 100px;" tabindex="1" id="vB_Editor_QR_iframe"></iframe></fieldset> <!--width:540px--> </div> <input name="wysiwyg" id="vB_Editor_QR_mode" value="1" type="hidden"> <input name="styleid" value="0" type="hidden"> <script type="text/javascript"> <!-- vB_Editor['vB_Editor_QR'] = new vB_Text_Editor('vB_Editor_QR', 1, '73', '1'); var QR_EditorID = 'vB_Editor_QR'; //--> </script> </div> <fieldset class="fieldset" style="margin: 3px 0px 0px;"> <legend>Tùy Chọn</legend> <div style="padding: 3px;"> <div style="float: right;"><label for="cb_signature"><input name="signature" value="1" id="cb_signature" tabindex="5" checked="checked" type="checkbox">kèm theo chữ ký</label></div> <label for="qr_quickreply"><input disabled="disabled" name="quickreply" value="1" id="qr_quickreply" accesskey="w" tabindex="4" type="checkbox">kèm theo trích dẫn của bài trên.</label> </div> </fieldset> </div> </div> <div style="margin-top: 6px;"> <input name="fromquickreply" value="1" type="hidden"> <input name="s" value="" type="hidden"> <input name="securitytoken" value="1244648084-dd0228cdf9a50dc53f0bac75edb778bf33ec1f35" type="hidden"> <input name="do" value="postreply" type="hidden"> <input name="t" value="959598" id="qr_threadid" type="hidden"> <input name="p" value="who cares" id="qr_postid" type="hidden"> <input name="parseurl" value="1" type="hidden"> <input name="loggedinuser" value="100113420" type="hidden"> <input class="button" value="Gởi Trả Lời" accesskey="s" title="(Alt + S)" name="sbutton" tabindex="2" id="qr_submit" onclick="clickedelm = this.value" type="submit"> <input class="button" value="Nâng cao" accesskey="x" title="(Alt + X)" name="preview" tabindex="3" id="qr_preview" onclick="clickedelm = this.value" type="submit"> </div> http://www.5giay.vn #include <IE.au3> $oIE = _IECreate ("http://www.5giay.vn/showthread.php?p=18959425#post18959425") $oForm = _IEFormGetObjByName ($oIE, "vbform") $oText = _IEFormElementGetObjByName ($oForm, "message") _IEFormElementSetValue ($oText, '2134234243243243243243243243243243243243243243242432432432432432') $oText=_IEFormElementGetValue ( $oText ) MsgBox(0,"",$oText) when i set message ok but it not display in text area anybody answer how to set value for message ? thank
  6. i have try it, but i found in code this button have 3 button name "OtqPADwbLTYLXqwpl", first and third button is hidden, want to submit must click second button have code <input value="Gửi" name="HbQySMknEPGPPBC" style="font-family: Arial; font-size: 10pt;" onclick="java script: return confirmTL();" type="submit"> not <input name="MethodType" value="QuickReply" type="hidden"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input value="Gửi" name="HbQySMknEPGPPBC" type="hidden"> anybody help me func to get object by name second button or get object collection by name _IEGetObjByName ( ByRef $o_object, $s_Id [, $i_index = 0] ) Optional: If name of id occurs more than once, specifies instance by 0-based index 0 (Default) or positive integer returns an indexed instance -1 returns a collection of the specified objects i don't mean if set $i_index=-1
  7. This is source button <input value="Gửi" name="OtqPADwbLTYLXqwpl" style="font-family: Arial; font-size: 10pt;" onclick="java script: return confirmTL();" type="submit"> function confirmTL(){ var objMsg = document.getElementById("Message"); if(objMsg != null){ var objValue = objMsg.value; objValue = objValue.replace(' ',''); if(objValue != ''){ //alert('Xác nhận gửi trả lời !'); return true; }else{ alert('Chưa nhập nội dung trả lời.'); objMsg.focus(); return false; } } return false; } i think want to click this button must mouse onclick, but i try $oForm2 = _IEGetObjByName ($oIE, 'OtqPADwbLTYLXqwpl') $oForm2.fireEvent('onclick') _IEAction ($oForm2 , "click") anybody help me this question, thx for all
  8. i want get value replys/views of this web : http://muare.vn/forum/ThoiTrang.ttvn but no function to get all value obj ID= 'tdStickyCount' anybody help me
×
×
  • Create New...