Skip to content

Use TBKEYS to create an event from email contextual menu #231

Description

@squintarelli

Hello
is there a way to create an event from an email (contextual menu on a message in the message list/organize/convert-to/Event)

I've been looking through all these files
https://hg-edge.mozilla.org/comm-central/file/tip/mail/base/content/
trying to figure out a command to do it; just found in line 682

// Calendar Convert sub-menu
      case "mailContext-calendar-convert-event-menuitem":
        top.calendarExtract.extractFromEmail(
          gDBView.hdrForFirstSelectedMessage,
          true
        );
        break;
      case "mailContext-calendar-convert-task-menuitem":
        top.calendarExtract.extractFromEmail(
          gDBView.hdrForFirstSelectedMessage,
          false
        );

        break;

is there a way to use this command from tbkeys ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions