Panel Shown / Closed
Starts the macro when a panel comes on the screen (Show Panel in any macro) or when it closes: by one of its buttons, its X, Hide Panel or the emergency stop. Showing a panel that's already open doesn't count. When it closes, Button says which button closed it, so a window panel's OK and Cancel can start different work.
Settings
| Setting | Starts as | What it does |
|---|---|---|
| Panel | empty | Its name; * matches anything. Leave it empty for any panel. |
| When | Shown |
|
| Button | empty | Only when this button closed it (its name). Leave it empty for any way it closed. |
Outputs
| Panel | The panel's name. |
|---|---|
| Button | When it closed: the name of the button that closed it; empty when its window was closed, MacroWin closed it, or it was shown. |
Build macros with Panel Shown / Closed in MacroWin. Free to download, no account needed. Windows 10 and 11.
Download