I'm using an applescript to find the file corresponding to an email selected in Mail.
The script used to work fine but when I tested it today (on Catalina) I noticed that it did not produce any result. Basically the contents is a path creating structure and then it does a do shell script on an "mdfind" command: set shCMD to "mdfind -onlyin " & mailFolderPath & " 'kMDItemDisplayName == \"" & mSub & "\"cd && kMDItemFSName == \"" & mID & ".emlx\"cd'" set emlFile to do shell script shCMD So, the mail is where the script says it is, but the mdfind result is "". For those interested in the script, things are currently being discussed here: https://lists.apple.com/archives/applescript-users/2020/May/msg00040.html And Yvan KOENIG, who works on High Sierra has not problem with mdfind... Do you have any idea where the issue could come from ? Jean-Christophe Helary ----------------------------------------------- http://mac4translators.blogspot.com @brandelune
_______________________________________________ MacOSX-talk mailing list [email protected] https://www.omnigroup.com/mailman/listinfo/macosx-talk
