Posted on 11-03-2017 06:09 AM
Ok guys...call me crazy, insane in the membrane or...downright stupid, but, for some reason Safari will not launch an actual window when I have it configured as a login item. Safari will open, but no window until I click the icon. I have also tried using a loginhook that is basically open https://webpage.com/. Any ideas on what it might be? I'm gonna try switching my default browser and see if anything changes. Any help is appreciated.
Posted on 11-03-2017 07:01 AM
Use a script at login:
osascript -e 'tell application "Safari" to open location "https://yourwebsitehere.com"'
Posted on 11-03-2017 09:56 AM
I used to use a login script to do this, but it never worked reliably/consistently. Instead, I create a .webloc file (drag the URL address from Safari to your desktop), drop it in the Applications folder, then add the .webloc as a Login Item. If it matters, Safari is my default web browser.