Scripting in Safari Privte windows
Scripting in Safari Privte windows
- Subject: Scripting in Safari Privte windows
- From: "@lbutlr via AppleScript-Users" <email@hidden>
- Date: Sun, 6 Sep 2020 04:08:18 -0600
I can do the following to open a URL in Safari
tell application "Safari" to make new document with properties
{URL:"http://www.google.com"}
How do I do that with a private window? Everything I see requires using system
events to process shift-command N in the script.
What I am trying to do is open a set of urls in tabs all in private bwindows.
set urlList to {"http://google/", "http://www.apple.com/",
"http://www.macworld.com/", "http://ethersite.tld/",
"http://www.moresites.fake/"}
set numURLs to (count urlList)
Etc…
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden