mIRC Homepage
Posted By: PO3 Window Help - 18/10/08 07:44 AM
Hello I have this code

Code:
alias nav {
  window -p @Explorer
  echo -a $dll(dll\nHTMLn_2.95.dll,attach,$window(@Explorer).hwnd) 
  echo -a $dll(dll\nHTMLn_2.95.dll,navigate,$1-)
}
menu @Explorer {
  Close: { window -c $active }
  join Channel:join $$gettok($sline(@Explorer,1),1,9)
}


.Buzzen Chat List: $nav(http://www.buzzen.net/roomslist.aspx?cat=gn)


But I'v been unable to replace the explorer Menu with my own can you help?
Posted By: RusselB Re: Window Help - 18/10/08 10:28 AM
The @Explorer Window and the menu that you have specified for that window works, and displays, as expected, to the limited ability that I was able to test it. This limitation iks at least partially due to the fact that I don't have the DLL specified.

Posted By: PO3 Re: Window Help - 18/10/08 11:45 AM
How Do You Mean ?
Posted By: RusselB Re: Window Help - 18/10/08 01:51 PM
When I copy & pasted the code, then ran it, I got the @Explorer window.
When I right clicked in that window, I got the two options that are listed in the @Explorer menu (per the script).

Running the code didn't fill the window with any room/channel information, but that may be due to the fact that I don't have the DLL specified in the nav alias, specifically nHTMLn_2.95.dll
Posted By: PO3 Re: Window Help - 19/10/08 03:28 AM
Get the Dll here Then test it am sure u will see that you only get the explorer menu not the custom made menu
Posted By: RusselB Re: Window Help - 19/10/08 04:08 AM
Yes, testing the code with the DLL in place does make a world of difference, and as you noted, the custom menu options, as specified in the script, are not shown, but rather the default options for whichever browser your system is set to use by default.

I'm afraid that I have no further ideas at the moment, but if something does occur to me, I will test, and if successful, post.
Posted By: PO3 Re: Window Help - 19/10/08 05:37 AM
Thanks smile
Posted By: DJ_Sol Re: Window Help - 21/10/08 12:11 PM
Id imagine you have to edit the dll.
© mIRC Discussion Forums