[MlMt] JSX scripting Mailmate

Craig Drown craig at sussol.net
Wed Jun 6 22:33:02 EDT 2018


Thanks Benny- much appreciated.
Cheers,
Craig


On 6 Jun 2018, at 23:53, Benny Kjær Nielsen wrote:

> 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/

Sustainable Solutions
Kathmandu, Nepal & Auckland, New Zealand
Nepal: +977 1 5548021
New Zealand: +64 22 519 0499
craig at sussol.net              skype://craigdrown
http://www.sussol.net       http://www.msupply.org.nz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freron.com/pipermail/mailmate/attachments/20180607/6f9f700a/attachment.html>


More information about the mailmate mailing list