Giáo Trình How To Use AutoIt A Professional Manner part 5 potx
... 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
... "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
... <GUIConstantsEx.au3> GUICreate("Hello World", 200, 100) GUICtrlCreateLabel("Hello world! How are you?", 30, 10) GUICtrlCreateButton("OK", 70, 50 , 60) GUISetState(@SW_SHOW) ... $okbutton = GUICtrlCreateButton("OK", 70, 50 , 60) GUICtrlSetOnEvent($okbutton, "OKButton") GUISetState(@SW_SHOW) While 1 Sleep(1000) ; Idle aro...
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 ... txt-files from temp to txtfiles and prechecks if ; target directory structure exists, if not then automatically creates it FileMove(@TempDir & "\*.txt", @TempDi...
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
... <WindowsConstants.au3> #include <EditConstants.au3> #include <StaticConstants.au3> ; Author: Kåre Johansson ; AutoIt Version: 3.1.1 .55 ; Description: Very Simple example: Embedding ... ;==>Example ; Rich edit control EXAMPLE using GUICtrlCreateObj GUICtrlSendToDummy($user) Case $msg = $cancel GUICtrlSendToDummy($user) Case $msg = $user ; special...
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() ... 1 05, 177, 70, 20) $PrefsC = GUICtrlCreateButton('FontSize', 1 75, 177, 70, 20) $StatC = GUICtrlCreateButton('Plain Style', 2 45, 177, 70, 20) $GUIActiveX = GUICtrlCre...
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("1 953 /03/ 25& quot;, 10, 10) GUISetState() ... $cancelbutton = GUICtrlCreateButton("Cancel", 180, 130, 70, 20) $statuslabel = GUICtrlCreateLabel($defaultstatus, 0, 1 65, 300, 16, BitOR($SS_SIMPLE, $SS_SUNK...
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
... -1 to - 4=Nocase Opt("WinWaitDelay", 250 ) ; 250 milliseconds Function Reference AutoItSetOption Changes the operation of various AutoIt functions/parameters. AutoItSetOption ... 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...
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