using terms from application "Messages" on message received this_message from this_buddy for this_chat if the name of this_buddy is in {"My Former Student"} then set canned_responses to {"Can't talk.", "BRB", "You're not my supervisor"} set this_response to some item of the canned_responses send this_response to this_chat end if end message received end using terms from
» ~/Library/LaunchAgents » /Library/LaunchAgents » Can run at load and/or at intervals » man launchctl » load » unload » Highly recommended: LaunchControl
PinboardDigest » Pulls your last 10 links with a certain tag(s) from Pinboard. » Takes user input » Passes said input into Ruby » Script calls the Pinboard API, processes results » Copies markdown to clipboard » AppleScript pastes it into the open document