Today’s showcase script is contributed by Ram B for tuning in to an online radio station on last.fm to listen to Beatles music. This script launches Firefox, types “www.last.fm” in the address bar, types “beatles” in the search box, clicks the “GO” button to confirm the search, and finally clicks on “Play The Beatles Radio” button to play. The entire script can be viewed below.
26
Feb 2010

Instead of clicking on the address bar, I use the keyboard shortcut commands (typically Alt+D on Windows browsers and Apple-L on Mac browsers). This typically highlights the entire address in the address bar and you can use backspace or delete to clear it out. Or you can just start type()’ing the URL. That way the script should still work if your home page changes or if the browser is already open, it will hijack the page in the active tab/window.
It is a good tip. It makes the script run faster. But wanted to look in to how it handles a click too.
OR
you could just point your browser to http://www.last.fm/listen/artist/The%2BBeatles/similarartists
and make a shortcut on your desktop!
Wow! Programmings is hard guise!
I would die for Beatles!