quimao Posted March 31, 2016 Posted March 31, 2016 (edited) i have a problem for making a action click button "all" in this webpage :http://mixupload.com/en/styles/house. Actually, my knowledge is limited, sorry about that Edited March 31, 2016 by quimao
Danyfirex Posted March 31, 2016 Posted March 31, 2016 Hi. You can do something like this. #include <IE.au3> Local $oIE = _IECreate("http://mixupload.com/en/styles/house") Local $aArray = _IEGetObjByClass($oIE, "fltr_button switcher all right", "a") Local $oAll = $aArray[1] _IEAction($oAll,"click") Func _IEGetObjByClass($oIE, $sClass, $sTag = "*") Local $aRet[1] = [0] Local $allHTMLTags = _IETagNameGetCollection($oIE, $sTag) For $o In $allHTMLTags If IsString($o.className) And $o.className = $sClass Then $aRet[0] += 1 ReDim $aRet[$aRet[0] + 1] $aRet[$aRet[0]] = $o EndIf Next Return $aRet EndFunc ;==>_IEGetObjByClass Saludos quimao 1 Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut
quimao Posted March 31, 2016 Author Posted March 31, 2016 Danyfirex OH MY GOD, why your funtion is not added to the AutoIt? it's so amazing and it worked very fine. Thank for your help
Danyfirex Posted March 31, 2016 Posted March 31, 2016 It is not mine. Glad to help you. Saludos Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut
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