Warning: Illegal string offset 'flags' in /home/project-web/kmeleon/htdocs/erfurt-1.02b/ewiki.php on line 2556

Warning: strpos() expects parameter 1 to be string, array given in /home/project-web/kmeleon/htdocs/erfurt-1.02b/ewiki.php on line 2486

Warning: strpos() expects parameter 1 to be string, array given in /home/project-web/kmeleon/htdocs/erfurt-1.02b/ewiki.php on line 2486

Warning: strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/project-web/kmeleon/htdocs/erfurt-1.02b/ewiki.php on line 1756
K-Meleon - PluginCommands

K-Meleon

KMeleonWiki > Documentation > EndUserDocs > PluginCommands


Plugin Commands for Macros


bookmarks

  plugin(bookmarks, "Config");
  plugin(bookmarks, "Add");
  plugin(bookmarks, "AddToolbar");
  plugin(bookmarks, "Edit");
  plugin(bookmarks, "AddLink");
  $page = pluginmsgex(bookmarks, "FindNick", "<Nickname>", STRING);

favorites

  plugin(favorites, "Config");
  plugin(favorites, "Add");
  plugin(favorites, "Edit");
  plugin(favorites, "AddLink");
  $page = pluginmsgex(favorites, "FindNick", "<Nickname>", STRING);

fullscreen

  plugin(fullscreen);

history

  plugin(history, "Config");
  plugin(history, "View");

hotlist

  plugin(hotlist, "Edit");
  plugin(hotlist, "AddLink");
  $page = pluginmsgex(hotlist, "FindNick", "<Nickname>", STRING);

layers

  plugin(layers, "Config");
  plugin(layers, "Open");
  plugin(layers, "OpenLink");
  plugin(layers, "OpenLinkBg");
  plugin(layers, "Next");
  plugin(layers, "Prev");
  plugin(layers, "Last");
  plugin(layers, <number>);
  plugin(layers, "Close");
  plugin(layers, "CloseAll");
  plugin(layers, "CloseAllOther");

  plugin(layers, "OpenWindow");
  plugin(layers, "CloseWindow");
  pluginmsg(layers, "OpenURL", "<URL>");
  pluginmsg(layers, "OpenURLBg", "<URL>");

  $NumLayers = pluginmsgex(layers, "NumberOfLayersInWindow", "", INT);
  $LayerData = pluginmsgex(layers, "GetLayersInWindow", "", STRING);
  pluginmsg(layers, "ReplaceLayersInWindow", "<LayerData>", STRING);

toolbars

  $bChecked = pluginmsgex(toolbars, "IsButtonChecked", "<ToolbarName>, <ButtonID>", INT);
  $bEnabled = pluginmsgex(toolbars, "IsButtonEnabled", "<ToolbarName>, <ButtonID>", INT);
  pluginmsg(toolbars, "CheckButton", "<ToolbarName>, <ButtonID>, [0|1]");
  pluginmsg(toolbars, "EnableButton", "<ToolbarName>, <ButtonID>, [0|1]");
  pluginmsg(toolbars, "SetButtonImage", "<ToolbarName>, <ButtonID>, [HOT|COLD|DEAD], Path/to/new/image.bmp[0]");
  pluginmsg(toolbars, "AddToolbar", "<ToolbarName>, <ButtonWidth>, <ButtonHeight>","");
  pluginmsg(toolbars, "AddButton", "<ToolbarName>, <ButtonName>, <Command>, <MenuName>, <TooltipText>, <ButtonWidth>, <ButtonHeight>, hot.bmp[0], cold.bmp[0], dead.bmp[0]","");

Note:

  • Currently, buttons are identified by command, not by name. Consequently, <ButtonID> must be replaced by the command associated to the button rather than the button's name.
  • AddToolbar and AddButton can be used OnSetup only (K-Meleon 1.1 and greater). Currently, AddButton can be applied to toolbars only that were previously created using AddToolbar. AddButton is not applicable to toolbars defined in toolbars.cfg!

sessions

  plugin(sessions, "Config");
  plugin(sessions, "Save");
  plugin(sessions, "Undo");
K-Meleon

(c) 2000-2010 kmeleonbrowser.org. All rights reserved.
design by splif.