Macro Opens Only One Website: How to Find the Cause and Fix It
When a macro opens one page and ignores the rest, the fault sits in one of three places: the key press, the script lines or the browser itself. Work through them in order and you will find it in a few minutes.
See our top recommendation →Macro opens only one website: quick answer
Open the script and check that every line begins with start and an empty pair of quotes, and that every address begins with https://. Then close the browser fully and press the trigger again.
- One missing start command makes the script wait for the first page.
- An unquoted ampersand in an address cuts the line short.
- A browser that is already running may ignore switches and open nothing new.
Find where it failed
Three questions narrow the cause quickly.
Did anything happen?
If the key press did nothing at all, the trigger failed. Go to the key checks.
Did one page open?
If one tab opened, the trigger works and the script is the problem. Go to the script checks.
Did the wrong browser open?
If pages opened, but in an unexpected browser or profile, go to the browser checks.
Causes and fixes, from most to least common
Match your symptom to the row.
| Symptom | Likely cause | Fix |
|---|---|---|
| Only the first tab opens | Later lines lack start, so the script waits | Put start “” before every address |
| First tab opens, then a console window hangs | The empty quotes are missing and the address became the title | Add “” right after start |
| A line stops at a question mark or ampersand | The address is not in quotes | Wrap each address in quotes |
| Pages open in the wrong browser | Script follows the default browser | Name chrome or msedge on the line, or change the default |
| Nothing new opens when Edge is running | Edge’s startup boost keeps it running and switches can be ignored | Close Edge fully or turn off startup boost, then retry |
| Nothing happens on the key press | The shortcut is not on the desktop or Start menu | Move it, and try another Ctrl+Alt letter |
| Works once, then stops | Another program has taken the combination | Pick a different combination and test it with the editor focused |
| Works on one PC only | Different browsers, paths or security policy | Use plain start lines and ask IT about script policy |
Script checks in order
Fix the cheapest causes first.
Open the file in Notepad
Right-click the .bat file and choose Edit. Double-clicking runs it, so use the menu.
Check each line starts with start
Every address line needs the same pattern. A line with only an address will not open a tab from a batch file.
Check the quotes
Each address sits in straight double quotes. Curly quotes pasted from a web page break the line.
Test with two sites
Delete everything except two lines. If both open, add the rest back in groups of three.
Check the file name
Show file extensions in File Explorer. A file called sites.bat.txt is a text file and will not run.
start "" "https://example.com/page?a=1&b=2" works
start https://example.com/page?a=1&b=2 splits at the &Browser checks
When the script is right and the page still will not open.
Chrome blocks pop-ups by default, but a start command from a script is not a pop-up, so the blocker does not stop it. What does interfere is a browser that is already running with a different profile, or a managed browser with a policy that restricts new windows.
How do I stop Edge from ignoring my new-window switch?
Close every Edge process, including the background ones, then run the macro again. Users in the Microsoft Tech Community report that when Edge’s startup boost keeps msedge.exe running, command-line switches can be ignored. Turning startup boost off in Edge settings avoids it.
Keep it simple
If the plain start line with only an address works, stop there. Naming a browser or a switch is where most of the remaining problems begin.
Key checks: when the trigger itself fails
Four causes cover almost every case.
If the trigger is a Macro Keys hotkey, open the Hotkey Launcher tab and confirm the entry exists, then try the same combination in another app. The Macro Keys FAQ describes a hotkey that opens a program, file or website, one target per entry. A list therefore needs several entries or a script as the target.
When the macro is right and the PC says no
Some failures are policy, not syntax.
Security software can block scripts, and managed work PCs may disable them completely. If a script runs on your home PC and nothing happens at work, the cause is almost never your lines. Ask IT, and read the work-PC guide. A bookmarks folder with Open all runs no script and often gets around the block.
For script basics, the batch file guide covers every line from scratch.
Troubleshooting questions
The answers come first.
Why does my macro open only one website?
Most often the later lines are missing the start command, so the script waits for the first page. Check that every line begins with start and an empty pair of quotes, and that each address is in quotes. Test with two sites before you add more.
Why does it open a command window and hang?
The empty quotes after start are missing, so Windows read your quoted address as the window title. Add “” immediately after start and save the file again.
Why do the pages open in the wrong browser?
A plain start line follows your default browser. Name chrome or msedge on a line to choose one, or change the default browser in Windows Settings. Remember Edge may ignore switches if it is already running.
Why does nothing happen when I press the key?
The shortcut is probably not on the desktop or in the Start menu, or another program owns the combination. Move the shortcut to the desktop and try a different Ctrl+Alt letter.
Does Chrome’s pop-up blocker stop the macro?
No. The blocker acts on web pages that try to open windows. A script or a hotkey starts the pages from outside the browser, so it does not apply. A managed browser policy can still limit new windows.
Why does it work at home but not at work?
Work PCs often restrict scripts, browsers and shortcut keys. The lines are usually fine. Ask IT what is allowed, and consider a bookmarks folder instead, which runs no script.
Can Macro Keys open all my sites from one hotkey?
The Macro Keys pages describe one program, file or address per hotkey. For a list, either add one hotkey per address or point one hotkey at a script, and test it with two sites first.
Fix the cheapest cause first
Check start, quotes and the browser before you rebuild anything. Most one-site failures come down to a missing start or an unquoted address.
More guides in this set
Batch file to open multiple websites
Write the script line by line, pick a browser and add delays.
Read the guide →Macro vs hotkey vs text expander
Match the tool to the output you want from one key press.
Read the guide →Are keyboard macros allowed at work
Ask, log and limit before a macro runs on a work PC.
Read the guide →Main guide
The full walkthrough, with the method comparison and tutorial.
Read the guide →This page comes from the NewSoftwares.net team, which makes the Macro Keys tool named in the fixes. Questions go through the contact page.