Im trying to understand what it would take to tweak the Journal Template so it picks up a quotation from a group of albums and lyrics that I have in the database. I have been using the journal for a while but find the quotes are not very inspirational anymore. I am also interested in ensuring that the News is local (say BBC) rather than New York Times. Can anyone share a script or advice they have developed?
In which format are the lyrics stored? If all of them are in one group, then a script can easily retrieve a random item:
property pDatabase : "Music"
property pGroupLocation : "/Lyrics"
tell application id "DNtp"
set theDatabase to database named pDatabase
set theGroup to get record at pGroupLocation in theDatabase
set theRecord to some child of theGroup
return name of theRecord
end tell