Hmm this is not working did os x 10.14.1 kill applescript execution or something?
For more information, see the wiki Searching the Forum for Answers section.