MerlinEl
02-12-2007, 08:41 AM
I like working on an clean screen with no other menus or panels to apears.
This little script can do that, but I've one trouble with hidding "Main Menu bar"
For now:
step 1) create a blank menu file
step 2) create two backups from current menu.
ad step 2) Why am I create two backups?
If max is crashing then menus cannot be switch back again
and with next max start the default menu is owerwriteten by blank one :shrug:
step 3) Load "blank menu" (hide the last part of max interface)
Mabe is there other way to do that, but I'm not able to find it.
If somebody knows other solution , pleas answer me :)
MacroScript SuperExpertMode
category:"Micra"
toolTip:""
(
if menuMan.findMenu "Blank" == undefined then
(
menuMan.saveMenuFile "MicraMenu_2.mnu" --Save Main Menu for Backup
menuMan.saveMenuFile "MicraMenu_1.mnu" --Save Main Menu
menuMan.createMenu "Blank" --Create Blank Menu
Local mBlank = menuMan.findMenu "Blank"--Define Blank Menu
menuMan.setMainMenuBar mBlank --Load Blank Menu
timeSlider.setVisible off ; trackbar.visible =off --hide key bar
cui.expertModeOn() -- enable standart expert mode
)
else if menuMan.findMenu "Blank" != undefined do
(
menuMan.loadMenuFile "MicraMenu_2.mnu" --Load Main Menu
menuMan.saveMenuFile "MicraMenu_1.mnu" --Save Main Menu from Backup
menuMan.loadMenuFile "MicraMenu_1.mnu" --Load Main Menu Backup
timeSlider.setVisible on ; trackbar.visible=on--show key bar
cui.expertModeOff() --disable expert mode
)
)
This little script can do that, but I've one trouble with hidding "Main Menu bar"
For now:
step 1) create a blank menu file
step 2) create two backups from current menu.
ad step 2) Why am I create two backups?
If max is crashing then menus cannot be switch back again
and with next max start the default menu is owerwriteten by blank one :shrug:
step 3) Load "blank menu" (hide the last part of max interface)
Mabe is there other way to do that, but I'm not able to find it.
If somebody knows other solution , pleas answer me :)
MacroScript SuperExpertMode
category:"Micra"
toolTip:""
(
if menuMan.findMenu "Blank" == undefined then
(
menuMan.saveMenuFile "MicraMenu_2.mnu" --Save Main Menu for Backup
menuMan.saveMenuFile "MicraMenu_1.mnu" --Save Main Menu
menuMan.createMenu "Blank" --Create Blank Menu
Local mBlank = menuMan.findMenu "Blank"--Define Blank Menu
menuMan.setMainMenuBar mBlank --Load Blank Menu
timeSlider.setVisible off ; trackbar.visible =off --hide key bar
cui.expertModeOn() -- enable standart expert mode
)
else if menuMan.findMenu "Blank" != undefined do
(
menuMan.loadMenuFile "MicraMenu_2.mnu" --Load Main Menu
menuMan.saveMenuFile "MicraMenu_1.mnu" --Save Main Menu from Backup
menuMan.loadMenuFile "MicraMenu_1.mnu" --Load Main Menu Backup
timeSlider.setVisible on ; trackbar.visible=on--show key bar
cui.expertModeOff() --disable expert mode
)
)
