YOMEDIA
ADSENSE
AutoIT Help part 36
63
lượt xem 3
download
lượt xem 3
download
Download
Vui lòng tải xuống để xem tài liệu đầy đủ
Tham khảo tài liệu 'autoit help part 36', 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ả
AMBIENT/
Chủ đề:
Bình luận(0) Đăng nhập để gửi bình luận!
Nội dung Text: AutoIT Help part 36
- Function Reference AutoItSetOption Changes the operation of various AutoIt functions/parameters. AutoItSetOption ( "option" [, param] ) Parameters option The option to change. See Remarks. [optional] The value to assign to the option. The type and meaning vary by option. See remarks below. If the param is not provided, then param the function just returns the value already assigned to the option. The keyword Default can be used for the parameter to reset the 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 an error message if the requested option is unknown. Options are as follows: Option Param Sets the way coords are used in the caret functions, either absolute coords or coords relative to the current active window: CaretCoordMode 0 = relative coords to the active window 1 = absolute screen coordinates (default) 2 = relative coords to the client area of the active window ExpandEnvStrings Changes how literal strings and % symbols are
- interpreted. By default strings are treated literally, this option allows you to use %environment% variables inside strings, e.g., "The temp directory is: %temp%". 1 = expand environment variables (similar to AutoIt v2) 0 = do not expand environment variables (default) Without this option the usual way would be: "The temp directory is: " & EnvGet("temp") Changes how literal strings and variable/macro ($ and @) symbols are interpreted. By default strings are treated literally, this option allows you to use variables and macros inside strings, e.g., "The value of var1 is $var1$". ExpandVarStrings 1 = expand variables (when in this mode and you want to use a literal $ or @ then double it up: "This is a single dollar $$ sign". 0 = do not expand variables (default) Changes how FTP files are transferred. FtpBinaryMode 1 = Binary (default) 0 = ASCII When ESC is pressed on a GUI the $GUI_EVENT_CLOSE message is sent. This option toggles this behavior on and off. GUICloseOnESC 1 = Send the $GUI_EVENT_CLOSE message when ESC is pressed (default). 0 = Don't send the $GUI_EVENT_CLOSE message when ESC is pressed. Alters the position of a control defined by GUICtrlSetPos. 1 = absolute coordinates (default) still relative to the dialog box. 0 = relative position to the start of the last control (upper GUICoordMode left corner). 2 = cell positionining relative to current cell. A -1 for left or top parameter don't increment the start. So next line is -1,offset; next cell is offset,-1; current cell is -1,-1. Obviously "offset" cannot be -1 which reserved to indicate the no increment. But if you can use a multiple of
- the width you choose to skip or go back. Define the character which delimits subitems in GUIDataSeparatorChar GUICtrlSetData. The default character is '|'. Enable/disable OnEvent functions notifications. GUIOnEventMode 0 = (default) disable. 1 = enable. Change default resizing for a control. GUIResizeMode 0 = (default) keep default control resizing.
- 0 = Variables don't need to be pre-declared (default) Sets the name of the function called when AutoIt exits OnExitFunc (default is OnAutoItExit). Sets the way coords are used in the pixel functions, either absolute coords or coords relative to the window defined by hwnd (default active window): PixelCoordMode 0 = relative coords to the defined window 1 = absolute screen coordinates (default) 2 = relative coords to the client area of the defined window Specifies if AutoIt attaches input threads when using Send() function. When not attaching (default mode=0) detecting the state of capslock/scrolllock and numlock can be unreliable under NT4. However, when you specify attach mode=1 the Send("{... down/up}") syntax will not SendAttachMode work and there may be problems with sending keys to "hung" windows. ControlSend() ALWAYS attaches and is not affected by this mode. 0 = don't attach (default) 1 = attach Specifies if AutoIt should store the state of capslock before a Send function and restore it afterwards. SendCapslockMode 0 = don't store/restore 1 = store and restore (default) Alters the the length of the brief pause in between sent SendKeyDelay keystrokes. A value of 0 removes the delay completely. Time in milliseconds to pause (default=5). Alters the length of time a key is held down before being released during a keystroke. For applications that take a while to register keypresses (and many games) you may SendKeyDownDelay need to raise this value from the default. A value of 0 removes the delay completely. Time in milliseconds to pause (default=5). Defines the time before TCP functions stop if no TCPTimeout communication. Time in milliseconds before timeout (default=100).
- Script pauses when click on tray icon. 0 = no pause TrayAutoPause 1 = pause (default). If there is no DefaultMenu no pause will occurs. If enabled shows the current script line in the tray icon tip to help debugging. TrayIconDebug 0 = no debug information (default) 1 = show debug Hides the AutoIt tray icon. Note: The icon will still initially appear ~750 milliseconds. TrayIconHide 0 = show icon (default) 1 = hide icon Extend the behaviour of the script tray icon/menu. This can be done with a combination (adding) of the following values. 0 = default menu items (Script Paused/Exit) are appended to the usercreated menu; usercreated checked items will automatically unchecked; if you double click the tray icon then the controlid is returned which has the "Default"- TrayMenuMode style (default). 1 = no default menu 2 = user created checked items will not automatically unchecked if you click it 4 = don't return the menuitemID which has the "default"- style in the main contextmenu if you double click the tray icon 8 = turn off auto check of radio item groups Enable/disable OnEvent functions notifications for the tray. TrayOnEventMode 0 = (default) disable 1 = enable Specifies if hidden window text can be "seen" by the window matching functions. WinDetectHiddenText 0 = Do not detect hidden text (default) 1 = Detect hidden text Allows the window search routines to search child WinSearchChildren windows as well as top-level windows.
- 0 = Only search top-level windows (default) 1 = Search top-level and child windows
ADSENSE
CÓ THỂ BẠN MUỐN DOWNLOAD
Thêm tài liệu vào bộ sưu tập có sẵn:
Báo xấu
LAVA
AANETWORK
TRỢ GIÚP
HỖ TRỢ KHÁCH HÀNG
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