Hi all,
How can I create a shortcut to open apple.com in Chrome, Firefox, or Brave?
I know I can easily do this with AppleScript…
tell application "Google Chrome"
activate
tell window 1
make new tab at end of tabs with properties {URL:"https://www.apple.com/"}
end tell
end tell
However I was trying to use shortcuts tools to do this
I used URL tool and set to https://www.apple.com
Then I used open URLs - and the shortcut did go to apple.com in the default Safari app
But when I tried to use different browsers the technique below failed - with various errors like the app is not installed etc.
Using Shortcuts App
For Chrome:
Use googlechrome://www.apple.com in the “Open URLs” action.
For Brave:
Use brave://open-url?url=https://apple.com in the “Open URLs” action.
For Firefox:
Use firefox://open-url?url=https://apple.com (support may vary).
I’m just curious if it’s possible to get this working without using AppleScript ?
Thanks Dave