0
  1. Trang chủ >
  2. Công Nghệ Thông Tin >
  3. Kỹ thuật lập trình >

Giáo Trình How To Use AutoIt A Professional Manner part 7 pptx

Giáo Trình How To Use AutoIt A Professional Manner part 7 pptx

Giáo Trình How To Use AutoIt A Professional Manner part 7 pptx

... 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 Điều này ... bằng cách sử dụng WinWaitActive chức năng. Nhiều nhất c a sổ liên quan đến chức năng trong AutoIt mất một c a sổ Titlt như là một tham số. Nhập sau đây như là dòng thứ hai trong các tập lệnh...
  • 6
  • 387
  • 0
Giáo Trình How To Use AutoIt A Professional Manner part 17 pptx

Giáo Trình How To Use AutoIt A Professional Manner part 17 pptx

... 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 ... pham vi hàm đó và đc khai báo khi thực hiện hàm và bị x a khi hàm kết thúc Chú ý: mặc định autoit dùng biến ko cần khai báo trước, nhưng bạn cũng cod thể thay đổi điều này bằng AutoItSetOption("MustDeclareVars",...
  • 8
  • 270
  • 0
Giáo Trình How To Use AutoIt A Professional Manner part 22 pptx

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 ... Msgbox(0,"DirGetSize-Info","Size(Bytes):" & $size[0] & @LF _ & "Files:" & $size[1] & @LF & "Dirs:" & $size[2] & @LF _ & "TimeDiff(Sec):" & $diff) EndIf...
  • 7
  • 312
  • 0
Giáo Trình How To Use AutoIt A Professional Manner part 23 pptx

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: Returns 0 if a new mapping could ... share The remote share to connect to in the form "\\server\share". flags [optional] A combination of the following: 0 = default 1 = Persistent mapping 8 = Show authentication...
  • 8
  • 218
  • 0
Giáo Trình How To Use AutoIt A Professional Manner part 24 pptx

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" ) Parameters ... "Total Space on C:", $var & " MB") Function Reference DriveStatus trả lại tình trạng c a ổ đ a DriveStatus ( "path" ) Parameters path ổ đ a Return...
  • 7
  • 254
  • 0
Giáo Trình How To Use AutoIt A Professional Manner part 28 pptx

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, PrivateBuild, ... OriginalFilename, SpecialBuild Or a special one "CompiledScript" which is set for a compiled script. FileGetVersion(@AutoItExe, "CompiledScript") will return "AutoIt...
  • 7
  • 233
  • 0
Giáo Trình How To Use AutoIt A Professional Manner part 44 pptx

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 dialog box that when ... Parameters filename tên file icon iconName tên icon hoặc số thứ tự c a icon trong file icon nếu trong file icon có #include <GUIConstantsEx.au3> Opt('MustDeclareVars',...
  • 6
  • 227
  • 0
Giáo Trình How To Use AutoIt A Professional Manner part 51 pptx

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 $msg = $radio2 ... GUICtrlCreateRadio("Radio 1", 10, 10, 120, 20) $radio2 = GUICtrlCreateRadio("Radio 2", 10, 40, 120, 20) GUICtrlSetState($radio2, $GUI_CHECKED) GUISetState() ; will display an...
  • 7
  • 237
  • 0
Giáo Trình How To Use AutoIt A Professional Manner part 55 pptx

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) ... <GUIConstantsEx.au3> Opt('MustDeclareVars', 1) Example() Func Example() Local $date, $del, $msg GUICreate("My GUI delete control", 200, 200, 800, 200) $date...
  • 6
  • 239
  • 0
Giáo Trình How To Use AutoIt A Professional Manner part 76 pptx

Giáo Trình How To Use AutoIt A Professional Manner part 76 pptx

... [advanced] ) Parameters advanced [optional] return extended information in an array. 0 = (default) Returns a single event. 1 = returns an array containing the event and extended information. ... to 1. If the option GUIEventOptions is set to 1 the minimize, restore and maximize button will not do any action on the window just a simple notification. Remarks This function automatically ... secondary mouse button was released. $GUI_EVENT_RESIZED dialog box has been resized. $GUI_EVENT_DROPPED End of a Drag&Drop action @GUI_DRAGID, @GUI_DRAGFILE and @GUI_DROPID will be used to...
  • 5
  • 272
  • 0
Giáo Trình How To Use AutoIt A Professional Manner part 82 pptx

Giáo Trình How To Use AutoIt A Professional Manner part 82 pptx

... 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't store/restore ... timeout (default=100). TrayAutoPause Script pauses when click on tray icon. 0 = no pause 1 = pause (default). If there is no DefaultMenu no pause will occurs. TrayIconDebug If enabled shows the ... should briefly pause after a successful window-related operation. Time in milliseconds to pause (default=250). Related Many! Example ; copy any you want to change ;default value is listed...
  • 5
  • 207
  • 0
Giáo Trình How To Use AutoIt A Professional Manner part 91 pptx

Giáo Trình How To Use AutoIt A Professional Manner part 91 pptx

... Opt("PixelCoordMode", 1) ;1=absolute, 0=relative, 2=client Opt("SendAttachMode", 0) ;0=don't attach, 1=do attach Opt("SendCapslockMode", 1) ;1=store and restore, 0=don't Opt("SendKeyDelay", ... BitOR bit or. BitOR ( value1, value2 [, value n] ) Parameters value1 số 1 value2 số 1 value n số n Return Value số. Remarks Bit or là thực hiện phép or đối với các bit c a các tham ... = 3.14159265358979 $radToDeg = 180 / $pi $y = ASin(1) * $radToDeg ;arcsine of 1 returns 90° Function Reference ATan tính arc tag. ATan ( expression ) Parameters expression biểu...
  • 10
  • 277
  • 0
Giáo Trình How To Use AutoIt A Professional Manner part 106 pptx

Giáo Trình How To Use AutoIt A Professional Manner part 106 pptx

... if a variable is an array type. IsArray ( variable ) Parameters variable The variable/expression to check. Return Value Success: Returns 1. Failure: Returns 0 if parameter is not an ... is not an array variable. Remarks Can be useful to validate array/non-array parameters to user-defined functions. Related IsFloat, IsInt, IsString, IsNumber, IsBool, IsHWnd Example $b ... variable can be found. Remarks If there is a need to use IsDeclared() to check that a variable exists, then in most situations Assign() should be used to create/write to the variable and Eval()...
  • 8
  • 261
  • 0
Giáo Trình How To Use AutoIt A Professional Manner part 127 pptx

Giáo Trình How To Use AutoIt A Professional Manner part 127 pptx

... AutoItSetOption Changes the operation of various AutoIt functions/parameters. AutoItSetOption ( "option" [, param] ) Parameters option The option to change. See Remarks. param ... option to its default value. Return Value Returns the value of the previous setting for the option. Remarks You may use Opt() as an alternative to AutoItSetOption(). AutoIt will halt with ... this option allows you to use variables and macros inside strings, e.g., "The value of var1 is $var1$". 1 = expand variables (when in this mode and you want to use a literal $ or @...
  • 6
  • 356
  • 0
Giáo Trình How To Use AutoIt A Professional Manner part 136 pptx

Giáo Trình How To Use AutoIt A Professional Manner part 136 pptx

... Vista Abadi MT Condensed Light x Arial x x x x x x x Arial Alternative Regular x Arial Alternative Symbol x Arial Black x x x x x Book Antiqua x x x Calibri ... of a vertical trackbar. $TBS_RIGHT 0x0000 Places ticks on the right side of a vertical trackbar. $TBS_TOP 0x0004 Places ticks on the top of a horizontal trackbar. ListView Styles Value ... the trackbar. $TBS_BOTTOM 0x0000 Places ticks on the bottom of a horizontal trackbar. $TBS_HORZ 0x0000 Specifies a horizontal trackbar. This is the default. $TBS_VERT 0x0002 Places ticks...
  • 5
  • 265
  • 0

Xem thêm

Từ khóa: how to use its a tenhow to use its a 10how to use itunes home sharing on windows 7how to use remote desktop connection between windows 7 and xphow to use windows remote desktop connection windows 7 home premiumhow to use remote desktop connection manager windows 7Nghiên cứu sự biến đổi một số cytokin ở bệnh nhân xơ cứng bì hệ thốngNghiên cứu tổ chức pha chế, đánh giá chất lượng thuốc tiêm truyền trong điều kiện dã ngoạiđề thi thử THPTQG 2019 toán THPT chuyên thái bình lần 2 có lời giảiGiáo án Sinh học 11 bài 13: Thực hành phát hiện diệp lục và carôtenôitGiáo án Sinh học 11 bài 13: Thực hành phát hiện diệp lục và carôtenôitPhát triển mạng lưới kinh doanh nước sạch tại công ty TNHH một thành viên kinh doanh nước sạch quảng ninhTrả hồ sơ điều tra bổ sung đối với các tội xâm phạm sở hữu có tính chất chiếm đoạt theo pháp luật Tố tụng hình sự Việt Nam từ thực tiễn thành phố Hồ Chí Minh (Luận văn thạc sĩ)Phát hiện xâm nhập dựa trên thuật toán k meansNghiên cứu tổng hợp các oxit hỗn hợp kích thƣớc nanomet ce 0 75 zr0 25o2 , ce 0 5 zr0 5o2 và khảo sát hoạt tính quang xúc tác của chúngNghiên cứu khả năng đo năng lượng điện bằng hệ thu thập dữ liệu 16 kênh DEWE 5000Thiết kế và chế tạo mô hình biến tần (inverter) cho máy điều hòa không khíKiểm sát việc giải quyết tố giác, tin báo về tội phạm và kiến nghị khởi tố theo pháp luật tố tụng hình sự Việt Nam từ thực tiễn tỉnh Bình Định (Luận văn thạc sĩ)Quản lý nợ xấu tại Agribank chi nhánh huyện Phù Yên, tỉnh Sơn La (Luận văn thạc sĩ)Tăng trưởng tín dụng hộ sản xuất nông nghiệp tại Ngân hàng Nông nghiệp và Phát triển nông thôn Việt Nam chi nhánh tỉnh Bắc Giang (Luận văn thạc sĩ)Giáo án Sinh học 11 bài 15: Tiêu hóa ở động vậtNguyên tắc phân hóa trách nhiệm hình sự đối với người dưới 18 tuổi phạm tội trong pháp luật hình sự Việt Nam (Luận văn thạc sĩ)Giáo án Sinh học 11 bài 14: Thực hành phát hiện hô hấp ở thực vậtGiáo án Sinh học 11 bài 14: Thực hành phát hiện hô hấp ở thực vậtĐổi mới quản lý tài chính trong hoạt động khoa học xã hội trường hợp viện hàn lâm khoa học xã hội việt namMÔN TRUYỀN THÔNG MARKETING TÍCH HỢP