Sorry I put this in the wrong forum. I’ve moved it to here: http://macscripter.net/viewtopic.php?pid=143109#p143109