<s>[INST] I remember you answering another user about automating tasks using AppleScript and its benefits.
I'd like to learn more about AppleScript and how I can start automating my routine tasks, especially writing a script for an automation.

Could you walk me through a simple example to get me started?[/INST]