# K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage)
# ---------- ipens image with local image editor (pro editing)

$_tool_path=getfolder(RootFolder)."\\Tools";

imgedplus{
id(ID_COPY_IMAGE_CONTENT);
exec($_tool_path."\\imgedplus.exe " .$ImageURL);
}

imgedplus_sel{
exec($_tool_path."\\imgedplus.exe ");
}

imgedplus_BuildMenu{
# imagesave
setmenu(ImageSave,inline,image_editor);
setmenu(image_editor,macro,"Img EditorPlus",imgedplus);
setmenu("_Config_General",macro,"Config ImgEditor",imgedplus_sel);
}

# ------------------------------------------------------------------------------------
$OnInit=$OnInit."imgedplus_BuildMenu;";
$macroModules=$macroModules."imgedplus;";