Forum

Share

Please consider registering
guest

Log In RegisterMembers
Or log in with

Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Eudora Javascript Action
February 17, 2012
12:26 pm
Member
Forum Posts: 5
Member Since:
February 17, 2012
Offline

I'm trying to get an Eudora OSE feature to work with a FiltaQuilla Javascript Action in Thunderbird 10.

http://forums.mozillazine.org/…..;t=2089361
http://forums.mozillazine.org/…..;t=2426357

I got the feature working with a Gmail POP account, but not with a Gmail IMAP account.

http://pastebin.com/z13Nv32V

The first code snippet works with both accounts but I want to select a message. How do I get the second code snippet to work with a Gmail IMAP account? I need to refresh the destination folder so that the enumerator contains the moved messages.

Any advice is appreciated.

FiltaQuilla 1.2.0
Thunderbird ESR 10.0.1
Windows XP SP3

PS:

It would be nice if there was a non-trivial example in the Javascript Action section.

Share
February 21, 2012
11:03 am
Admin
Forum Posts: 323
Member Since:
July 12, 2008
Offline

I looked at your code some, and it was not obvious to me what the differences were likely to be between POP3 and IMAP that would cause issues with your code. I would have to add dump statements or other debugging features to figure this out, as you appear to be doing.

 

Sorry I could not be of more assistance.

 

Kent James

Share
February 21, 2012
5:38 pm
Member
Forum Posts: 5
Member Since:
February 17, 2012
Offline

I found a quick and dirty workaround.

destFolder.updateFolder(msgWindow);
setTimeout(function() {
  var enumerator = destFolder.messages;
  // and so forth
}, 3000);

Thanks for looking at the code.

Share
Forum Timezone: UTC -8

Most Users Ever Online: 18

Currently Online:
12 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

bobkatz: 8

BigMike: 8

t2m: 7

zabolyx: 7

taa: 6

onlyme: 6

Member Stats:

Guest Posters: 130

Members: 565

Moderators: 1

Admins: 1

Forum Stats:

Groups: 1

Forums: 7

Topics: 231

Posts: 802

Moderators: rkent (323)

Administrators: rkent (323)