Skip to content
General IRCX

Mirc Browser

A TG007 community discussion started by general.

Discussion 35 posts
Page 1 of 2
Open
Topic #8697 · 35 published posts · 12,482 views

I need a WEB BROWSER ....for my SCRIPT which im being used on SCN chat netwrok...

if someone know about iRC Web Addon or can help me with it?

Er ...

From now on, anything with an OCX that isn't listed on the chat networks list needs to go to IRCx.

Use nHTMLn_2.95.dll

 

alias webpage {
window @WebPage
  var %urlx = $dll(dll\nHTMLn_2.95.dll,attach,$window(@Webpage).hwnd)
  %urlx = $dll(dll\nHTMLn_2.95.dll,margins,-2)
  %urlx = $dll(dll\nHTMLn_2.95.dll,navigate,http://www.google.com)
}

Edited Jul 20, 2007 4:22 PM by Travis

nHTMLn_2.95 works on vista , i use it

My code does NOT have bugs. It just develops random features.

oh ... damn, I thought you said the dll's werent working on Vista ... well I have to rewrite somethings >_<

nHTMLn_2.95 works on vista , i use it

 

Ozz I thought you said nHTMLn didn't work on vista? I don't think it does on mine. Going to check again.

Be Kind. Everyone you meet is fighting a great battle.

 

 

 

*Previously known as Gwen

has to be the latest nhtmln dll , which i beleive is 2.95

i have it on my script for opening profiles and works fine

My code does NOT have bugs. It just develops random features.

Hummmmmmmmm

Im using Windows XP....not vista ...

i try to use this code but aint work....

*-)

isnt there anyother code ...which is working for windows Xp?

It works .. you need to create a folder called dll, then go find nHTMLn_2.95 for it to work.

Somehow I got an extra ) in the code.

 

alias webpage {
window @WebPage
  var %urlx = $dll(dll\nHTMLn_2.95.dll,attach,$window(@Webpage).hwnd)
  %urlx = $dll(dll\nHTMLn_2.95.dll,margins,-2)
  %urlx = $dll(dll\nHTMLn_2.95.dll,navigate,http://www.google.com)
}

 

You need to have the dll in the dll folder or correct the file path.

wowwwwwwwwwwww

 

Thanx Buddy .....its works for now ...

i was trying another codes which work for BUZZEN server ....but is not working for my desired server :$

but its all ok now with your codes...Thanx Again

Glad it worked out for you.

 

Here's a usefull tip if ya haven't done it already.

 

alias webpage {
window @ $+ $1
  var %urlx = $dll(dll\nHTMLn_2.95.dll,attach,$window(@ $+ $1).hwnd)
  %urlx = $dll(dll\nHTMLn_2.95.dll,margins,-2)
  %urlx = $dll(dll\nHTMLn_2.95.dll,navigate,http://www. $+ $1)
}

 

/webpage tg007.net

 

Now its more of a dynamic link. Or you can use an input window.

(taken loosely from SoulFly)

alias cF1 {
webpage $input(Enter the website address.,et,Web Browser,http://www.)
}

 

Press ctrl + F1 and enter the page you want to visit.

Thanx Travis ..this is even best and working good...

but for now ...im gona ask you about another problem :P and i hope u will have its solution ..;P

problem is ... on ctrl+F1 it opens page within the mirc ...and works for me...but if try to open a new page within mirc ..it does not help ...it refresh already opened page ....but i want to open multy page within mirc.....:$ if u have codes about it

I am not sure why you would want to open a multi page IE in mIRC.

Some of this is starting to sound a bit weary. Prolly just me though.

Wiley .........i want to open multy page within mirc ....because i mostly use net from office....in office if i will open chat pages by using regular IE ...than other people and admins might get to know ....that im using my time in chating and so ;).....

If i will open pages within mirc ...on MINIMIZE ....everypage will hide ..and none will be known what chat site im being opned ...:P

now u understand :$?

It should open a new window named the new page. That is what you need, a seperate window. So if I have one window called TG007.net showing the page for this forum, I can open a second window called google.com. In the code there you see it names the window the website. @ $+ $1

 

Looking at it I see a problem though. I just threw this together really quickly sorry. Make sure you do not add the http://www. to the url. Just make it tg007.net or google.com.

 

alias cF1 {
webpage $input(Enter the website address.,et,Web Browser)
}

 

This should server you better.

 

Apologies for bumping an old topic, but I thought it would be better to use an old one instead of creating a new thread. Does nHTMLn_2.95.dll work with Win 7? Nothing I've been trying seems to work, and it's not that hard to use the damn thing!

Edited Dec 14, 2009 7:52 AM by Silo

Yes, it does work for Windows 7. It works for me. I'm using Windows 7 Ultimate. You just need to make sure you have mirc.ini in the right directory, or change your coding to have $nofile($mircexe) in it to point each coding for using the dll to your directory.

 

dll $nofile($mircexe) $+ Dll\nhtmln_2.95.dll select $window($active).hwnd
and so forth...

Ahh okay, thanks Warrior, I'll give that a try. I've been using your $ff alias for ages now and won't use anything else to link to my dlls or images.

 

As far as the nHTMLn dll was concerned I tried several file paths including your $ff alias all to no avail. It just kept telling me that it couldn't open the dll.

 

I'll try out your idea now.

 

Thanks : )

 

PS My script is in a directory with A no spaces and mirc.ini is in just in the main $mircdir and the dlls are in their own folder. Out of curiousity, what difference to the path of the dll has to do with the location of mirc.ini?

Edited Dec 14, 2009 3:35 AM by Silo

If you install mirc on Windows Vista - Windows 7 for some reason it installs in a default directory, and the directory you choose with the mirc.ini file being created in the default directory. For mine it is installed into C:\Users\Administrator\AppData\Roaming\mIRC\, and C:\Program Files\mIRC2010 with my mirc.ini file being created in the C:\Users\Administrator\AppData\Roaming\mIRC\ directory. I forget what the default directory is for Vista. In other words it installs into 2 different directories. The one you choose, and a default directory as well with the mirc.ini only being created in the default directory. So using $mircdir will only give the directory containing the mirc.ini file while $nofile($mircexe) refers to the directory where you ran the mirc.exe program.

Edited Dec 14, 2009 5:12 AM by Warrior124