title: Using applescript to open a page in notion (on Mac)
body: <p>I am trying to set up a script to open a specific page in the notion app. So far I've tried the following:</p>
  <pre><code>tell application &quot;Safari&quot;
      activate
      tell window 1
          set current tab to (make new tab with properties {URL:&quot;notion://www.notion.so/Focus-Mode-5eca2183453748d3b5acaa8e7292ef83&quot;})
      end tell
  end tell
  </code></pre>
  <p>but Safari requires that you give permission to open the app. Is there anyway to get around this? If not, is there anyway to open the page in Notion without having to go through Safari?</p>