Simple on-screen alerts
| Signature | hs.alert.defaultStyle[] |
|---|---|
| Type | Variable |
| Description | A table defining the default visual style for the alerts generated by this module. |
| Source | extensions/alert/alert.lua line 17 |
| Signature | hs.alert.closeAll([seconds]) |
|---|---|
| Type | Function |
| Description | Closes all alerts currently open on the screen |
| Parameters |
|
| Returns |
|
| Source | extensions/alert/alert.lua line 284 |
| Signature | hs.alert.closeSpecific(uuid, [seconds]) |
|---|---|
| Type | Function |
| Description | Closes the alert with the specified identifier |
| Parameters |
|
| Returns |
|
| Notes |
|
| Source | extensions/alert/alert.lua line 300 |
| Signature | hs.alert.show(str, [style], [screen], [seconds]) -> uuid |
|---|---|
| Type | Function |
| Description | Shows a message in large words briefly in the middle of the screen; does tostring() on its argument for convenience. |
| Parameters |
|
| Returns |
|
| Notes |
|
| Source | extensions/alert/alert.lua line 263 |
| Signature | hs.alert.showWithImage(str, image, [style], [screen], [seconds]) -> uuid |
|---|---|
| Type | Function |
| Description | Shows an image and a message in large words briefly in the middle of the screen; does tostring() on its argument for convenience. |
| Parameters |
|
| Returns |
|
| Notes |
|
| Source | extensions/alert/alert.lua line 220 |