How to open links in two diffrent browsers?

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
Alina
Newbie
Posts: 17
Joined: Sun Jul 04, 2021 9:02 am

How to open links in two diffrent browsers?

Post by Alina » Sun Jul 04, 2021 9:20 am

Hi all!

I need open some links in Google Chrome and some links in Microsoft Edge.
Main browser - Google Chrome. All links open automatically there.

I tried:
ExecuteFile>https://www.amazon.com/,Microsoft Edge
It's not working. Macros opens link in Google Chrome.

User avatar
Grovkillen
Automation Wizard
Posts: 1009
Joined: Fri Aug 10, 2012 2:38 pm
Location: Bräcke, Sweden
Contact:

Re: How to open links in two diffrent browsers?

Post by Grovkillen » Sun Jul 04, 2021 2:14 pm

Use a command line switch together with the Run> command.

Code: Select all

start microsoft-edge:http://www.cnn.com
Let>ME=%Script%

Running: 15.0.24
version history

Alina
Newbie
Posts: 17
Joined: Sun Jul 04, 2021 9:02 am

Re: How to open links in two diffrent browsers?

Post by Alina » Sun Jul 04, 2021 4:40 pm

...
Last edited by Alina on Sun Jul 04, 2021 5:54 pm, edited 1 time in total.

Alina
Newbie
Posts: 17
Joined: Sun Jul 04, 2021 9:02 am

Re: How to open links in two diffrent browsers?

Post by Alina » Sun Jul 04, 2021 4:52 pm

Thank you so much! :D
These are two working versions:

Code: Select all

RunProgram>C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe http://www.cnn.com
RunProgram>cmd /C start microsoft-edge:http://www.cnn.com

Alina
Newbie
Posts: 17
Joined: Sun Jul 04, 2021 9:02 am

Re: How to open links in two diffrent browsers?

Post by Alina » Sun Jul 04, 2021 4:53 pm

...
Last edited by Alina on Sun Jul 04, 2021 5:55 pm, edited 1 time in total.

Alina
Newbie
Posts: 17
Joined: Sun Jul 04, 2021 9:02 am

Re: How to open links in two diffrent browsers?

Post by Alina » Sun Jul 04, 2021 4:54 pm

...
Last edited by Alina on Sun Jul 04, 2021 5:55 pm, edited 1 time in total.

Alina
Newbie
Posts: 17
Joined: Sun Jul 04, 2021 9:02 am

Re: How to open links in two diffrent browsers?

Post by Alina » Sun Jul 04, 2021 4:55 pm

...
Last edited by Alina on Sun Jul 04, 2021 5:55 pm, edited 1 time in total.

Alina
Newbie
Posts: 17
Joined: Sun Jul 04, 2021 9:02 am

Re: How to open links in two diffrent browsers?

Post by Alina » Sun Jul 04, 2021 4:56 pm

Thank you so much! :D

These are two working versions:

Code: Select all

RunProgram>C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe http://www.cnn.com
RunProgram>cmd /C start microsoft-edge:http://www.cnn.com

User avatar
Dorian (MJT support)
Automation Wizard
Posts: 1348
Joined: Sun Nov 03, 2002 3:19 am
Contact:

Re: How to open links in two diffrent browsers?

Post by Dorian (MJT support) » Sun Jul 04, 2021 5:52 pm

Alina wrote:
Sun Jul 04, 2021 4:56 pm
Thank you so much! :D

These are two working versions:

Code: Select all

RunProgram>C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe http://www.cnn.com
RunProgram>cmd /C start microsoft-edge:http://www.cnn.com
The first is the method I use. :D

Code: Select all

RunProgram>C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe https://www.website.com
Yes, we have a Custom Scripting Service. Message me or go here

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts