Jump to content


Popular Content

Showing content with the highest reputation on 06/28/2020 in all areas

  1. 1 point
    set browser_list to {"Safari", "Safari Technology Preview", "Google Chrome", "Opera"} set default_browser to "Safari" set web_address to "https://example.com" tell application "System Events" to set front_app to name of first process whose frontmost is true if browser_list contains front_app then tell application front_app to open location web_address else tell application default_browser activate open location web_address end tell end if
  • Create New...