Jump to content

any1 know what im doin wrong with nHTMLn?


Shadow0049

Recommended Posts

well.. i got the browser to attach to the window.. but i cant SEE the webpage it loads. If i mouse over on one of the links (which i cant see) i can click and a new page loads that I STILL CANT SEE!!! will some1 please help.. heres the code

alias html { return $+(",$scriptdirdll\nHTMLn_2.9.dll,") }
alias mdx { return $+(",$mircdirsystem\dll\mdx.dll,") }
alias rsn { 
 window -p @rsn
 echo -a $dll($html,attach,$window(@rsn).hwnd)
 echo -a $dll($html,select,$window(@rsn).hwnd)
 .timer 1 1 //echo -a $dll($html,navigate,http://www.mircscripts.org)
}

Link to comment
Share on other sites

alias html { return $scriptdir $+ dll\nHTMLn_2.92.dll }
alias mdx { return $mircdir $+ system\dll\mdx.dll }
alias rsn { 
window -p @rsn
echo -a $dll($html,attach,$window(@rsn).hwnd)
echo -a $dll($html,navigate,www.mircscripts.org)
} 

Link to comment
Share on other sites

alias html return $+(",$scriptdir,dll\nHTMLn_2.9.dll,")
alias mdx return $+(",$mircdir,system\dll\mdx.dll,")

 

ozzy's code is correct, the one that i posted is in the same format as you want it, but this one should work.

Link to comment
Share on other sites

i think the main reason it didnt work , is cause it looks like the file name was incorrect

 

alias html { return $+(",$scriptdirdll\nHTMLn_2.9.dll,") }

 

should be

 

alias html { return $scriptdir $+ dll\nHTMLn_2.92.dll }

 

note the bit in red

Link to comment
Share on other sites

no u guys arent getting it.. the page loads alright.. i just cant see it at all.. the page still hs the mouseover event where the arrow turns into a hand.. i just cant see any of the page. im wondering if this problem is just on my computer?

 

somebody run my code on your computer and see how it works..

 

alias html { return $+(",$scriptdirdll\nHTMLn_2.9.dll,") }
alias mdx { return $+(",$mircdirsystem\dll\mdx.dll,") }
alias rsn {
window -p @rsn
echo -a $dll($html,attach,$window(@rsn).hwnd)
echo -a $dll($html,select,$window(@rsn).hwnd)
.timer 1 1 //echo -a $dll($html,navigate,http://www.mircscripts.org)
}

Link to comment
Share on other sites

I wouldn't think so, hence it runs out of mIRC, in which turn is basic html, if your browser can display html, then its not your computer. Although it could be your mIRC version, if its been tampered with, or possibly the code your using simply isn't working unsure.gif

 

Just my theory though...

 

Edited by Glitch
Link to comment
Share on other sites

Try taking the...

 

echo -a $dll($html,select,$window(@rsn).hwnd)

 

...out of the script. The Select is used when calling a default browser. However, when you use the navigate function it already uses a default browser. So, the select function won't be needed.

 

Also, you don't need to use echo -a. Just use everything else after it. It should work just fine.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...