Jump to content

Open search query with specific Chrome Profile


Recommended Posts

1 hour ago, deanishe said:

Before posting a new thread, please use the search to see if your question has already been answered (it has):

 

https://www.alfredforum.com/search/?&q=Chrome profile&search_and_or=and

 

Dear I searched this already but the closest I got through search is just opening Chrome profiles or bookmarks with specific profile and nothing about the query to be passed through after opening Chrome specific profile.

Edited by selfmade69
Link to post

Why isn't this workflow suitable?

 

9 hours ago, selfmade69 said:

nothing about the query to be passed through after opening Chrome specific profile.

 

You don't pass a query to Chrome, you pass a URL. And you pass the profile directory at the same time as the URL. The command is:

open -a "Google Chrome" --args "https://example.com?query=blah" --profile-directory="Profile 1"

Obviously, you need to change the URL and the name of the profile directory to match your requirements.

Link to post

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...