

"$SWDA" setHandler -app "$MAIL" -URL mailto "$SWDA" setHandler -app "$BROWSER" -UTI public.xhtml # "$SWDA" setHandler -app "$BROWSER" -UTI public.url # "$SWDA" setHandler -app "$BROWSER" -UTI public.html # "$SWDA" setHandler -app "$BROWSER" -URL https # "$SWDA" setHandler -app "$BROWSER" -URL http # ^^ http, https, public.html ,and public.url handled by the above ^^ $SWDA setHandler -app "$BROWSER" -browser SHEET="/Applications/Microsoft Excel.app" MAIL="/Applications/Microsoft Outlook.app"

getHandler Returns the default application registered for the URI Scheme or you specify. Utility to retrieve and manipulate default applications in macOS.
