On 27 May 2006, at 08:12, Hiroshi T. wrote:
Hello,
I made a small script to make selected tracks not bookmarkable:
tell application "iTunes"
set sel to a reference to selection
repeat with i from 1 to count items of sel
set curTrack to item i of sel
if class of curTrack is file track then
set bookmarkable of curTrack to false
end if
end repeat
end tell
But "File permission error" occurs. I'm using iTunes 6.0.4.
Tracks are recorded either in Apple Lossless or in AAC format and have ".m4a" extension.
The song files and "iTunes Music Library.xml" have write permission and I can change their track number, for example.
Any ideas?
_