nguyenquan Posted March 18, 2012 Posted March 18, 2012 (edited) hello, I have aGUIinterface, I'mnewbieso Ido notknow how to writecodeto operateit.Expect peoplebeing told. I'm very grateful. #include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Form=c:documents and settingstruonggiang_spcdesktopform1.kxf $Form1_1 = GUICreate("Adf.ly Bot 2012 v1.0-by Nguyen Quan", 337, 202, 349, 250) $link1 = GUICtrlCreateInput("link1", 8, 32, 153, 21) $link2 = GUICtrlCreateInput("link2", 8, 56, 153, 21) $link3 = GUICtrlCreateInput("link3", 8, 80, 153, 21) $link4 = GUICtrlCreateInput("link4", 8, 104, 153, 21) $link5 = GUICtrlCreateInput("link5", 8, 128, 153, 21) $Start = GUICtrlCreateButton("Start", 32, 160, 97, 33) $Link = GUICtrlCreateLabel("Link", 8, 8, 36, 17) GUICtrlSetFont(-1, 10, 400, 0, "Lucida Console") $Edit1 = GUICtrlCreateEdit("", 176, 32, 153, 113) GUICtrlSetData(-1, "Edit1") $Proxy = GUICtrlCreateLabel("Proxy", 176, 8, 38, 20) GUICtrlSetFont(-1, 10, 400, 0, "MS Sans Serif") $Pause = GUICtrlCreateButton("Pause", 197, 159, 97, 33) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ###[/b][/color][/font][/indent] [font="arial, sans-serif"][color="#333333"][b]While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit[/b][/color][/font] [font="arial, sans-serif"][color="#333333"][b] Case $link1 Case $Edit1 EndSwitch WEnd[/b][/color][/font] [font="arial, sans-serif"][color="#333333"][b] Edited March 18, 2012 by nguyenquan
Moderators Melba23 Posted March 19, 2012 Moderators Posted March 19, 2012 nguyenquan, Do not double post. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
Recommended Posts