Jump to content

Open google incognito and a url?


Recommended Posts

  • 2 months later...

Okay so let's say I open Alfred and I type in Facebook, I want alfred to open up in google incognito and go to facebook.com.

 I modified the workflow I downloaded to this:

 

tell application "System Events"
set myList to (name of every process)
end tell
if (myList contains "Google Chrome") is false then
do shell script "open -a Google\\ Chrome  --new --args http://gmail.com -incognito"
else
tell application "Google Chrome"
activate
tell application "System Events" to keystroke "n" using {command down, shift down}
set currTab to the first tab of the first window
set the URL of currTab to "http://www.gmail.com"
end tell
end if
 
this opens a Gmail tab in Incognito mode.
 
Cheers and thanks for the workflow sonny_huynh
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...