Mac OS X
Q: applescript to open safari in private browsing
Hello,
I've read an old locked discussion from year 2010 but the script provided there does not work. Could anyone help me please ? I'm not familiar with scripting. Thanks.
OS X El Capitan (10.11.1)
Posted on Oct 29, 2015 7:32 PM
by VikingOSX,Solvedanswer
Mac OS X
This code just opens a New Private Window in Safari 9, something that the majority of us that need that functionality could do with shift+command+N.
tell application "Safari"
activate
tell application "System Events"
tell process "Safari"
keystroke "N" using {shift down, command down}
end tell
end tell
end tell
Posted on Oct 30, 2015 7:34 PM