zemkor Posted May 3, 2015 Posted May 3, 2015 Hello all, i have another question.My script not working, how is it correct ?Need script for this: If is Input 2 empty then call function odoslat() Else call function obrazok2()Thanks for help Func obrazok1() Local $oForm = _IEFormGetObjByName ($oIE, "formpridani") $obrazok1 = GUICtrlRead($Input1) $obrazok2 = GUICtrlRead($Input2) $oUpload = _IEGetObjByName($oForm, "souborp") Sleep (500) _IEAction($oUpload, "focus") Send("{SPACE}") Sleep (500) Send($obrazok1) Send("{Enter}") If $obrazok2 = (0) Then Call ("odoslat") Else Call ("obrazok2") EndIf EndFunc
Factfinder Posted May 3, 2015 Posted May 3, 2015 If Not $obrazok2 Then odoslat() Else obrazok2() EndIf
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