Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2019
666
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 3.20 KB | None | 0 0
  1. Send() Command (if zero flag) Resulting Keypress
  2. {!} !
  3. {#} #
  4. {+} +
  5. {^} ^
  6. {{} {
  7. {}} }
  8. {SPACE} SPACE
  9. {ENTER} ENTER key on the main keyboard
  10. {ALT} ALT
  11. {BACKSPACE} or {BS} BACKSPACE
  12. {DELETE} or {DEL} DELETE
  13. {UP} Up arrow
  14. {DOWN} Down arrow
  15. {LEFT} Left arrow
  16. {RIGHT} Right arrow
  17. {HOME} HOME
  18. {END} END
  19. {ESCAPE} or {ESC} ESCAPE
  20. {INSERT} or {INS} INS
  21. {PGUP} PageUp
  22. {PGDN} PageDown
  23. {F1} - {F12} Function keys
  24. {TAB} TAB
  25. {PRINTSCREEN} Print Screen key
  26. {LWIN} Left Windows key
  27. {RWIN} Right Windows key
  28. {NUMLOCK on} NUMLOCK (on/off/toggle)
  29. {CAPSLOCK off} CAPSLOCK (on/off/toggle)
  30. {SCROLLLOCK toggle} SCROLLLOCK (on/off/toggle)
  31. {BREAK} for Ctrl+Break processing
  32. {PAUSE} PAUSE
  33. {NUMPAD0} - {NUMPAD9} Numpad digits
  34. {NUMPADMULT} Numpad Multiply
  35. {NUMPADADD} Numpad Add
  36. {NUMPADSUB} Numpad Subtract
  37. {NUMPADDIV} Numpad Divide
  38. {NUMPADDOT} Numpad period
  39. {NUMPADENTER} Enter key on the numpad
  40. {APPSKEY} Windows App key
  41. {LALT} Left ALT key
  42. {RALT} Right ALT key
  43. {LCTRL} Left CTRL key
  44. {RCTRL} Right CTRL key
  45. {LSHIFT} Left Shift key
  46. {RSHIFT} Right Shift key
  47. {SLEEP} Computer SLEEP key
  48. {ALTDOWN} Holds the ALT key down until {ALTUP} is sent
  49. {SHIFTDOWN} Holds the SHIFT key down until {SHIFTUP} is sent
  50. {CTRLDOWN} Holds the CTRL key down until {CTRLUP} is sent
  51. {LWINDOWN} Holds the left Windows key down until {LWINUP} is sent
  52. {RWINDOWN} Holds the right Windows key down until {RWINUP} is sent
  53. {ASC nnnn} Send the ALT+nnnn key combination
  54. {BROWSER_BACK} Select the browser "back" button
  55. {BROWSER_FORWARD} Select the browser "forward" button
  56. {BROWSER_REFRESH} Select the browser "refresh" button
  57. {BROWSER_STOP} Select the browser "stop" button
  58. {BROWSER_SEARCH} Select the browser "search" button
  59. {BROWSER_FAVORITES} Select the browser "favorites" button
  60. {BROWSER_HOME} Launch the browser and go to the home page
  61. {VOLUME_MUTE} Mute the volume
  62. {VOLUME_DOWN} Reduce the volume
  63. {VOLUME_UP} Increase the volume
  64. {MEDIA_NEXT} Select next track in media player
  65. {MEDIA_PREV} Select previous track in media player
  66. {MEDIA_STOP} Stop media player
  67. {MEDIA_PLAY_PAUSE} Play/pause media player
  68. {LAUNCH_MAIL} Launch the email application
  69. {LAUNCH_MEDIA} Launch media player
  70. {LAUNCH_APP1} Launch user app1
  71. {LAUNCH_APP2} Launch user app2
  72. {OEM_102} Either the angle bracket key or the backslash key on the RT 102-key keyboard
  73.  
  74. Send("{TAB}") Navigate to next control (button, checkbox, etc)
  75. Send("+{TAB}") Navigate to previous control.
  76. Send("^{TAB}") Navigate to next WindowTab (on a Tabbed dialog window)
  77. Send("^+{TAB}") Navigate to previous WindowTab.
  78. Send("{SPACE}") Can be used to toggle a checkbox or click a button.
  79. Send("{+}") Usually checks a checkbox (if it's a "real" checkbox.)
  80. Send("{-}") Usually unchecks a checkbox.
  81. Send("{NumPadMult}") Recursively expands folders in a SysTreeView32.
  82.  
  83. Use Alt-key combos to access menu items. Also, open Notepad and try the following:
  84. Send("!f") Send() Alt+f, the access key for Notepad's file menu. Try other letters!
  85.  
  86. Send("{DOWN}") Move down a menu.
  87. Send("{UP}") Move up a menu.
  88. Send("{LEFT}") Move leftward to new menu or expand a submenu.
  89. Send("{RIGHT}") Move rightward to new menu or collapse a submenu.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement