So the edit is:
1. Adding info from comments.
2. Not reviving a relic to the home page.
3. Adding tags for better discovery to the users which usually answer questions about AppleScript. Even nohillside answered in AS, which was not possible until it is mentioned in the comments, and even better in the post itself.
4. Separating context and question.