Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Help request for TB3 vs SM2 -- get selected message <<- Another one !!

0 views
Skip to first unread message

gNeandr

unread,
Nov 1, 2009, 12:24:00 PM11/1/09
to
Another TB3 / SM2 difference:

TB3:
var msgUri =
gMessageDisplay.folderDisplay.selectedMessageUris[0];

SM2:
var msgUri = GetLoadedMessage();

to get the selected message.
SM2 here works more than TB2 and PB ??

... anymore differences to be aware of ?????

For me SM2 ins'nt code equivalent with TB3 ... or do I miss a paper
about those differences??

Any GENERAL pointers available?

G�nter

Philip Chee

unread,
Nov 1, 2009, 1:51:05 PM11/1/09
to
On Sun, 01 Nov 2009 18:24:00 +0100, gNeandr wrote:
> Another TB3 / SM2 difference:
>
> TB3:
> var msgUri =
> gMessageDisplay.folderDisplay.selectedMessageUris[0];
>
> SM2:
> var msgUri = GetLoadedMessage();
>
> to get the selected message.
> SM2 here works more than TB2 and PB ??

gMessageDisplay.folderDisplay is an alias to gFolderDisplay so you can use:

gFolderDisplay.selectedMessageUris[0];

in both SM2 and TB3

> ... anymore differences to be aware of ?????

> For me SM2 ins'nt code equivalent with TB3 ... or do I miss a paper
> about those differences??
>
> Any GENERAL pointers available?

This is a work in progress:

<https://developer.mozilla.org/en/Extensions_support_in_SeaMonkey_2#gFolderDisplay_API>

We haven't added the openTab() differences yet. We were following an
older TB3beta version of their tabmail and didn't realized that they had
changed their API.

Phil

--
Philip Chee <phi...@aleytys.pc.my>, <phili...@gmail.com>
http://flashblock.mozdev.org/ http://xsidebar.mozdev.org
Guard us from the she-wolf and the wolf, and guard us from the thief,
oh Night, and so be good for us to pass.

0 new messages