Giáo Trình How To Use AutoIt A Professional Manner part 9 potx
... "Example", "$var was greater than 10") Case $var > 20 AND $var <= 30 MsgBox(0, "Example", "$var was greater than 20") Case $var > 30 AND $var <= 40 ... Int($var) Case 1 To 10 MsgBox(0, "Example", "$var was greater than 1") Case 11 To 20 MsgBox(0, "Example", "$var was greater than 10&...
Ngày tải lên: 08/07/2014, 20:20
... IfWinActive If WinActive( ) Then IfWinNotActive If Not WinActive( ) Then IfEqual [see = and == operators] IfNotEqual [see <> operator] IfGreater [see > operator] IfGreaterOrEqual ... ở v3 AdlibOn AdlibEnable BlockInput BlockInput Break Break DetectHiddenText AutoItSetOption("WinDetectHiddenText", ) Exit Exit EnvAdd [see + operator] EnvDiv [see / operator] ... l...
Ngày tải lên: 08/07/2014, 20:20
... thống sự kiện ID @GUI_WINHANDLE handle c ủ a GUI đang s ả y ra s ự ki ệ n @GUI_CTRLHANDLE handle c ủ a control đang s ả y ra s ự ki ệ n Chú ý: Đó là hoàn to n hợp pháp để sử dụng ... $okbutton = GUICtrlCreateButton("OK", 70, 50, 60) GUICtrlSetOnEvent($okbutton, "OKButton") GUISetState(@SW_SHOW) While 1 Sleep(1000) ; Idle around WEnd Func OK...
Ngày tải lên: 08/07/2014, 20:20
Giáo Trình How To Use AutoIt A Professional Manner part 29 potx
... FileMove("C:\foo.au3", "D:\mydir\bak.au3") ; Second example: ; uses flags '1' (owerwriting) and '8' (autocreating target dir structure) together ; moves all txt-files ... temp to txtfiles and prechecks if ; target directory structure exists, if not then automatically creates it FileMove(@TempDir & "\*.txt", @TempDir & "\...
Ngày tải lên: 08/07/2014, 20:20
Giáo Trình How To Use AutoIt A Professional Manner part 41 potx
... <GUIConstantsEx.au3> #include <DateTimeConstants.au3> Opt('MustDeclareVars', 1) Example1() Example2() Example3() ; example1 Func Example1() Local $date, $msg ... DllStructGetData($stPoint, 1) $y = DllStructGetData($stPoint, 2) ; release Struct not really needed as it is a local $stPoint = 0 EndFunc ;==>ClientToScreen ; Show at the given co...
Ngày tải lên: 08/07/2014, 20:20
Giáo Trình How To Use AutoIt A Professional Manner part 42 potx
... Opt('MustDeclareVars', 1) Global $oMyError Example() RichEditExample() Func Example() Local $myedit, $msg GUICreate("My GUI edit") ; will create a dialog box ... ;==>Example ; Rich edit control EXAMPLE using GUICtrlCreateObj GUICtrlSendToDummy($user) Case $msg = $cancel GUICtrlSendToDummy($user) Case $msg = $user ; special action befor...
Ngày tải lên: 08/07/2014, 20:20
Giáo Trình How To Use AutoIt A Professional Manner part 43 potx
... <StaticConstants.au3> Opt('MustDeclareVars', 1) Global $MAXGr = 6, $del Global $a[ $MAXGr + 1] ; 0 and $MAXGr entries not used to allow GUICtrlDelete result Example() ... GUICtrlSetFont($TagsPageC, 9, 400, 4) GUICtrlSetColor($TagsPageC, 0x0000ff) GUICtrlSetCursor($TagsPageC, 0) $AboutC = GUICtrlCreateButton('About', 105, 177, 70, 20) $PrefsC = G...
Ngày tải lên: 08/07/2014, 20:20
Giáo Trình How To Use AutoIt A Professional Manner part 48 potx
... Opt('MustDeclareVars', 1) Example() Func Example() Local $Date, $msg GUICreate("Get date", 210, 190 ) $Date = GUICtrlCreateMonthCal(" 195 3/03/25", 10, 10) GUISetState() ... GUICtrlCreateMenu, GUICtrlCreateContextMenu Example #include <GUIConstantsEx.au3> #include <StaticConstants.au3> Opt('MustDeclareVars', 1) Ex...
Ngày tải lên: 08/07/2014, 20:20
Giáo Trình How To Use AutoIt A Professional Manner part 70 potx
... lower case match according to other type of match. WinWaitDelay Alters how long a script should briefly pause after a successful window-related operation. Time in milliseconds to pause (default=250). ... -1 to - 4=Nocase Opt("WinWaitDelay", 250) ;250 milliseconds Function Reference AutoItSetOption Changes the operation of various AutoIt functions/param...
Ngày tải lên: 08/07/2014, 21:20
Giáo Trình How To Use AutoIt A Professional Manner part 79 potx
... & $Msg & @LF & _ "wParam" & @TAB & ":" & $wParam & @LF & _ "lParam" & @TAB & ":" & $lParam & @LF & ... value the AutoIt internal message handler (if there is one for this message) will NOT be proceed! !!! If you want AutoIt to run it's internal handler for a message, return the var...
Ngày tải lên: 08/07/2014, 21:20