Gräck
01-15-2006, 05:00 PM
Hi all,
I'm new to MaxScript.
I want to create a shortcut to show/hide the track view.
For some reason it takes a while to open/close the Mini Curve Editor (Toggle Trackbar), so I want to create a shortcut to show/hide the track view. I've already managed to create a script which opens/closes the Mini Curve Editor (Toggle Trackbar) including the time slider (Show Time Slider) and track bar (Show Track Bar Toggle). Well the MaxScript Listener was a great help here ;)
OpenTrackView:
macros.run "Track View""Maximize_Trackbar"
actionMan.executeAction 0 "407"
macros.run "Customize User Interface""UI_TimeSlider_Toggle"
CloseTrackView:
macros.run "Customize User Interface" "UI_TimeSlider_Toggle"
actionMan.executeAction 0 "407"
macros.run "Track View""Maximize_Trackbar"
Anyway, this way is not the fastest. It's much faster to show/hide the track view. But there seems to be no function to hide the track view. You can do this when you right-click the track view menu bar and choose hide (there is also dock and float). There is no time delay when doing this, opposed to the Mini Curve Editor. In the MaxScript Reference I've found the function for dock [#bottom] and close but I didn't manage to create the script.
Can you help me?
I'm new to MaxScript.
I want to create a shortcut to show/hide the track view.
For some reason it takes a while to open/close the Mini Curve Editor (Toggle Trackbar), so I want to create a shortcut to show/hide the track view. I've already managed to create a script which opens/closes the Mini Curve Editor (Toggle Trackbar) including the time slider (Show Time Slider) and track bar (Show Track Bar Toggle). Well the MaxScript Listener was a great help here ;)
OpenTrackView:
macros.run "Track View""Maximize_Trackbar"
actionMan.executeAction 0 "407"
macros.run "Customize User Interface""UI_TimeSlider_Toggle"
CloseTrackView:
macros.run "Customize User Interface" "UI_TimeSlider_Toggle"
actionMan.executeAction 0 "407"
macros.run "Track View""Maximize_Trackbar"
Anyway, this way is not the fastest. It's much faster to show/hide the track view. But there seems to be no function to hide the track view. You can do this when you right-click the track view menu bar and choose hide (there is also dock and float). There is no time delay when doing this, opposed to the Mini Curve Editor. In the MaxScript Reference I've found the function for dock [#bottom] and close but I didn't manage to create the script.
Can you help me?
