|
|
ozyvent
|
ozyvent
|
How can I make a dialog link open a website e.g. www.mirc.com?
|
|
|
|
r0ck0
|
r0ck0
|
In dialog table (from mirc.hlp) link "text", id, x y w h
|
|
|
|
ozyvent
|
ozyvent
|
yeah I figured that much... this is what i have in the dialog: link "Further help", 604, 100 29 96 10, tab600 but how do i make it open a link when it's clicked? if at all possible..
|
|
|
|
Joined: Feb 2003
Posts: 3,412
Hoopy frood
|
Hoopy frood
Joined: Feb 2003
Posts: 3,412 |
|
|
|
|
r0ck0
|
r0ck0
|
link "Further help", 604, 100 29 96 10, tab600 on *:DIALOG: name:sclick:604:run http://www.mirc.comyour dialog table name here
Last edited by r0ck0; 29/09/03 01:41 PM.
|
|
|
|
ozyvent
|
ozyvent
|
 i had open... didn't think of run.. Thanks
|
|
|
|
r0ck0
|
r0ck0
|
yw
|
|
|
|
pheonix
|
pheonix
|
if you want to open the site in a new window, give a path to your browser. i use: /run iexplore http://somesite.com
|
|
|
|
Joined: Jan 2003
Posts: 2,973
Hoopy frood
|
Hoopy frood
Joined: Jan 2003
Posts: 2,973 |
/run iexplore is also a better method as if you use a link such as bleh.com, run will not detect it as a link--iexplore will. /run http://www.google.com - will work /run www.google.com - will work /run google.com - nope /run 192.168.1.100 - nope Just a more secure method >:D
|
|
|
|
Joined: Dec 2002
Posts: 1,893
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 1,893 |
Or just use /url, followed by the -n switch for a new window.
|
|
|
|
Joined: Jan 2003
Posts: 2,973
Hoopy frood
|
Hoopy frood
Joined: Jan 2003
Posts: 2,973 |
You still end up with using mirc's set browser, not your default, with run, u can specify the browser
|
|
|
|
Joined: Dec 2002
Posts: 1,893
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 1,893 |
Doesn't /url launch your system's default browser? (I can't test here because we only have IE)
|
|
|
|
Joined: Jan 2003
Posts: 2,973
Hoopy frood
|
Hoopy frood
Joined: Jan 2003
Posts: 2,973 |
I looked in help, and there is no reference to the "Default" browser. I might assume it does as the "Default browser bug" was fixed in 6.1, but thats not to say it still might not use the default with /url.
|
|
|
|
Joined: Feb 2003
Posts: 806
Hoopy frood
|
Hoopy frood
Joined: Feb 2003
Posts: 806 |
It uses the default browser. Also, since it was made for that, I wouldn't use /run.
|
|
|
|
Joined: Jan 2003
Posts: 2,973
Hoopy frood
|
Hoopy frood
Joined: Jan 2003
Posts: 2,973 |
i wouldn't use url now, but i would if it was 6.03 or earlier where i might assume it doesn't use default browser
|
|
|
|
|
|