Makalele Posted April 2, 2010 Posted April 2, 2010 (edited) ; heyah sms #include <IE.au3> $PrefixToSelect = "880" $PhoneNumber = "123456" $Message = "example text" $Signature = "Makalele" $oIE = _IECreate ("http://sms.priv.pl/",0,1,1,0) $oForm = _IEFormGetObjByName ($oIE, "bramka") $oPref = _IEFormElementGetObjByName ($oForm, "siec") _IEFormElementOptionselect ($oPref, $PrefixToSelect, 1, "byText") $oNumber = _IEFormElementGetObjByName ($oForm, "number2") _IEFormElementSetValue ($oNumber, $PhoneNumber) $oMessage = _IEFormElementGetObjByName ($oForm, "tresc") _IEFormElementSetValue ($oMessage, $Message) $oSignature = _IEFormElementGetObjByName ($oForm, "od") _IEFormElementSetValue ($oSignature, $Signature)Hi there! Up here is my simple code. It has to simply send sms. But i don't know how to click button "Wyślij SMS" (eng. "Send SMS"). It has no name. That's what i found:<input type="submit" class="btn" value="Wyślij SMS !" alt="Wyślij" src="/sms.szyderca.com/images/wyslij_sms.jpg" onclick="return nom();">Plz help me how to click it oOedit: FormSubmit doesn't work too. Edited April 2, 2010 by Makalele
jvanegmond Posted April 2, 2010 Posted April 2, 2010 You can find the object by numerating, look at the function _IEFormElementGetCollection (or similar). Also this part is Javascript: onclick="return nom();" You can run the function nom by doing this: _IENavigate($oIE, "javascript:nom();") github.com/jvanegmond
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