Not sure what this is needed for, since the mail addy can be sent directly to the mail program... That said, I need it so rarely that I haven't connected my mail proggie yet ;-) Thinking about it... I also don't want it to start up each time I accidentally click on a mailto link
Anyway, if you like save the blue text in a file named
anynameyouwish.kmm
and put it into your macros folder, preferably the one in the profile to not mess with new "default" profiles. Then restart browser.
copylinkURL2{
macroinfo="Copy Link Location, delete 'mailto:' part if Link starts with it (minimacro)";
index($LinkURL,"mailto:")==0 ? setclipboard(sub("mailto:","",$LinkURL)) : id(ID_COPY_LINK_LOCATION);
}
_copylinkURL2_BuildMenu{
setmenu(LinkCopy,macro,"Copy Link Location",copylinkURL2,-1);
setmenu(LinkCopy,command,"",ID_COPY_LINK_LOCATION);
}
$OnInit=$OnInit."_copylinkURL2_BuildMenu;";
It removes the original "Copy Link Location" from the menu and replaces it with the macro command. That macro checks if a link starts with "mailto:", and if yes crops that, if not it uses the normal copy command.
Too bad for your ME Guenter
I still think it's worth to keep trying, I guess the most important thing is to have unicode installed, and always reboot after installing and after uninstalling KEx, and to disactivate it by default... Perhaps the new version works better??
Edited 2 time(s). Last edit at 10/01/2010 12:07AM by siria.