Adding context menus???

  • MichaelJoel
  • Newbie
  • Newbie
  • MichaelJoel
  • Posts: 7

Post 3+ Months Ago

I need to add context menus for Netscape and Mozilla (Opera too if anyone knows).

My problem is I cant figure out where in the registery to place them.

For mozilla I tried
HKEY_CURRENT_USER\Software\Mozilla\menuExt
but it doesnt work.

Any help is greatly appreciated,
Mike
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • JrzyCrim
  • Mastermind
  • Mastermind
  • User avatar
  • Posts: 2062

Post 3+ Months Ago

What exactly do you want these context menu entries to do?
  • MichaelJoel
  • Newbie
  • Newbie
  • MichaelJoel
  • Posts: 7

Post 3+ Months Ago

I link them with DHTML (mainly to copy text to clipboard) I know that sounds like I am re-inventing the wheel but it really isnt because how I doing it.

Mike
  • JrzyCrim
  • Mastermind
  • Mastermind
  • User avatar
  • Posts: 2062

Post 3+ Months Ago

I'm not sure exactly how you would go about doing that. I do know that context menu handlers are found in HKEY_CLASSES_ROOT. I would at least backup the registry before adding things.'

Can you give a command that your new menu item would execute; as an example?
  • MichaelJoel
  • Newbie
  • Newbie
  • MichaelJoel
  • Posts: 7

Post 3+ Months Ago

I add a context menu pointing to any .html file I make.

In the html file I use DHTML to carry out the commands needed such as,


var SelectedText = window.external.menuArguments.document.selection.createRange().text;
window.clipboardData.setData("Text",SelectedText);

This copies all the text on the page to clipboard.

Im not writing spyware or anything.
I write VB software and I need to add context menus so my app will get the information it needs from the user.

Post Information

  • Total Posts in this topic: 5 posts
  • Users browsing this forum: No registered users and 28 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.