Setting Default Browser

So I have this command that I can run in my terminal that sets the default browser to a browser of my choosing.

007225@2x

osascript "/Users/XXX/Library/Mobile Documents/com~apple~CloudDocs/Home/[03] – Resources/Scripts/ChangeBrowser.scpt" browser

Although trying to use this command with any of the Terminal or Shell script commands within BetterTouchTool seems to yield no change, even though running it in a Terminal works perfectly fine.

Is there any reason that BetterTouchTool is failing to execute this command and have it work functionally, or am I doing something wrong?

best use BTT‘s built in action for changing the default browser. This is most likely some permission issue

I have tried that before, but it was unsuccessful in changing the default browser. I also granted BetterTouchTool the maximum permissions on my system, including accessibility, app management, input monitoring, and full disk access.

Still nothing. My benchmark is when pressing a link in a separate application that that link will open in the browser that the command sets. Till now, none of the three methods I have tried have worked.

you haven’t entered the scheme (http://) that you want to change the default browser for. This is inportant with the BTT action.

Thanks, this solved it. Had previously tried https://, guess the s ruins it, thanks :saluting_face: