

Resolve issues caused by changing the permissions of items in your home folder Several attempts at trying to fix permissions on the music folder in iTunes resulted in no happiness, so I went searching the internet: iTunes preferences also wouldn't keep an advanced setting to not automatically organize media, so I figured it was a permissions issue. Last night I found out the last couple of CDs I ripped and imported into iTunes just wouldn't show up in the iTunes app, despite being in the right location in my home directory folder for the iTunes music. Ran into some more permission related hijinks. Set AppleScript's text item delimiters to "" Set AppleScript's text item delimiters to the replacement_string Set the item_list to every text item of this_text Set AppleScript's text item delimiters to the search_string If this_text contains the search_string then On replace_chars(this_text, search_string, replacement_string) Return (get index of ref_to_track) as string Tell me to display dialog error_message & return & "Error number " & error_number Tell me to display dialog "Too many tracks in this playlist!" If error_number is -20013 then - too many tracks On error error_message number error_number "to new filenames?" buttons default button 1 "Selected Playlist:" & return & (get name of thePlaylist as string) & return & return & ¬ If not using_the_Library then - don't number Library tracks - it messes up the playlists!Ĭopy button returned of (display dialog ¬ Set selectedTracks to (get a reference to thePlaylist)Ĭopy (get count of characters of (ix as string)) to len_last_digit Set thesetracks to " the selected tracks " If (class of thePlaylist) is library playlist then set using_the_Library to true check if "Library" later, we will not offer to number a Library playlist If (get name of every process) contains "iTunes" then set okflag to trueĬopy (a reference to (get view of front window)) to thePlaylist If you want no seperator, leave the quotesĪfter any editing just "Save" the script. Global source_folder, fixed_filename, location_in_finder, location_in_finder_info_name, itunes_track_name, okflag, selectedTracks
#Mp3 files renamer free#
Written by Doug more free AppleScripts and info on writing your ownĪt Doug's AppleScripts for iTunes and SoundJam (* "Tracks Names -> Filenames" for iTunes 2
