Created
January 28, 2012 22:41
-
-
Save roolo/1696051 to your computer and use it in GitHub Desktop.
AppleScript
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # Removes numbers with underscore (321321_) from artist of songs selected in iTunes | |
| # | |
| tell application "iTunes" | |
| tell front browser window | |
| set selected_items to selection | |
| repeat with one_item in my selected_items | |
| set artist of one_item to (do shell script "echo '" & (artist of one_item) & "' | sed 's/^[0-9]*_//g' ") | |
| end repeat | |
| end tell | |
| end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment