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


Click here to return to the 'Play LastFM customized radio streams in iTunes' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Play LastFM customized radio streams in iTunes
Authored by: Daij-Djan on May 11, '06 10:11:25AM

cool^2 - for a while I've been using last.fm and always hated having to use the official player. I took the suggestion and TRIEd writing more commands and additionally make them close the browser window... the scripts work but give me an error:

[code]
set link to (text returned of result)
set toclose to false

tell application "Safari"
open location "http://localhost:1881/" & link

repeat with w in windows
if name of w is "http://localhost:1881/" & link then
set toclose to true
end if
if toclose is true then
tell w to close
end if
end repeat
end tell
[/code]

Any idea why?



[ Reply to This | # ]