home *** CD-ROM | disk | FTP | other *** search
/ PC World 2008 September / PCWorld_2008-09_cd.bin / komunikace / kmeleon / K-Meleon1.1.3en-US.exe / macros / newsfox.kmm < prev    next >
Text File  |  2007-05-04  |  966b  |  26 lines

  1. # K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage)
  2.  
  3. # ---------- NewsFox Extension (RSS News Feed Aggregator) ----------------------------------------------------------
  4. #
  5. # Dependencies    : main.kmm (ExecMacros, OpenURL), mail.kmm (menus)
  6. # Resources    : -
  7. # Preferences    : -
  8. #
  9. # ------------------------------------------------------------------------------------------------------------------
  10.  
  11. NewsFox{
  12. $OpenURL="chrome://newsfox/content/newsfox.xul"; $ExecMacros="OpenURL_InNew"; &ExecMacros_Frames;
  13. }
  14.  
  15. # ----- PRIVATE
  16.  
  17. _NewsFox_BuildMenu{
  18. # tools menu
  19. index($macroModules,";Mail;")>-1?setmenu(_Mail_News,macro,"Read &RSS Feeds",NewsFox):setmenu(MailNews,macro,"NewsFo&x",NewsFox);
  20. # toolbar button
  21. $RSS=NewsFox;
  22. }
  23. $OnInit=$OnInit."_NewsFox_BuildMenu;";
  24.  
  25. # ------------------------------------------------------------------------------------------------------------------
  26. $macroModules=$macroModules."NewsFox;";