On 5 Jun 2018, at 0:06, Craig Drown wrote:
I would have expected something like:
var mm = Application('MailMate’);
mm.perform('toggleFlag:’);
I couldn't make this work either and I'm not quite sure why. It might be
because I'm using an old way of defining the AppleScript support in
MailMate. In any case, I tried doing a quick fix and this should now
work:
mm.perform("toggleFlag:")
I could also not make a list of arguments work. For now, I've worked
around it by making this work:
mm.perform({selectors: ["toggleFlag:", "toggleReadState:"]})
(This should work in the next update.)
--
Benny
https://freron.com/become_a_mailmate_patron/
_______________________________________________
mailmate mailing list
[email protected]
https://lists.freron.com/listinfo/mailmate