Lore archive · Warcraft Wiki, 2023 dump
MACRO click
Last wiki revision 2018-11-26
Simulates a click on a button widget, triggering its PreClick/OnClick/PostClick script handlers. /click [options] WidgetName MouseButton Down
The function accepts the following three values separated by whitespace:
- WidgetName : Name of a widget to click. The widget must be a Button, or a subclass of Button.
- MouseButton : Optional - The button to simulate a click with, defaulting to LeftButton. Arbitrary values can be used, and will be passed to the script handlers and returned by during the simulated click.
- Down : Optional - If the first character of this value is "t", or this value is a number greater or equal than 1, a held click will be simulated ( in the relevant handlers); otherwise, a released click will be simulated . For convenience, use 1 for the former, and 0 for the latter behavior.
- This command calls.
- If the specified widget is already handling a click event (user-initiated or simulated), this command will be silently ignored.
Source
https://warcraft.wiki.gg/wiki/MACRO_click · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.