Run AppleScript after waking from Sleep?

Solution 1:

Yes indeed there is, and it is detailed in this, the Dragon Systems Software UK blog.

I do not believe it is possible without using some external software. The kernel notifies apps that register for registerSleepWakeInterest events, and AppleScript seems not to include the ability to register for this notification.

There's a code sample given in Apple's Kernel Programming Guide.

Bernard Baehr has even made source code for his application, SleepWatcher, available.