I know it's probably not the most elegant, or even a usable, solution, but is it possible to use a keyboard shortcut, say pageUP in a python blender script?
OR find out the code behind the shortcut, like one can do elsewhere in blender, like a button's code for example.
I have been looking in the input user preferences and hovered over the shorcut , which gives me:
keyMapItem.map_type
bpy.data.window_managers["WinMan"] ... map_type
But i'm not sure how to use this, in a script, to give me the shortcut "page up" functionality.