• 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: moving iTunes songs to folder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: moving iTunes songs to folder


  • Subject: Re: moving iTunes songs to folder
  • From: "koenig.yvan" <email@hidden>
  • Date: Sun, 22 Jun 2014 16:03:29 +0200


Le 22/06/2014 à 13:37, Robert Cuilla <email@hidden> a écrit :

I need a script the will move a selected song  or a playlist of songs to a folder on y desktop

Any guidance or direction is greatly appreciated

Thank you and God’s blessings

Bob Cuilla



Here is a code copying selected tunes.

I will try to treat the case of playlist later.


# Grab the list of aliases to files of selected tracks
tell application "iTunes"
set selectedSourceFiles to location of the selection
end tell

# Copy every file in a defined folder on the desktop ( it creates it if it doesn’t exist)
do shell script "ditto " & quoted form of POSIX path of selectedSourceFiles & space & quoted form of POSIX path of ((path to desktop as text) & "my tunes:")



Yvan KOENIG (VALLAURIS, France) dimanche 22 juin 2014 16:03:24



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >moving iTunes songs to folder (From: Robert Cuilla <email@hidden>)

  • Prev by Date: moving iTunes songs to folder
  • Next by Date: Re: moving iTunes songs to folder
  • Previous by thread: moving iTunes songs to folder
  • Next by thread: Re: moving iTunes songs to folder
  • Index(es):
    • Date
    • Thread