hs.alert.defaultStyle[]
hs.alert.closeAll([seconds])
fadeOutDuration
value currently defined in the hs.alert.defaultStyle​hs.alert.closeSpecific(uuid, [seconds])
fadeOutDuration
value currently defined in the hs.alert.defaultStyle​hs.alert.show(str, [style], [screen], [seconds]) -> uuid
hs.styledtext
object to display in the alertstr
is already an hs.styledtext
object, this argument is ignored.hs.screen
userdata object specifying the screen (monitor) to display the alert on. Defaults to hs.screen.mainScreen()
which corresponds to the screen with the currently focused window.style
has not previously been set, then the table is assigned to style
screen
has not previously been set, then the userdata is assigned to screen
duration
has not been set, then it is assigned the value of the argumentseconds
you will need to store the string identifier returned by this function so that you can close it manually with hs.alert.closeSpecific
when the alert should be removed.style
argument table will use the value currently defined in the hs.alert.defaultStyle table.