Very old post But I want to ask again. How can we change this code to work during edit mode? Codes are working during presentation mode only.