Text this: Photocapture of dynamic hydrogen-bonded assemblies