Page 1 of 1

Open Outlook email links in Chrome, not default browse

Posted: 15 Jan 2022, 09:55
by spellegrnio1
Hello,

I use Chrome for my work and Firefox (default browser) for everything else. Is there a way to open link in email, in Outlook Desktop App it will open in Chrome and not my default browser?

Thanks in advance

Re: Open Outlook email links in Chrome, not default browse  Topic is solved

Posted: 15 Jan 2022, 11:01
by mikeyww

Code: Select all

#SingleInstance Force
Loop {
 browse()
 WinWaitActive, ahk_exe OUTLOOK.exe
 browse("Google Chrome")
 WinWaitNotActive
 Sleep, 500
}

browse(browser := "Firefox-308046B0AF4A39CB", section := "HKLM") { ; Set default Web browser
 Static app := "d:\utils\SetDefaultBrowser\SetDefaultBrowser.exe"  ; Adjust as needed
 RunWait, %app% %section% "%browser%",, Hide                       ; http://kolbi.cz/SetDefaultBrowser.zip
}

Re: Open Outlook email links in Chrome, not default browse

Posted: 15 Jan 2022, 17:34
by spellegrnio1
Thank you for the quick response.

Trying it out now.

Update: Works, yay, thank you

Re: Open Outlook email links in Chrome, not default browse

Posted: 25 Apr 2024, 16:02
by spellegrnio1
mikeyww wrote:
15 Jan 2022, 11:01

Code: Select all

#SingleInstance Force
Loop {
 browse()
 WinWaitActive, ahk_exe OUTLOOK.exe
 browse("Google Chrome")
 WinWaitNotActive
 Sleep, 500
}

browse(browser := "Firefox-308046B0AF4A39CB", section := "HKLM") { ; Set default Web browser
 Static app := "d:\utils\SetDefaultBrowser\SetDefaultBrowser.exe"  ; Adjust as needed
 RunWait, %app% %section% "%browser%",, Hide                       ; http://kolbi.cz/SetDefaultBrowser.zip
}
Unfortunately this has stopped working. Don't suppose you know of another work around?

Thanks

Re: Open Outlook email links in Chrome, not default browse

Posted: 25 Apr 2024, 20:29
by mikeyww
No, I have not tested it lately. Others here may have better ideas.

Re: Open Outlook email links in Chrome, not default browse

Posted: 26 Apr 2024, 14:48
by spellegrnio1
Thank you