<div dir="ltr"><div dir="ltr">ok, so if I add this string</div><div dir="ltr"> "^P" = ( "performBundleItemWithUUID:" , "2EF4C1A0-8FE2-11E3-BAA8-0800200C9A66"); </div><div dir="ltr">in </div><div dir="ltr">/Users/username/Library/Application Support/MailMate/Resources/KeyBindings/Custom.plist <br>and add "Custom" in the keybinding box in mailmate preference<br>it should open sublime text when using the combination ctrl+shift+p, right? and it should work when the cursor is in the body of the email. <br><br>Because, it does not seems to entirely work from my side. <br>It does not work when I am in the text/body of the email. But it works (as, it opens a empty sublime tab) from the message list<br><br>Everything works correctly if I use :<br>defaults write com.freron.MailMate MmBundleCommandLaunchedOnTab "46C1F8A8-A069-4E54-A427-30D45342674F" (it correctly opens sublime text when I tab in the body of the email)<br>or if I use the default shortcut ctrl+shift+o<br><br>Any ideas on what I am doing wrong?</div><div dir="ltr"><br>On Wed, Jan 29, 2025 at 3:28 PM Benny Kjær Nielsen <<a href="mailto:mailinglist@freron.com">mailinglist@freron.com</a>> wrote:<br></div><div class="gmail_quote gmail_quote_container"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 27 Jan 2025, at 15:22, N C wrote:<br>
<br>
> I am using the Sublime Text bundle to edit mail outside of mailmate, but I<br>
> would like to use a custom keybinding for it.<br>
> It should be possible to achieve this by using the selector<br>
> "performBundleItemWithUUID:" but I do not get really how to use it. The<br>
> mentioned UUID refers to what exactly? Does anyone has an example?<br>
<br>
The UUID can be found in the command itself: <a href="https://github.com/mailmate/sublime-text.mmbundle/blob/master/Commands/Edit.mmCommand" rel="noreferrer" target="_blank">https://github.com/mailmate/sublime-text.mmbundle/blob/master/Commands/Edit.mmCommand</a><br>
<br>
The UUIDs are also listed here: <a href="https://manual.mailmate-app.com/hidden_preferences#external-editor" rel="noreferrer" target="_blank">https://manual.mailmate-app.com/hidden_preferences#external-editor</a><br>
<br>
-- <br>
Benny<br>
_______________________________________________<br>
mailmate mailing list<br>
Unsubscribe: <a href="https://lists.freron.com/listinfo/mailmate" rel="noreferrer" target="_blank">https://lists.freron.com/listinfo/mailmate</a><br>
</blockquote></div></div>