This guide outlines steps to create a custom dialer for Google Chrome on macOS, i.e. opening specific URLs with simple keyboard shortcuts.
The goal is to recreate Safari's affordance of ⌘1 opening your 1st bookmark, ⌘2 opening your 2nd bookmark, etc.
- Install BetterTouchTool
- Enter the application-specific triggers section for Google Chrome
- Create a trigger with keyboard shortcut e.g.
⌘1
with the actionRun Apple Script (blocking)
, configured to the source type "Apple Script" with the following example contents
set theUrl to "https://example.com"
tell application "Google Chrome"
set URL of active tab of front window to theUrl
end tell