I'm working on an Apple Script that handles URLs. There's a command one can give which re-creates the list that Safari shows to change the default web browser.
Anyone know what this is?
If you saved your AppleScript as application and declared that it can handle the
Launch Services will then pick up the change automatically. You will need to restart Safari to update the browser list.