Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Use any song snippet as a cell phone ringtone' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Use any song snippet as a cell phone ringtone
Authored by: on Jan 31, '06 01:25:46AM
P.S. - the script seems to not work quite right the first couple of songs it tries to download. But keep trying and it will work eventually. I don't know how to debug it, but maybe an adventurous perl programmer can take a look. Also, if the UI applescript part that copies the text from the iTunes current selection fails (because you changed applications just as it was about to copy, for example), the file will be save to the directory where you saved the script instead of the desktop and it will have the original name that iTunes stores it as (something like s05.ypqjdnud.p.m4p). I saved this applescript:

tell application "Terminal"
	tell application "System Events"
		keystroke "n" using command down
		delay 1
	end tell
	set bounds of window 1 to {0, 22, 1280, 854}
	do script "cd ~/Library/Scripts/Applications/iTunes/" in window 1
	do script "perl" in window 1
end tell ~/Library/iTunes/Scripts/Save Music Store Previews to Desktop.scpt so I can easily start up the perl script from the iTunes script menu.

[ Reply to This | # ]