AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Open two (or more) websites with a hotkey

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
IconBoy



Joined: 24 Feb 2006
Posts: 77

PostPosted: Wed Aug 13, 2008 3:39 pm    Post subject: Open two (or more) websites with a hotkey Reply with quote

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
View user's profile Send private message
TotAL_NewB



Joined: 13 Aug 2008
Posts: 9

PostPosted: Wed Aug 13, 2008 3:45 pm    Post subject: Reply with quote

Try this:

Code:
#Numpad7::
run http://www.lifehacker.com/
run http://www.gizmodo.com/
return
Back to top
View user's profile Send private message
IconBoy



Joined: 24 Feb 2006
Posts: 77

PostPosted: Wed Aug 13, 2008 4:22 pm    Post subject: Reply with quote

Thanks very much.
Back to top
View user's profile Send private message
IconBoy



Joined: 24 Feb 2006
Posts: 77

PostPosted: Sun Aug 17, 2008 4:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
n-l-i-d
Guest





PostPosted: Sun Aug 17, 2008 5:01 pm    Post subject: Reply with quote

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

PostPosted: Tue Aug 19, 2008 7:30 am    Post subject: Reply with quote

Thanks for the extra help. Very Happy
The message notification went into my spam folder so I only saw it now.
Back to top
View user's profile Send private message
HugoV



Joined: 27 May 2007
Posts: 650

PostPosted: Tue Aug 19, 2008 10:39 am    Post subject: Reply with quote

n-l-i-d wrote:
From here: FireFox Messages _send_post

Incorrect url, should be http://www.autohotkey.com/forum/viewtopic.php?t=8803
_________________
When parsing a CSV file use Loop, parse, Inputvar, CSV!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group