I'm looking for a way to get the 5 most recent iMessages with applescript. I already found a way with "on message received" to get messages when they are received, but then I'd have to store them in a db or something, so that's not really a viable option. Anybody knows how to directly get the messages from the 'Messages' app?
Thanks
Thanks