Binding multiple commands to one hotkey

Im just getting started with blender, one thing I dont like is how I cant start modifying vertices with just one hotkey. Sure I could enter “Edit” mode and then my assigned hotkeys will work.

In maya I could have multiple commands assigned to one hotkey. In blender that would look something like:

import bpy
bpy.ops.object.mode_set(mode=‘EDIT’)
bpy.ops.mesh.select_mode(use_extend=False, use_expand=False, type=‘VERT’, action=‘TOGGLE’)

Now this works in the “text editor” by pressing “run script”, and it will let me start edit vertices even if im in object mode.

I tried macro recorder, didnt work

read about ad ons here: http://www.blender.org/documentation/blender_python_api_2_66_release/info_tutorial_addon.html?highlight=shortcut#keymap

But that was to complex for me to grasp.

Having multiple commands assigned to one hotkey is usefull for alot of things, at least it was in maya, so it would be great with some help :slight_smile: