I am trying to use defaults write to store iTunes track names in a plist. Running into issues with track names that have parentheses.
Example:
What is the proper way to escape the parentheses in this case?
I am trying to use defaults write to store iTunes track names in a plist. Running into issues with track names that have parentheses.
Example:
What is the proper way to escape the parentheses in this case?
Hi,
it should work with quoted form of and additional single quotes
do shell script "defaults write com.company.app currentName " & quoted form of "'Test (T.E.S.T.)'"
Perfect thanks.
I was also running into some tracks with names like:
Test (‘The ol’ Test’)
And those are causing problems as well. Any ideas?