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 

Run website in new window...

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



Joined: 11 Aug 2004
Posts: 5382
Location: /b/

PostPosted: Sun Oct 03, 2004 9:49 pm    Post subject: Run website in new window... Reply with quote

Code:
Run, http://www.autohotkey.com


The problem here is that if you have a internet window already open it will run the website on that. Is there a way in which it could start in a new browser window?
_________________

Back to top
View user's profile Send private message Visit poster's website
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10480

PostPosted: Mon Oct 04, 2004 11:52 am    Post subject: Reply with quote

Some browsers contain a setting in their preferences for that (at least MSIE does). However, to override the "single window" preference only in specific cases, you might be able to launch the browser EXE directly, passing the URL as a parameter. Example:

Run, %ProgramFiles%\Internet Explorer\IEXPLORE.EXE http://www.google.com

If that doesn't work, MSIE and other browsers probably have some command line switches to alter their launch behavior.
Back to top
View user's profile Send private message Send e-mail
Pallie



Joined: 05 Jul 2004
Posts: 57
Location: London

PostPosted: Mon Oct 04, 2004 1:42 pm    Post subject: Reply with quote

According to the following post

http://www.microsoft.com/windows2000/techinfo/reskit/en-us/default.asp?url=/windows2000/techinfo/reskit/en-us/ierk/appxc_c.asp

you can use the switch -new to open a new window - I have had mixed success with it in the past.

Another option would be
Code:
Run, IExplore
Run, HTTP://www.auto....
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