Tham khảo tài liệu 'it-programing help part 90', 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ả | MustDeclareV ars If this option is used then all variables must be pre-declared with Dim Local or Global before they can be used -removes the chance for misspelled variables causing bugs. 1 Variables must be pre-declared 0 Variables don t need to be pre-declared default OnExitFunc Sets the name of the function called when AutoIt exits default is OnAutoItExit . PixelCoordMode 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 0 relative coords to the defined window 1 absolute screen coordinates default 2 relative coords to the client area of the defined window SendAttachMode 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 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 SendCapslockMode Specifies if AutoIt should store the state of capslock before a Send function and restore it afterwards. 0 don t store restore 1 store and restore default SendKeyDelay Alters the the length of the brief pause in between sent keystrokes. A value of 0 removes the delay completely. Time in milliseconds to pause default 5 . SendKeyDownDelay 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 need to raise this value from the default. A value of 0 removes the delay completely. Time in milliseconds to pause default 5 . TCPTimeout Defines the time before TCP functions stop if no communication. Time in milliseconds before 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 .