Giáo Trình How To Use AutoIt A Professional Manner part 138
lượt xem 10
download
Tham khảo tài liệu 'giáo trình how to use autoit a professional manner part 138', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả
Bình luận(0) Đăng nhập để gửi bình luận!
Nội dung Text: Giáo Trình How To Use AutoIt A Professional Manner part 138
- 0419 Russian 044f Sanskrit 081a Serbian_Latin 0c1a Serbian_Cyrillic 041b Slovak 0424 Slovenian 040a Spanish_Traditional_Sort 080a Spanish_Mexican 0c0a Spanish_Modern_Sort 100a Spanish_Guatemala 140a Spanish_Costa_Rica 180a Spanish_Panama 1c0a Spanish_Dominican_Republic 200a Spanish_Venezuela 240a Spanish_Colombia 280a Spanish_Peru 2c0a Spanish_Argentina 300a Spanish_Ecuador 340a Spanish_Chile 380a Spanish_Uruguay 3c0a Spanish_Paraguay 400a Spanish_Bolivia 440a Spanish_El_Salvador 480a Spanish_Honduras 4c0a Spanish_Nicaragua 500a Spanish_Puerto_Rico 0441 Swahili 041d Swedish 081d Swedish_Finland
- 0449 Tamil 0444 Tatar 041e Thai 041f Turkish 0422 Ukrainian 0420 Urdu 0443 Uzbek_Latin 0843 Uzbek_Cyrillic 042a Vietnamese Example MsgBox(0, "Your OS Language:", _Language()) Func _Language() Select Case StringInStr("0413 0813", @OSLang) Return "Dutch" Case StringInStr("0409 0809 0c09 1009 1409 1809 1c09 2009 2409 2809 2c09 3009 3409", @OSLang) Return "English" Case StringInStr("040c 080c 0c0c 100c 140c 180c", @OSLang) Return "French" Case StringInStr("0407 0807 0c07 1007 1407", @OSLang) Return "German" Case StringInStr("0410 0810", @OSLang) Return "Italian" Case StringInStr("0414 0814", @OSLang) Return "Norwegian" Case StringInStr("0415", @OSLang)
- Return "Polish" Case StringInStr("0416 0816", @OSLang) Return "Portuguese" Case StringInStr("040a 080a 0c0a 100a 140a 180a 1c0a 200a 240a 280a 2c0a 300a 340a 380a 3c0a 400a 440a 480a 4c0a 500a", @OSLang) Return "Spanish" Case StringInStr("041d 081d", @OSLang) Return "Swedish" Case Else Return "Other (can't determine with @OSLang directly)" EndSelect EndFunc Send Key list Quick reference for the Send( "keys" [, flag] ) Command. ^ Ctrl ! Alt + Shift # Win AutoIt can send all ASCII and Extended ASCII characters (0-255), to send UNICODE characters you must use the "ASC" option and the code of the character you wish to Send(see {ASC} below). To send the ASCII value A (same as pressing ALT+065 on the numeric keypad) Send("{ASC 065}") (When using 2 digit ASCII codes you must use a leading 0, otherwise an obsolete 437 code page is used). To send UNICODE characters enter the character code, for example this sends a Chinese character Send("{ASC 2709}")
- Single keys can also be repeated, e.g. Send("{DEL 4}") ;Presses the DEL key 4 times Send("{S 30}") ;Sends 30 'S' characters Send("+{TAB 4}") ;Presses SHIFT+TAB 4 times To hold a key down (generally only useful for games) Send("{a down}") ;Holds the A key down Send("{a up}") ;Releases the A key If you with to use a variable for the count, try $n = 4 Send("+{TAB " & $n & "}") If you wish to send the ASCII value A four times, then try $x = Chr(65) Send("{" & $x & " 4}") Most laptop computer keyboards have a special Fn key. This key cannot be simulated. Note, by setting the flag parameter to 1 the "keys" parameter is sent RAW. This is useful when you want to send some text copied from a variable and you want the text sent exactly as written. Send is quite useful because windows can be navigated without needing a mouse. For example, open Folder Options (in the control panel) and try the following: Send("{TAB}") Navigate to next control (button, checkbox, etc) Send("+{TAB}") Navigate to previous control. Navigate to next WindowTab (on a Tabbed dialog Send("^{TAB}") window) Send("^+{TAB}") Navigate to previous WindowTab.
- Send("{SPACE}") Can be used to toggle a checkbox or click a button. Send("{+}") Usually checks a checkbox (if it's a "real" checkbox.) Send("{-}") Usually unchecks a checkbox. Send("{NumPadMult}") Recursively expands folders in a SysTreeView32. Use Alt-key combos to access menu items. Also, open Notepad and try the following: Send Alt+f, the access key for Notepad's file menu. Try other Send("!f") letters! Send("{DOWN}") Move down a menu. Send("{UP}") Move up a menu. Send("{LEFT}") Move leftward to new menu or expand a submenu. Send("{RIGHT}") Move rightward to new menu or collapse a submenu. See Windows' Help--press Win+F1--for a complete list of keyboard shortcuts if you don't know the importance of Alt+F4, PrintScreen, Ctrl+C, and so on. Send Command (if zero flag) Resulting Keypress {!} ! {#} # {+} + {^} ^ {{} { {}} } {SPACE} SPACE {ENTER} ENTER key on the main keyboard {ALT} ALT
CÓ THỂ BẠN MUỐN DOWNLOAD
-
Giáo Trình How To Use AutoIt A Professional Manner part 1
5 p | 275 | 90
-
Giáo Trình How To Use AutoIt A Professional Manner part 2
5 p | 190 | 62
-
Giáo Trình How To Use AutoIt A Professional Manner part 3
5 p | 151 | 52
-
Giáo Trình How To Use AutoIt A Professional Manner part 4
5 p | 148 | 41
-
Giáo Trình How To Use AutoIt A Professional Manner part 5
6 p | 118 | 34
-
Giáo Trình How To Use AutoIt A Professional Manner part 6
6 p | 143 | 31
-
Giáo Trình How To Use AutoIt A Professional Manner part 8
6 p | 127 | 31
-
Giáo Trình How To Use AutoIt A Professional Manner part 15
10 p | 110 | 29
-
Giáo Trình How To Use AutoIt A Professional Manner part 9
6 p | 124 | 29
-
Giáo Trình How To Use AutoIt A Professional Manner part 7
6 p | 107 | 29
-
Giáo Trình How To Use AutoIt A Professional Manner part 11
5 p | 120 | 28
-
Giáo Trình How To Use AutoIt A Professional Manner part 14
6 p | 104 | 27
-
Giáo Trình How To Use AutoIt A Professional Manner part 13
6 p | 118 | 27
-
Giáo Trình How To Use AutoIt A Professional Manner part 12
6 p | 117 | 27
-
Giáo Trình How To Use AutoIt A Professional Manner part 10
6 p | 114 | 27
-
Giáo Trình How To Use AutoIt A Professional Manner part 18
8 p | 90 | 19
-
Giáo Trình How To Use AutoIt A Professional Manner part 16
8 p | 99 | 17
-
Giáo Trình How To Use AutoIt A Professional Manner part 17
8 p | 102 | 17
Chịu trách nhiệm nội dung:
Nguyễn Công Hà - Giám đốc Công ty TNHH TÀI LIỆU TRỰC TUYẾN VI NA
LIÊN HỆ
Địa chỉ: P402, 54A Nơ Trang Long, Phường 14, Q.Bình Thạnh, TP.HCM
Hotline: 093 303 0098
Email: support@tailieu.vn