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


AC/DC Fans | 22 comments | Create New Account
Click here to return to the 'AC/DC Fans' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
AC/DC Fans
Authored by: jbravo on Jul 11, '03 05:24:46PM
Nice script! Unfortunately it removes the forward slash in "AC/DC" and therefore the lyrics are not found for any AC/DC song, or any song where the Artist, Title or Album contains a forward slash. Fortunately this is easy to fix.

1. Remove the forward slash from the myDelims array
2. Convert forward slashes to underscores by adding this before "-- convert double spaces to single"
	-- convert forward slash to under score
	set AppleScript's text item delimiters to "/"
	set myWords to every text item of myWord
	set AppleScript's text item delimiters to {"_"}
	set myWord to myWords as string
I haven't tested this enough to determine if there are negative consequences to this modification, but I can now find AC/DC lyrics without a hitch. I also haven't tested it on the Google version of this script given here.

[ Reply to This | # ]