• 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 and duplicating track from library
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: itunes and duplicating track from library


  • Subject: Re: itunes and duplicating track from library
  • From: Mr Tea <email@hidden>
  • Date: Tue, 16 Nov 2004 01:02:35 +0000

This from Mr Tea - dated 16/11/04 12ยท24 am:

> this should work...

But this should work better. Here's a slightly more robust and specific
version of my previously posted script, with the format conversion included:

--*****
tell application "iTunes"
    set theTrack to track 1 of playlist "AIFF"
    convert theTrack returning fixedtracklist
    set fixedtrack to location of item 1 of fixedtracklist
    add fixedtrack to playlist "AAC"
    set oldTrack to location of theTrack
    set theID to database ID of theTrack
    set theLib to name of first library playlist
    tell playlist theLib
        delete (every track whose database ID is theID)
    end tell
end tell

tell application "Finder" to delete oldTrack
--*****



Nick
pp Mr Tea

--


 _______________________________________________
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 and duplicating track from library
      • From: "David A. Cox" <email@hidden>
References: 
 >Re: itunes and duplicating track from library (From: Mr Tea <email@hidden>)

  • Prev by Date: Re: Toggle buttons
  • Next by Date: Re: List of users/accounts
  • Previous by thread: Re: itunes and duplicating track from library
  • Next by thread: Re: itunes and duplicating track from library
  • Index(es):
    • Date
    • Thread