Giáo Trình How To Use AutoIt A Professional Manner part 3 ppt
... phải vào file .au3 Cách 3: xem trong file help gốc nhé, 2 cách trên là đủ rồi AutoIt Window Information Tool Start menu > All program > AutoIt > AutoIt Window Info C a sổ tiêu đề ... và công cụ đi kèm AutoIt SciTe c a AutoIt Team phát triển đã tạo ra một phiên bản đầy đủ SciTe với cú pháp nổi bật mà còn tích hợp các công cụ c a AutoIt (như cú pháp kiểm tra và l...
Ngày tải lên: 08/07/2014, 20:20
... khác. Ngôn ngữ Tham khảo - Datatypes Automating Khi các ứng dụng AutoIt có thể kiểm tra xem có tiêu đề c a sổ để nó biết c a sổ cần làm việc với. Với Notepad là tiêu đề c a c a sổ, rõ ràng Untitled ... Ví dụ: $Boolean1 = true $Boolean2 = false $Boolean3 = $Boolean1 AND $Boolean2 Điều này sẽ cho kết quả $Boolean3 = False $ Boolean1 = false $ Boolean2 = Not $ boolean1...
Ngày tải lên: 08/07/2014, 20:20
... Example 2 - Declaring arrays Dim $weeklyWorkSchedule[$_daysWorking] Global $chessBoard[8][8] Local $mouseCoordinates[2], $windowStats[4] ; Example 3 - Declaring constant variables Const $x1 ... ra một biến hằng và ko thể thay đổi giá trị c a nó ; Example 1 - Declaring variables Dim $x, $y = 23, $z Global $_PI = 3.14159, $RADIUS Local $_daysWorking = 5 ; Example 2 - Declaring...
Ngày tải lên: 08/07/2014, 20:20
Giáo Trình How To Use AutoIt A Professional Manner part 22 pptx
... DriveGetFileSystem, DriveGetLabel, DriveGetSerial, DriveGetType, DriveSetLabel, DriveSpaceFree, DriveSpaceTotal, DriveStatus Example $var = DriveGetDrive( "all" ) If NOT @error ... & $var[0] & " drives") For $i = 1 to $var[0] MsgBox(4096,"Drive " & $i, $var[$i]) Next EndIf DirRemove ( "path" [, recurse] ) Parameters path...
Ngày tải lên: 08/07/2014, 20:20
Giáo Trình How To Use AutoIt A Professional Manner part 23 pptx
... "LPT1:". If you pass a blank string for this parameter a connection is made but not mapped to a specific drive. If you specify "*" an unused drive letter will be automatically selected. ... 1. Remarks "domain\username". password [optional] The password to use to connect. Return Value Success: Returns 1. (See Remarks) Failure: Retur...
Ngày tải lên: 08/07/2014, 20:20
Giáo Trình How To Use AutoIt A Professional Manner part 24 pptx
... a. Also, FAT32 partition labels tend to revert to all capital letters. Related DriveGetDrive, DriveGetFileSystem, DriveGetLabel, DriveGetSerial, DriveGetType, DriveSpaceFree, DriveSpaceTotal, ... space on C:", $var & " MB") Function Reference DriveSpaceTotal trả lại tổng dung lượng c a ổ đ a (tính = Megabytes). DriveSpaceTotal ( "path" ) Par...
Ngày tải lên: 08/07/2014, 20:20
Giáo Trình How To Use AutoIt A Professional Manner part 28 pptx
... Another special stringname is "DefaultLangCodepage" can be used to retrieve the default language and codepage. The language and codepage can be used if needed to differentiate ... @error to 1. Remarks stringname can be the basic one as : Comments, InternalName, ProductName, CompanyName, LegalCopyright, ProductVersion, FileDescription, LegalTrademarks, PrivateBuil...
Ngày tải lên: 08/07/2014, 20:20
Giáo Trình How To Use AutoIt A Professional Manner part 33 ppt
... $sData) ; Demonstrate creating a new section using an array as input. $aData1 = IniReadSection($sIni, "Section1") ; Read in what we just wrote above. For $i = 1 To UBound($aData1) ... $aData1[$i][1] &= "-" & $i ; Change the data some Next IniWriteSection($sIni, "Section2", $aData1) ; Write to a new section. ; Demonstrate creating an ar...
Ngày tải lên: 08/07/2014, 20:20
Giáo Trình How To Use AutoIt A Professional Manner part 40 ppt
... <GUIConstantsEx.au3> #include <ButtonConstants.au3> Opt('MustDeclareVars', 1) Example1() Example2() ; **************** ; * First sample * ; **************** Func Example1() ... Example #include <GUIConstantsEx.au3> Opt('MustDeclareVars', 1) Example() Func Example() Local $checkCN, $msg GUICreate("My GUI Checkbox")...
Ngày tải lên: 08/07/2014, 20:20
Giáo Trình How To Use AutoIt A Professional Manner part 44 pptx
... GUICtrlCreateGraphic(150, 10, 50, 50, 0) GUICtrlSetBkColor(-1, 0xa0ffa0) GUICtrlSetGraphic(-1, $GUI_GR_MOVE, 20, 20) ; start point ; it is better to draw line and after point ; to avoid to switch ... ) Parameters text text hiện trị sẵn trên control left t a độ X Func Example() Local $radio_1, $radio_2, $msg GUICreate("My GUI group") ; will create a dialo...
Ngày tải lên: 08/07/2014, 20:20
Giáo Trình How To Use AutoIt A Professional Manner part 51 pptx
... Opt('MustDeclareVars', 1) Example() Func Example() Local $radio1, $radio2, $msg GUICreate("My GUI radio") ; will create a dialog box that when displayed is centered $radio1 ... Case $msg = $radio1 And BitAND(GUICtrlRead($radio1), $GUI_CHECKED) = $GUI_CHECKED MsgBox(64, 'Info:', 'You clicked the Radio 1 and it is Checked.') Case...
Ngày tải lên: 08/07/2014, 20:20
Giáo Trình How To Use AutoIt A Professional Manner part 53 ppt
... initialization $compinfo = GUICtrlCreateLabel("Name:" & @TAB & @ComputerName & @LF & "OS:" & @TAB & @OSVersion & @LF & "SP:" & ... Local $treeview, $generalitem, $displayitem, $aboutitem, $compitem Local $useritem, $resitem, $otheritem, $startlabel, $aboutlabel Local $compinfo, $togglebutton, $infobutton, $statebutton,...
Ngày tải lên: 08/07/2014, 20:20
Giáo Trình How To Use AutoIt A Professional Manner part 55 pptx
... = 2 Then $val1 = StringRight($val1, 4) & StringMid($val1, 4, 2) & StringLeft($val1, 2) $val2 = StringRight($val2, 4) & StringMid($val2, 4, 2) & StringLeft($val2, 2) EndIf ... with selfcreated GUI listview items. Related GUICtrlCreateListView Example #include <GUIConstantsEx.au3> #include <ListViewConstants.au3> Opt('MustDeclareVars', 1) .....
Ngày tải lên: 08/07/2014, 20:20
Giáo Trình How To Use AutoIt A Professional Manner part 57 ppt
... Radio or Progress controls cannot be painted if the "Windows XP style" is used. Button controls are always painted in "Windows Classic style". Earlier versions of AutoIt ... Func Example() Local $msg GUICreate("My GUI background color") ; will create a dialog box that when displayed is centered GUICtrlCreateLabel("my label", 10, .....
Ngày tải lên: 08/07/2014, 20:20
Giáo Trình How To Use AutoIt A Professional Manner part 59 ppt
... trong suốt Related GUICtrlCreateGraphic Example #include <GUIConstantsEx.au3> #include <StaticConstants.au3> Opt('MustDeclareVars', 1) Global $MAXGr = 6, $del, ... $child Global $a[ $MAXGr + 1] ; 0 and $MAXGr entries not used to allow GUICtrlDelete result Example() Func Example() Local $msg, $inc, $i, $del1 GUICreate("My Main", -1...
Ngày tải lên: 08/07/2014, 20:20