make tinyurl
Posted by:
disrupted
Date: March 08, 2009 12:11AM
# K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage)
# ---------- make tinyurl---------------------------------------------------------------------------------------------------------------
$_tool_path=getfolder(RootFolder)."\\Tools";
$_km_path=getfolder(RootFolder)."\\k-meleon.exe";
tinyurl{
#menugrayed=(hostname($URL)=="");
$tiny = $URL;
$tiny = prompt("This will Create TinyURL from the following address:", "Generate TinyUrl", $tiny);
$tiny == "" ? "" : opentab("http
ee
://t1ny.us/l.php?long=".$tiny);
}
tinyurl_BuildMenu{
setmenu(WebServices,macro,"Generate TinyURL",tinyurl);
}
$OnInit=$OnInit."tinyurl_BuildMenu;";
# ------------------------------------------------------------------------------------------------------------------
$macroModules=$macroModules."tinyurl;";
Re: make tinyurl
Posted by:
Zoohooter
Date: March 08, 2009 12:25PM
Where in KM do you place this nice creation? tia
Re: make tinyurl
Posted by:
desga2
Date: March 08, 2009 07:27PM
Edit -> Configuration -> User-Defined Macros
Remember change "http
ee
://" by "
http://
" in the code.
K-Meleon in Spanish
Re: make tinyurl
Posted by:
Zoohooter
Date: March 08, 2009 08:41PM
Thanks for that info Desga2
K-Meleon forum is powered by
Phorum
.
Home/News
Screenshots
Download
Documentation
Resources
Get Involved
Forum
FAQ
English