

Using the -s mode when submitting can help to have better rights on the remote computer. Send() even with Opt("SendAttachMode", 1) will not work. When running a script on a remote computer through a program as psexec (or beyondexec (it is necessary, specially when sending strokes to a program launch by the script with a Run() function, to use ControlSend() or other ControlXXX functions to directly communicate with the control. Move rightward to new menu or collapse a submenu. Move leftward to new menu or expand a submenu.

Send("!f") Send() Alt+f, the access key for Notepad's file menu. Also, open Notepad and try the following: Recursively expands folders in a SysTreeView32. Usually checks a checkbox (if it's a "real" checkbox.) Navigate to next WindowTab (on a Tabbed dialog window)Ĭan be used to toggle a checkbox or click a button. Navigate to next control (button, checkbox, etc) This is useful when you want to send some text copied from a variable and you want the text sent exactly as written.įor example, open Folder Options (in the control panel) and try the following: Note, by setting the flag parameter to 1 the above "special" processing will be disabled. Most laptop computer keyboards have a special Fn key. If you wish to send the ASCII value A four times, then try If you wish to use a variable for the count, try To send UNICODE characters you must use the "ASC" option and the code of the character you wish to send (see ") Toggles the state of ScrollLock AutoIt can send all ASCII and Extended ASCII characters (0-255). See the Appendix for some tips on using Send(). $SEND_DEFAULT (0) = Text contains special characters like + and ! to indicate SHIFT and ALT key-presses (default).Ĭonstants are defined in "3". Sends simulated keystrokes to the active window.
