tailieunhanh - AutoI Technology Curriculum Book part 117
Tham khảo tài liệu 'autoi technology curriculum book part 117', 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ả | Return Value Success Returns 1. Failure Returns 0 if window is not found. Remarks This function sends a close message to a window the result depends on the window it may ask to save data etc. . To force a window to close use the WinKill function. If multiple windows match the criteria the window that was most recently active is closed. Related WinActivate WinExists WinKill WinSetState WinTitleMatchMode Option Example WinClose CLASS Notepad Function Reference AutoItSetOption Changes the operation of various AutoIt functions parameters. AutoItSetOption option param Parameters option The option to change. See Remarks. param 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 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 . Autolt will halt with an error message if the requested option is unknown. Options are as follows Option Param CaretCoordMode Sets the way coords are used in the caret functions either absolute coords or coords relative to the current active window 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 . The temp directory is temp . 1 expand environment variables similar to Autolt v2 0 do not expand environment variables default Without this option the usual way would be The temp directory is EnvGet temp ExpandV arStrings Changes how literal strings and variable macro and @ symbols are interpreted. By default strings are treated literally this option allows you to use
đang nạp các trang xem trước