Short cut key for snapping

 From:  MarkRG (MARK_GRUNDON)
5317.1 
Hi, is there a script that would allow me to assign a key to each of the main snapping options in MoI - Grid, Straight and Object. It would help my work flow if I could do this.

Thanks

M