Thanks, I also got some help from joule on esper.net #renoise:
renoise.app().window.sample_record_dialog_is_visible = true 
renoise.app().window.active_middle_frame = 4 brings forward the sample view
Renoise.Application.API.lua from row 148
you will have to use renoise.app().window.active_middle_frame = number, renoise.app().window.active_upper_frame = number, renoise.app().window.active_lower_frame = number
After some mucking around with everything that all three of you said, I ended up using dBlue’s print objinfo to figure out this:
function showsomething()
renoise.app().window.lower_frame_is_visible = true
renoise.app().window.upper_frame_is_visible =true
renoise.app().window.active_upper_frame = 2
renoise.app().window.sample_record_dialog_is_visible = true
renoise.app().window.active_middle_frame = 4
renoise.app().window.active_lower_frame = 4
renoise.song().transport:panic()
end
renoise.tool():add_keybinding {
name = "Global:Transport:Show Something",
invoke = function() showsomething()
end
}
Thus this being my first Scriptual replacement for Global View Presets (since suggesting to people to copy paste a Config.XML GUI Global View Presets text from a website - and going to their Preferences and loading config.xml in - and pasting these global view presets into their config.xml - is simply far too cumbersome, when trying to offer people ImpulseTracker -like screensettings that are both IT-usable and taking advantage of the new features of Renoise.)))
My next question would be, how can I use a script to auto-open the “Phase Meter” or Disk Browser at “More” mode?