/////////////////////////////////////////////////////////////////////////////// function OnInit(data){ data.name = "Command.GUI: UpdateButtons"; data.desc = "Update all button icons and toggle-states on every toolbar at the same time."; data.version = "0.1"; data.default_enable = true; var cmd = data.AddCommand(); cmd.name = "UpdateButtons"; cmd.method = "Command_UpdateButtons"; } /////////////////////////////////////////////////////////////////////////////// function Command_UpdateButtons(data) { DOpus.Output("UpdateButtons():"); data.func.command.ClearFiles(); for(var l=0;l