Giáo Trình How To Use AutoIt A Professional Manner part 120 pot
... [optional] The text of the window to read. Return Value Success: Returns a value indicating the state of the window. Multiple values are added together so use BitAND() to examine the part ... Parameters title [optional] The title of the window to read. text [optional] The text of the window to read. Return Value Returns an array of matching window titles and handle...
Ngày tải lên: 08/07/2014, 21: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
... "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
Giáo Trình How To Use AutoIt A Professional Manner part 12 potx
... <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 around...
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 37 pot
... only changes the wave volume for the script. It can not be used to change the wave volume of other programs. Related Earlier versions of AutoIt (prior to v3.0.102) used the BGR format for ... ko tìm thấy Remarks The search is performed left -to- right, top -to- bottom and the first match is returned. Earlier versions of AutoIt (prior to v3.0.102) used the BGR format for...
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() ... SvenP" & @CRLF & 'Try write some text and quit to reload' ;.FileName = @ScriptDir & '\RichText.rtf' ;.BackColor = 0xff00 EndWith GUISetState();Sho...
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
... GUICtrlCreateMenu, GUICtrlCreateContextMenu Example #include <GUIConstantsEx.au3> #include <StaticConstants.au3> Opt('MustDeclareVars', 1) Example() Func Example() ... Local $defaultstatus, $status, $filemenu, $fileitem, $helpmenu, $saveitem Local $infoitem, $exititem, $recentfilesmenu, $separator1, $viewmenu Local $viewstatusitem, $okbutton, $cancelbut...
Ngày tải lên: 08/07/2014, 20:20