V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
troyl
V2EX  ›  macOS

是否有用于直接在 Notification 上 Quick Reply 的快捷键,或者其他解决方案?

  •  
  •   troyl · 2013-11-15 03:14:59 +08:00 · 3708 次点击
    这是一个创建于 3822 天前的主题,其中的信息可能已经有所发展或是发生改变。
    每次有 iMessage 或者 Mail 的 Notification 的时候,都要把鼠标移过去点击才能进行相应的快捷操作(比如 Reply 或者 Delete),有没有快捷键的解决方案呢?

    我自己没找到,如果有高人知道,还请不吝告知。

    自己想的另一个解决方案是写一个 Keyboard Maestro 的 Global Marco,目前如下图:



    但这个 Marco 只能立刻打开 iMessage 的主界面,不能在 Notification 上快捷回复。

    我试过类似如下的 AppleScript,也是不行的,因为只有把鼠标移到 Notification 上,那个 Reply 的 Button 才会出现。

    tell application "System Events" to click button "Reply" of window 1 of process "Notification Center"

    这里真心求教,先行谢过。
    1 条回复    1970-01-01 08:00:00 +08:00
    fly2never
        1
    fly2never  
       2013-11-15 09:00:21 +08:00
    Keyboard Maestro应该可以实现吧,右上角坐标绝对定位,然后点击
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2265 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 07:47 · PVG 15:47 · LAX 00:47 · JFK 03:47
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.