#3143 ✓fixcommitted
Jason Mader

applescript perform {"toggleMarkdown:"} on Ventura

Reported by Jason Mader | October 25th, 2022 @ 01:40 PM

Version 1.14 (5922) AppleScript on macOS Ventura 13.0 is inconsistent about performing toggleMarkdown:
When then is run a second time, it can switch Markdown off on an already open MailMate draft

tell application "Keyboard Maestro Engine"
    set myMBVar to getvariable "MessageBody"
    set mySMVar to getvariable "SMPERIOD" as string
end tell
tell application "MailMate"
    open location "mailto:User Name <name@ADDR.ESS>?Auto-Submitted=auto-generated&subject=My Subject - " & mySMVar & "&body=" & myMBVar
    perform {"toggleMarkdown:"}
    activate
end tell

Comments and changes to this ticket

  • benny

    benny November 1st, 2022 @ 03:08 PM

    • State changed from “new” to “accepted”

    Without looking into the details, I think the issue might be that creating a new email is now an asynchronous action. You could try inserting a delay before the perform to test this theory.

    I can see why it might be better if it didn't return until after creating the message and open its window. I'll at least check if that's an easy fix/change.

  • benny

    benny November 1st, 2022 @ 03:36 PM

    • State changed from “accepted” to “fixcommitted”

    I think this should work in the next update.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Mac OS X email client.

Shared Ticket Bins

People watching this ticket

Pages