A clinical workstation includes a processing unit configured to record context information and user habit information based on user interaction with a computer-based application during a plurality of phases of a medical workflow. The processing unit may also be configured to generate a plurality of macro sets based on the recorded context information and the recorded user habit information. Each macro set may be associated with at least one user preferred application tool and be bound to one of the plurality of phases.