Skip to content

Instantly share code, notes, and snippets.

@Windos
Created February 17, 2019 20:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Windos/b6695e6e0dd9e98d8ca64f45d9a974ab to your computer and use it in GitHub Desktop.
Save Windos/b6695e6e0dd9e98d8ca64f45d9a974ab to your computer and use it in GitHub Desktop.
# For cliackable toast, the toast element needs an activationtype set to protocol and a "launch" argument set to the thing to launch
# (be that a website or file, etc.)
# Example with BurntToast: https://king.geek.nz/2017/05/08/crouton-clickable/
<?xml version="1.0" encoding="utf-8"?>
<toast activationType="protocol" launch="https://google.com">
<visual>
<binding template="ToastGeneric">
<text>Google!</text>
<text>Clicking this will open Google.</text>
</binding>
</visual>
</toast>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment