|
|
Joined: Jun 2003
Posts: 77
Babel fish
|
OP
Babel fish
Joined: Jun 2003
Posts: 77 |
How can I make a dialog link open a website e.g. www.mirc.com?
.
|
|
|
|
Joined: Jun 2003
Posts: 242
Fjord artisan
|
Fjord artisan
Joined: Jun 2003
Posts: 242 |
In dialog table (from mirc.hlp) link "text", id, x y w h
|
|
|
|
Joined: Jun 2003
Posts: 77
Babel fish
|
OP
Babel fish
Joined: Jun 2003
Posts: 77 |
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,432
Hoopy frood
|
Hoopy frood
Joined: Feb 2003
Posts: 3,432 |
if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
|
|
|
|
Joined: Jun 2003
Posts: 242
Fjord artisan
|
Fjord artisan
Joined: Jun 2003
Posts: 242 |
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.
|
|
|
|
Joined: Jun 2003
Posts: 77
Babel fish
|
OP
Babel fish
Joined: Jun 2003
Posts: 77 |
i had open... didn't think of run.. Thanks
.
|
|
|
|
Joined: Jun 2003
Posts: 242
Fjord artisan
|
Fjord artisan
Joined: Jun 2003
Posts: 242 |
yw
|
|
|
|
Joined: May 2003
Posts: 2,265
Hoopy frood
|
Hoopy frood
Joined: May 2003
Posts: 2,265 |
if you want to open the site in a new window, give a path to your browser. i use: /run iexplore http://somesite.com
new username: tidy_trax
|
|
|
|
Joined: Jan 2003
Posts: 3,012
Hoopy frood
|
Hoopy frood
Joined: Jan 2003
Posts: 3,012 |
/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
-KingTomato
|
|
|
|
Joined: Dec 2002
Posts: 1,922
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 1,922 |
Or just use /url, followed by the -n switch for a new window.
|
|
|
|
Joined: Jan 2003
Posts: 3,012
Hoopy frood
|
Hoopy frood
Joined: Jan 2003
Posts: 3,012 |
You still end up with using mirc's set browser, not your default, with run, u can specify the browser
-KingTomato
|
|
|
|
Joined: Dec 2002
Posts: 1,922
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 1,922 |
Doesn't /url launch your system's default browser? (I can't test here because we only have IE)
|
|
|
|
Joined: Jan 2003
Posts: 3,012
Hoopy frood
|
Hoopy frood
Joined: Jan 2003
Posts: 3,012 |
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.
-KingTomato
|
|
|
|
Joined: Feb 2003
Posts: 810
Hoopy frood
|
Hoopy frood
Joined: Feb 2003
Posts: 810 |
It uses the default browser. Also, since it was made for that, I wouldn't use /run.
* cold edits his posts 24/7
|
|
|
|
Joined: Jan 2003
Posts: 3,012
Hoopy frood
|
Hoopy frood
Joined: Jan 2003
Posts: 3,012 |
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
-KingTomato
|
|
|
|
|
|