Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
qm ie handler
#4
ok, needs some additional code, but it works on links.

i made a subfolder in qm dir ->context, in it there is a file with name
qm.html.
content:
Code:
Copy      Help
<script language="VBScript">
sURL = window.external.menuArguments.event.srcElement.href
createObject("WScript.Shell").run "qmcl.exe " + "M ""ie_context"" A " + sURL + ""
</script>

registry file to add qm to the ie context menu
(you will have to change the path to qm.htm)
Code:
Copy      Help
REGEDIT4

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\qm_proxy]
@="C:\\Programme\\Quick Macros 2\\context\\qm.htm"
"contexts"=dword:00000020

macro ie_context
Code:
Copy      Help
function [$text]
if text = 0
    mes "huhu"
else
    mes text
pi


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)