Automation recording studies on CD

Need to automate the process of recording studies from Orthanc on CD.
I’m not very competent in programming and writing scripts.
Asking for help from those who have succeeded to implement.