I wanted to assign similar hot keys on Snap menu and setting Origin menu like shift + f1 and ctrl + f1 since you can't add Origin menu to Quick Favorite
After seeing this question, I managed to make it for setting Origin, but I couldn't for Snap
I only found those on google bpy.ops.view3d.snap_cursor_to_active() bpy.ops.view3d.snap_cursor_to_center() bpy.ops.view3d.snap_cursor_to_grid() bpy.ops.view3d.snap_selected_to_active() bpy.ops.view3d.snap_cursor_to_selected() bpy.ops.view3d.snap_selected_to_cursor
which are options under Snap menu. I hope there's a way to round them up as one shortcut button (not as a quick favorite menu)