Giáo Trình How To Use AutoIt A Professional Manner part 111 potx
... Remarks You may use Opt() as an alternative to AutoItSetOption(). AutoIt will halt with an error message if the requested option is unknown. Options are as follows: Option Param CaretCoordMode ... don't attach (default) 1 = attach SendCapslockMode Specifies if AutoIt should store the state of capslock before a Send function and restore it afterwards. 0 = don&ap...
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 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
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