Application.AddScriptInfo("7A175804-11D2-47E6-A587-72DA6A4F59C8", "My ToolBar", "1.0", "Simple plug-in that extends standard toolbar by your buttons", "HippoEDIT.com", "supportbox@hippoedit.com"); //////////////////////////////////////////////////////////////////////// // Initialize Scripting Tools Toolbar Application.onInitToolbars = function (){ var MyToolbar = this.GetToolBar("my-commands", true); MyToolbar.Name = "My Commands"; // delete old items while ( MyToolbar.ItemCount ) MyToolbar.RemoveButton(0); // add new items MyToolbar.AddButton(FindCommand("Edit.SelectAll")); MyToolbar.AddButton(null); MyToolbar.AddButton(FindCommand("View.PreviewInBrowser")); }