Can Applescript record the CURRENT setting of a Preference in iTunes?

62 views Asked by At

I need to remember the original setting of the iTunes Media Folder Location setting so I can restore its value after changing it (possibly) more than once.

What is the easiest way to accomplish this?

1

There are 1 answers

0
Bryan Dunphy On BEST ANSWER

com.apple.iApps.plist is the correct place to look.

The key "iTunesRecentDatabasePaths" is a String Array, item 0 holds the most recent entry in a form relative to the User's Home directory. Meaning it will probably start with a ~ character.

The key "iTunesRecentDatabases" is a String Array, item 0 holds the most recent entry in the form of a fully qualified "File://" URL.