I’d like to set a rule on Hazel about the academic papers I download from a platform.
The rule should be:
- In the Download folder, detect if the new PDF comes from that platform
- Search for the title inside the PDF and grab it
- rename the file with the title you have grabbed from the PDF
- move the PDF to the destination folder
I need help to accomplish the point 2, because there aren’t stable characters before and after the title of the research, so I don’t know how to point Hazel to the title.
Before and after the string of text there are the authors, the DOI and other variables that are different on each research.
In the screenshot you see how that page of the PDF appears to us and to Hazel.
Hazel sees that section as:
Edited by: Béla Birkás, University of Pécs, Hungary Reviewed by: Marta Malesza, Jagiellonian University, Poland Cristina Ene, University of Bucharest, Romania *Correspondence: Worakamol Wisetsri firstname.lastname@example.org Irfan Ullah email@example.com Specialty section: This article was submitted to Health Psychology, a section of the journal Frontiers in Psychology Received: 06 April 2022 Accepted: 02 June 2022 Published: 04 July 2022 Citation: Shengbo L, Fiaz M, Mughal YH, Wisetsri W, Ullah I, Ren D, Kiran A and Kumar Kesari K (2022) Impact of Dark Triad on Anxiety Disorder: Parallel Mediation Analysis During Pandemic. Front. Psychol. 13:914328. doi: 10.3389/fpsyg.2022.914328 ORIGINAL RESEARCH published: 04 July 2022 doi: 10.3389/fpsyg.2022.914328 Impact of Dark Triad on Anxiety Disorder: Parallel Mediation Analysis During Pandemic Liu Shengbo1, Muhammad Fiaz2, Yasir H. Mughal3, Worakamol Wisetsri4*, Irfan Ullah5*, Diandian Ren6, Alina Kiran7 and Kavindra Kumar Kesari8,9
Here the title is:
Impact of Dark Triad on Anxiety Disorder: Parallel Mediation Analysis During Pandemic