How can I make an AppleScript activate upon logging in?
If you save the Apple Script as an application, then go to  System Preferences -> Users -> Login Items, you can add the application there, and it will run on login.