You no longer need to know how to program with AppleScript to use AppleScript. Let ChatGPT do the work for you. But it may not get it right the first time.
Note: This is Club MacMost exclusive content. To view this video click the thumbnail below to go to the post as Patreon.com. Once there you will be able to view the video as long as you are logged into your Patreon account and a current supporter of MacMost at the "Club MacMost" or higher level.