To keep a door from a cabinet from opening too wide.
Use hooks and string outside of the cabinet to limit the door's range of motion.
Use hooks and string inside the cabinet to limit the door's range of motion.