You can use the Set Action command to assign an action to a key or key combination.  Action key assignments apply only to the current file. 
 
Press Shift+F9 to open the Issue a Command window. 
Enter the following command:   
   set action.F7 scroll screen up
 