<div class="markdown">
<p dir="auto">Hi,</p>

<p dir="auto">I'm trying to write a custom keybinding which selects the last message of a thread. This is easily done when only one message is selected (via <code>lastOfThread</code>), but fails when I've more than one message selected. Basically I need something which selects only the last message of a previous selection and then I can do <code>lastOfThread</code>. To be clear, right now I'm faking this with:</p>

<pre><code>"L" = ("nextMessage:", "previousMessage:", "lastOfThread:");
</code></pre>

<p dir="auto">Which fails for the last message of a mailbox.</p>

<p dir="auto">Is this possible to have something like <code>selectLastOfSelection</code> / <code>selectFirstOfSelection</code>?</p>

<p dir="auto">-- <br>
Ciao,<br>
Giulio</p>

</div>