General
: K-Meleon Forum
General discussion about K-Meleon.
Goto:
Forum List
•
Message List
•
Search
•
Log In
Your Name:
Subject:
Help information
BBcode help
Smileys help
[quote=burt] Hello, I managed to design a right click context menu addition to IE, where I can highlight a phone number (i.e. text) on a webpage and choose "PHONE" which copies the phone number to the clipboard and then executes phone dialer and pastes the phone number into the dialer's window, then hits dial button, which makes the call. It required creating 2 "hidden" html documents, one whose title appeared in the right click menu, which copied the highlighted phone number to the clipboard and then "opened" the second html document <script language="javascript"type="text/javascript"> {var SelectedText =window.external.menuArguments.document.selection.createRange().text; window.clipboardData.setData("Text",SelectedText);} window.open('C:/numba.htm',"mywindow","menubar=0,statusbar=0,toolbar=0,scrollbars=0,location=0,center=0,resizable=0,width=1,height=1,left=400,top=250"); var wsh = new ActiveXObject('WScript.Shell'); wsh.SendKeys ("{TAB}"); wsh.SendKeys ("{ENTER}"); </SCRIPT> The second html document, executed the dialer program and then pasted the clipboard to it and hit the dial button, all using SendKeys. <script language="javascript"type="text/javascript"> var wsh = new ActiveXObject('WScript.Shell'); wsh.Run("C:\\WINDOWS\\Dialer.exe"); setTimeout("wsh.Sendkeys ('^V')",250); setTimeout("wsh.Sendkeys ('{ENTER}')",260); setTimeout("wsh.Sendkeys ('%{F4}')",8500); setTimeout("wsh.Sendkeys ('%{F4}')",8600); setTimeout("wsh.Sendkeys ('%{F4}')",8800); </SCRIPT> I have no idea how to do this in K-meleon. Adding to context menus in IE involves adding to the folder "MenuExt" in the registery. How do I add to the right click context menus in K-meleon? Any help would be greatly appreciated. Thank you Burt[/quote]
[Please Enable JavaScript]
K-Meleon forum is powered by
Phorum
.
Home/News
Screenshots
Download
Documentation
Resources
Get Involved
Forum
Bugs
Development