HADE Posted June 7, 2019 Posted June 7, 2019 Hi Now I am using google translate, I can't help it. I have this function and it does not work, please help me Func signin () _IEFormElementSetValue ($ email, "GUICtrlRead ($ Dien)") EndFunc expandcollapse popup#include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #include<IE.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Form1", 408, 346, 192, 124) $Label1 = GUICtrlCreateLabel("Spam Unlock 641 Very Flash", 8, 32, 377, 40) GUICtrlSetFont(-1, 24, 400, 0, "Times New Roman") GUICtrlSetColor(-1, 0xFF0000) $Dien = GUICtrlCreateInput("Điền Mail Trắng Vào Đây", 8, 120, 169, 21) $Label2 = GUICtrlCreateLabel("Email:", 8, 96, 208, 17) $Label3 = GUICtrlCreateLabel("Họ Và Tên:", 8, 152, 207, 17) $ten = GUICtrlCreateInput("Điền Tên Vào Đây", 8, 176, 161, 21) $Ngay = GUICtrlCreateLabel("Ngày Tháng Năm Sinh:", 8, 216, 173, 17) $nam = GUICtrlCreateInput("Năm", 8, 240, 41, 21) $thang = GUICtrlCreateInput("Tháng", 56, 240, 49, 21) $Ngay = GUICtrlCreateInput("Ngày", 112, 240, 41, 21) $Button11 = GUICtrlCreateButton("Chạy", 16, 288, 75, 25, $WS_GROUP) $Label4 = GUICtrlCreateLabel("Nguyễn Trường Sơn", 248, 320, 148, 17) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $button11 signin() _IELoadWait($son) EndSwitch WEnd Call ("signin") Func signin () Global $son = _IECreate("https://mbasic.facebook.com/help/contact/255904741169641", 0, 1, 1) Local $button1 = _IEGetObjByid($son,"261033887423161.1") _IEAction ($button1,"click") Local $button2 = _IEGetObjByName($son,"button_val[Next]") _IEAction ($button2,"click") _IELoadWait($son) Local $email = _IEGetObjByName ($son,"email") _IEFormElementSetValue ($email," GUICtrlRead($Dien)") EndFunc
FrancescoDiMuro Posted June 7, 2019 Posted June 7, 2019 @HADE Don't declare Global variables in functions, and remove double quotes around the GUICtrlRead(). Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette
HADE Posted June 7, 2019 Author Posted June 7, 2019 22 minutes ago, FrancescoDiMuro said: @HADE Don't declare Global variables in functions, and remove double quotes around the GUICtrlRead(). I do it inactive you can write it down
FrancescoDiMuro Posted June 7, 2019 Posted June 7, 2019 @HADE If you mean to write some code (which is not the case), you can do it your own Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette
HADE Posted June 7, 2019 Author Posted June 7, 2019 2 minutes ago, FrancescoDiMuro said: @HADE If you mean to write some code (which is not the case), you can do it your own thanks it work
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