Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Wateroksnmud

macrumors regular
Original poster
Hey guys, I'm trying to create an automator that will open safari, enable private browsing, go to my site, and log myself in. The problem is I need a terminal command line that will ensure private browsing is enabled. Any tips / help is appreciated. Thanks
 
It would probably have to edit the plist file for Safari. I'm not at my Mac to give this a try though. Here's an example of what it might look like. Try looking through your plist file for Safari to see if you can see what name it uses.

Code:
defaults write ~/Library/Preferences/com.apple.Safari PrivateBrowsing true
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.