Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

applescript perform {"toggleMarkdown:"} on Ventura

#3143

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

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

State: fixreleased
Milestone: none
Assigned to: benny benny

Activity

  1. benny
    benny
    • 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.

    November 1st, 2022 @ 03:08 PM

  2. benny
    benny
    • State changed from accepted to fixcommitted

    I think this should work in the next update.

    November 1st, 2022 @ 03:36 PM

  3. benny
    benny
    • State changed from fixcommitted to fixreleased

    December 25th, 2024 @ 04:11 PM

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.