Page 1 of 1

Change title case with external script

Posted: Mon Sep 14, 2020 12:52 pm
by chittu
I need to change the title to sentence case, however I can't use the built-in change case, for an example the title
"A Mild and Ligand-Free Ni-Catalyzed Silylation via C-OMe Cleavage."
will become
"A mild and ligand-free ni-catalyzed silylation via c-ome cleavage."
but the correct one is (I'm also removing the full stop at the end)
"A mild and ligand-free Ni-catalyzed silylation via C-OMe cleavage"
I have a python script with an exclusion list that can take care of this issue, but is it possible to use applescript script to Iteratively pull every title of the selected references and execute the python script? (I can do "do shell script")

Re: Change title case with external script

Posted: Mon Sep 14, 2020 1:12 pm
by Jon
I don't see why not (but others may give you a better answer). But why do you want to do this? The format you use can set the case of the title, there are few good reasons for hard coding this in the database.

Jon
Sonny Software

Re: Change title case with external script

Posted: Mon Sep 14, 2020 8:44 pm
by chittu
The nature group journals use sentence case and my database is mixed with both upper and lower case title. Depends on where I submit my manuscript, I have to change the case! (ACS journals use Title case)

Re: Change title case with external script

Posted: Tue Sep 15, 2020 8:14 am
by Jon
As I said, you set this in the *format*, not the database! The database never has to change.

Please read the User Guide (Help menu) about how formatting works, and how to change the title case.

Jon
Sonny Software