Chrome with secondary profile

5 posts / 0 new
Last post
hman

Hi

I need to set the options for "Use external Browser" with Chrome using a secondary profile.

Normaly the invocation is something like

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --profile-directory="Profile 1"

From command line this works fine:

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --profile-directory="Profile 1" http://www.some.site

However CTRL-O or doubleclick in QuiteRss then opens the default Browser (in this case IE). Just "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" without the profile selection does work, but will open on the Chrome Windows last used (whichever profile).

Anybody knows how to solve this? The debug.log file doesn't show what exactly has been run.

Sheldon
Hi,

Hi,:

maybe funcy didn't take this into consideration while coding. I will involve him.

If so you can create a batch like this example :

@echo off

SET url=%1%

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --profile-directory="Profile 1" %url%
cls

and configure the batch to be the external browser.

Alternatively you can use Chrome Portable with your profile beside your installation.
You can get it here https://portableapps.com/apps/internet/google_chrome_portable.

Kind regards,

Sheldon

Funcy-dcm
Unfortunately, in the

Unfortunately, in the application you can specify only the path to the executable file.

Sheldon
Thanks! So the batch solve it

Thanks! So the batch it is.

hman
Yes, understood.

Yes, understood.

Only, it won't work with a variable like this because by default cmds will split the arguments not only on whitespace, but also on = & (and some others). Those are quite frequent in URLs.

Demo and solution:

echo URL now is: '%url%'
echo Whole shebang: %*
echo 1 1: %1
echo 2 2: %2
echo 3 3: %3
echo 4 4: %4
echo 5 5: %5
echo 6 6: %6
echo 7 7: %7
echo 8 8: %8
echo 9 9: %9
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --profile-directory="Profile 1" %*

Thanks

Heiko