Actions

Create Notification

Creates and shows a native notification.


Flash Frame

<figure><img src="https://909455594-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC8kwY8yODXmNxAtaN0Ej%2Fuploads%2FdH15YcgN1TLw6jRr41X5%2Fimage.png?alt=media&token=370fa244-20ec-431c-9e3e-14b61fd1d955" alt=""><figcaption></figcaption></figure> Flashes the frame in the taskbar to get the user's attention.

On macOS, this causes the application icon to "bounce". Additionally, on macOS, this action only works if the window isn't currently focused.


Set Badge Count

<figure><img src="https://909455594-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC8kwY8yODXmNxAtaN0Ej%2Fuploads%2FBLsrEhedjlN1ddavuvvw%2Funnamed.png?alt=media&token=7ccaeda6-a21f-4c02-b651-29e936486675" alt=""><figcaption></figcaption></figure> Sets the counter badge for current app. Setting the count to 0 will hide the badge.