Start up or wake up and speak

Does anyone know how to cause an app I have created that speaks to run when the computer is started or woken up?

I don’t know about waking up, but you can save the script as an application and add it to your login items in System Preferences.