美文网首页
将当前 Google Chrome 标签页发送至Reminder

将当前 Google Chrome 标签页发送至Reminder

作者: 双双 | 来源:发表于2014-11-27 13:15 被阅读0次

将当前 Google Chrome 标签页发送至Reminders
tags: macOS, AppleScript, Chrome, Reminder

tell application "Google Chrome"
    -- 获取当前标签页的标题
    set tabname to get title of active tab of window 1
    -- 获取当前标签页的超链接地址
    set taburl to get URL of active tab of window 1
    
    tell application "Reminders"
        -- 创建新提醒
        set newremin to make new reminder
        -- 给新提醒标题赋值
        set name of newremin to tabname
        -- 给新提醒内容赋值
        set body of newremin to taburl
    end tell
end tell

相关文章

网友评论

      本文标题:将当前 Google Chrome 标签页发送至Reminder

      本文链接:https://www.haomeiwen.com/subject/uulvtttx.html