我正在尝试设置一个脚本来打开概念应用程序中的特定页面。
tell application "Safari"
activate
tell window 1
set current tab to (make new tab with properties {URL:"notion://www.notion.so/Focus-Mode-5eca2183453748d3b5acaa8e7292ef83"})
end tell
end tell
但 Safari 要求您授予打开应用程序的权限。有没有办法解决这个问题?如果没有,有没有办法在 Notion 中打开页面而不必通过 Safari?
它可以更简单:我在玩你的解决方案,发现即使你不能在字典中找到这些命令,它们仍然存在:
tell application "Notion"
open location "notion:page:Focus-Mode-5eca2183453748d3b5acaa8e7292ef83"
end tell
我想出了一个解决方案-这是痛苦的明显...
tell application "Notion"
open location "notion://www.notion.so/Focus-Mode-5eca2183453748d3b5acaa8e7292ef83"
end tell
本站系公益性非盈利分享网址,本文来自用户投稿,不代表码文网立场,如若转载,请注明出处
评论列表(48条)