将当前 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