it does work, you need to make sure that the function is properly defined before you use it. So highlight the functino and then hit the small enter key on your keyboard and it should appear in the top half of the window. Then execute the other half of the script and it should work fine. I copied and pasted it straight in and it worked
Technical Director - Framestore
Currently working on: Your Highness
IMDB