ID:261278
 
My objective: Open a new IE window on the screen without leaving the browser open.

My problem: I don't know how to switch back to the text bar after browse()-ing my program that opens the new window with what I want inside of it.

How do I accomplish this?
shell("start http://www.byond.com")


Would open the url in would open it in a new window, or in one of the other browser windows open.
In response to Nadrew
Nadrew wrote:
shell("start http://www.byond.com")

Would open the url in would open it in a new window, or in one of the other browser windows open.

"start" is limited to Win95/98/ME, I believe. Your code will also execute server-side if I'm not mistaken, rendering it useless on the client end.

Of course, one wonders what's the point in popping open a new window in the first place, when pop-up browser windows are so annoying.

Lummox JR
In response to Lummox JR
Using it opens a dos dialog box for a brief amount of time, then the browser window pops up.
In response to Nadrew
Nadrew wrote:
Using it opens a dos dialog box for a brief amount of time, then the browser window pops up.

Correct, but 1) this will only work on certain operating systems, and 2) it's server-side code, meaning in hosted games it will pop open a new window on the host, not the client.

Lummox JR
In response to Lummox JR
Oh I see, the shell proc scares me so I don't use it much, it has file killing powers (shhh)
In response to Nadrew
I knew all of this. However, you have not even attempted to answer my question. Thanks. :D
In response to Lord of Water
Lord of Water wrote:
However, you have not even attempted to answer my question. Thanks. :D

Obviously he has attempted.