Significance
This contribution offers a proof of concept to make it possible to target a specific (co)crystal at molecular scale within a continuous process. The paper, while addressing a very important issue in public health, i.e., high-efficiency medicine production, also emphasizes the significance of computational material science and data science in generating proper understanding of a process and its optimal operating conditions.