Use apple script to get url from browser