Need AHK to execute below line of code at a time once script is activated. Kind of like VBA onOpen in Excel. So, once I activate the script file and it is now active and listening for keyboard shortcut to run the main part of it, want it to execute this line without any keyboard shortcuts to trigger below line.
I have it speak at end of script, but don't know how to have it do the same upon activating of the script file...
Code: Select all
ComObjCreate("SAPI.SpVoice").Speak("Hello, script is ready for action!")