Matt Seligman goes over Actions & Function Keys in a simple free tutorial on Photoshop CS6.
This tutorial uses images found in Windows 7 and goes over how to create an action that will change your image dimensions from simply pressing a shortcut key.