Thanks again for posting your solution.
If you look at the previous posts, domainxh had a similar problem and was looking for a Swift solution. I think many people are looking for this solution and either don’t post or spend a long time with their own one-off solution. So glad that you were able to share your solution here.
BTW, the community awarded you a community thanks award.
We’re trying to get an email for you to send a small gift from the community. Can you send an email that would work with PayPal to jcasman@oppkey.com?