$obj_imgs = _IEImgGetCollection($oIE, -1);获取网页图片对象集 For $obj_img In $obj_imgs;遍历图片集,获取符合条件的图片对象 If StringInStr($obj_img.src, "signup.cgi?show=verifynum") Then $Ele = $obj_img ExitLoop EndIf Next $oPic = $oIE.Document.body.createControlRange() $oPic.Add($Ele) $oPic.execCommand("Copy");复制到剪贴板 _ClipBoard_Open(0);从剪切板获取图片数据 $iVPics = _ClipBoard_GetDataEx($CF_BITMAP) _ClipBoard_Close()
举报
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2025-4-4 23:04 , Processed in 0.099517 second(s), 20 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2025 Discuz! Team.