如何让python模拟按键脚本能输入到游戏
1个回答
展开全部
INPUT TYPE=;text; NAME=;crystalcount; value=; INPUT type=;this.className=.tagName) = ;INPUT。
vTag.Select ;也可以没有这个
vTag.Click :
TD.Type = ;button; And vTag.Value = ;最大值; Then ;找到确定按钮.crystalcount.value=3960;; 你现有500万.className=;btn1_mouseover;100; size=10 maxlenh=10:document.f1.All(i)
If vTag;btn1_mouseout; value=;最大值;button, URL As Variant)
Set vDoc = WebBrowser1.Document
For i = 0 To vDoc.All.lenh - 1 ;检测所有标签
If UCase(vDoc.All(i); onmouseout=; class=btn1_mouseout onmouseover=;this;; Then ;找到input标签
Set vTag = vDoc;;
代码:
Private Sub WebBrowser1_DocumentComplete(ByVal pDisp As Object; onclick=;javascript;TD;点击提交了内容
vTag.Select ;也可以没有这个
vTag.Click :
TD.Type = ;button; And vTag.Value = ;最大值; Then ;找到确定按钮.crystalcount.value=3960;; 你现有500万.className=;btn1_mouseover;100; size=10 maxlenh=10:document.f1.All(i)
If vTag;btn1_mouseout; value=;最大值;button, URL As Variant)
Set vDoc = WebBrowser1.Document
For i = 0 To vDoc.All.lenh - 1 ;检测所有标签
If UCase(vDoc.All(i); onmouseout=; class=btn1_mouseout onmouseover=;this;; Then ;找到input标签
Set vTag = vDoc;;
代码:
Private Sub WebBrowser1_DocumentComplete(ByVal pDisp As Object; onclick=;javascript;TD;点击提交了内容
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询