| View previous topic :: View next topic |
| Author |
Message |
IconBoy
Joined: 24 Feb 2006 Posts: 77
|
Posted: Wed Aug 13, 2008 3:39 pm Post subject: Open two (or more) websites with a hotkey |
|
|
I am trying to open two or more websites with a hotkey but am not succeeding in doing it.
I have tried:
| Code: | | #Numpad7::run http://www.lifehacker.com/|http://www.gizmodo.com/ |
and
| Code: | | #Numpad7::run "http://www.lifehacker.com/" "http://www.gizmodo.com/" | but none of these work.
I get the 404 not found error on the website when I run it.
Can anyone help with a working solution?
Thanks |
|
| Back to top |
|
 |
TotAL_NewB
Joined: 13 Aug 2008 Posts: 9
|
Posted: Wed Aug 13, 2008 3:45 pm Post subject: |
|
|
Try this:
| Code: | #Numpad7::
run http://www.lifehacker.com/
run http://www.gizmodo.com/
return |
|
|
| Back to top |
|
 |
IconBoy
Joined: 24 Feb 2006 Posts: 77
|
Posted: Wed Aug 13, 2008 4:22 pm Post subject: |
|
|
| Thanks very much. |
|
| Back to top |
|
 |
IconBoy
Joined: 24 Feb 2006 Posts: 77
|
Posted: Sun Aug 17, 2008 4:40 pm Post subject: |
|
|
| I just realized that those links open up separate instances of the browser. Is there any way that it will only open only one instance of it with the other link(s) as a separate tab? |
|
| Back to top |
|
 |
n-l-i-d Guest
|
Posted: Sun Aug 17, 2008 5:01 pm Post subject: |
|
|
From here: FireFox Messages _send_post
| NiJo wrote: | If you make a shortcut:
Code:
"firefox.exe" -new-window google.pt|google.com|yahoo.com
It opens a new window with those 3 TABs |
And if you use Internet Explorer: Open multiple URLs in new tabs
HTH
________________________________________________________
New here? Please, before you post...
1. Read the tutorial and try the examples. -> 2. Take a look at the command list to get an idea of what you could do. -> 3. Create your script. Consult the documentation and the FAQ if you get stuck. -> 4. Search the forum if you need help or examples, method 1 (forum), method 2 (site), method 3 (Google). -> 5. Post your code on the forum in the "Ask for Help" section if you still run into problems (but read this first). -> 6. There is more AHK on autohotkey.net and the Wiki and there is an AHK IRC chat. |
|
| Back to top |
|
 |
IconBoy
Joined: 24 Feb 2006 Posts: 77
|
Posted: Tue Aug 19, 2008 7:30 am Post subject: |
|
|
Thanks for the extra help.
The message notification went into my spam folder so I only saw it now. |
|
| Back to top |
|
 |
HugoV
Joined: 27 May 2007 Posts: 650
|
|
| Back to top |
|
 |
|