Check the script editor. Its icon is next to a little grey bar that sometimes becomes red and pink. Or go to Window>General Editors and click on script editor.