• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: iTunes : "File permission error"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iTunes : "File permission error"


  • Subject: Re: iTunes : "File permission error"
  • From: Ruth Bygrave <email@hidden>
  • Date: Sat, 27 May 2006 10:27:14 +0100


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?

_

My god, I'm a beginner, and I can actually _answer_ this one!

Exactly the same thing happened to me (the other way round, as I was trying to make audiobooks bookmarkable)aa, and I solved it by trial and error.

I tested it just now (clipping this in and changing it the other way round from my audiobooks script), and it works fine.

What you want is:

if bookmarkable of t is true then
set bookmarkable of t to false
end if
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: iTunes : "File permission error"
      • From: "Hiroshi T." <email@hidden>
    • Re: iTunes : "File permission error"
      • From: Gary Yuen <email@hidden>
References: 
 >iTunes : "File permission error" (From: "Hiroshi T." <email@hidden>)

  • Prev by Date: Routine for parsing path-filename....
  • Next by Date: Re: Routine for parsing path-filename....
  • Previous by thread: iTunes : "File permission error"
  • Next by thread: Re: iTunes : "File permission error"
  • Index(es):
    • Date
    • Thread