跳至主要內容
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?

4563博客

全新的繁體中文 WordPress 網站
  • 首頁
  • 请问 windows 平台下有类似的“通知程序”吗?
未分類
23 8 月 2020

请问 windows 平台下有类似的“通知程序”吗?

请问 windows 平台下有类似的“通知程序”吗?

資深大佬 : watermelon11 11

项目在部署平台上编译部署时间比较久,一般都是切换去做别的事情,想有一个本地程序能配置 webhooks,接受持续集成平台的部署完成推送,程序收到推送后右下角弹出提示框。 大概需求就是如此,不知道 V 友们是否了解到有没有现成的可用?感谢~~~ 或者有没有别的替代方案可以及时收到部署完成的通知?(本身持续集成没有继承任何通知功能,只有 webconsole 中的日志提示,但是 webhooks 是有的)

大佬有話說 (8)

  • 資深大佬 : ysc3839

    Git for Windows 有带一个命令行工具 wintoast,可以通过命令行显示通知。
    $ wintoast –help
    WinToast Console Example [OPTIONS]
    –action : Set the actions in buttons
    –aumi : Set the App User Model Id
    –appname : Set the default appname
    –appid : Set the App Id
    –expirems : Set the default expiration time
    –text : Set the text for the notifications
    –image : set the image path
    –only-create-shortcut : create the shortcut for the app
    –help : Print the help description

  • 資深大佬 : lychs1998

    直接发邮件

  • 資深大佬 : execute

    你要的可是这个? https://developer.mozilla.org/zh-CN/docs/Web/API/Notification

  • 主 資深大佬 : watermelon11

    @ysc3839 谢谢,这个挺好的,稍微改一下就能完成我的需求了

  • 資深大佬 : x66

    from win10toast import ToastNotifier
    toaster = ToastNotifier()
    toaster.show_toast(“Hello World!!!”,
    “Python is 10 seconds awsm!”,
    icon_path=”custom.ico”,
    duration=10)

  • 資深大佬 : xomix

    Windows 内置消息通知序列,通过 api 你可用发送你想要的任何通知

  • 資深大佬 : imn1

    powershell 就有,一年没写忘了

  • 資深大佬 : zzk1989

    “Server 酱”,推送到微信不是更方便吗?

文章導覽

上一篇文章
下一篇文章

AD

其他操作

  • 登入
  • 訂閱網站內容的資訊提供
  • 訂閱留言的資訊提供
  • WordPress.org 台灣繁體中文

51la

4563博客

全新的繁體中文 WordPress 網站
返回頂端
本站採用 WordPress 建置 | 佈景主題採用 GretaThemes 所設計的 Memory
4563博客
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?
在這裡新增小工具