Following up on my earlier reply, here is a script to print out all
the star ratings:
import plistlib, os
tunes = plistlib.readPlist(os.path.expanduser('/~/Music/iTunes/iTunes
Music Library.xml'))
for track in tunes.Tracks.values():
if hasattr(track, 'Rating'):
print '%s: %d star
On 18-Apr-07, at 2:14 PM, Daniel Thorpe wrote:
> Hi everyone...
>
> Does anyone know if it's possible to access the star rating of a
> photo from iPhoto using appscript? After looking in the iPhoto
> dictionary and not seeng any reference to it, I have a feeling it is
> not exposed through AppleSc
Hi everyone...
Does anyone know if it's possible to access the star rating of a
photo from iPhoto using appscript? After looking in the iPhoto
dictionary and not seeng any reference to it, I have a feeling it is
not exposed through AppleScript.
If anyone has found a way to get the number of