Safari Private browsing terminal command?

Discussion in 'Mac Basics and Help' started by Wateroksnmud, Jul 1, 2009.

  1. Wateroksnmud macrumors regular

    Joined:
    Feb 21, 2008
    #1
    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
     
  2. angelwatt Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
    #2
    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
     

Share This Page