pyrevit.forms.toaster¶
Base module for pushing toast messages on Win 10.
This module is a wrapper for a cli utility that provides toast message functionality. See https://github.com/go-toast/toast
-
pyrevit.forms.toaster.
get_toaster
()¶ Return full file path of the toast binary utility.
-
pyrevit.forms.toaster.
send_toast
(message, title=None, appid=None, icon=None, click=None, actions=None)¶ Send toast notificaton.
Parameters: - message (str) – notification message
- title (str) – notification title
- appid (str) – application unique id (see –app-id cli option)
- icon (str) – notification icon (see –icon cli option)
- click (str) – click action (see –activation-arg cli option)
- (dict[str (actions) – str]): list of actions (see –action and –action-arg cli options)