DarkWolf Lair Forum Index
DarkWolf Lair
L'antre du loup
 
DarkWolf Lair Forum IndexFAQSearchRegisterLog in

:: Custom Buttons : nettoyage indesirables Thunderbird ::

 
Post new topic   Reply to topic    DarkWolf Lair Forum Index -> INFORMATIQUE
View previous topic :: View next topic  
Author Message
DarkWolf
Site Admin


Joined: 20 Mar 2005
Posts: 4037
Location: Geekland

PostPosted: Mon Mar 03, 2008 4:11 pm    Post subject: Custom Buttons : nettoyage indesirables Thunderbird Reply with quote

Plus un pense-bête pour moi, le code pour l'extension Custom Buttons (qui permet de construire des boutons à sa guise), ce dernier permettant de supprimer d'un clic les messages indésirables SANS avoir à pointer sur le dossier les contenant (chez moi par défaut dans Local Folders):

Quote:
const uri = "mailbox://nobody@Local%20Folders/Junk"
with (document.getElementById("folderTree").view)
for (var i = 0; i < rowCount; ++i) with (getResourceAtIndex(i))
uri == Value? selection.select(i) :
uri.indexOf(Value) == 0 && !isContainerOpen(i)? toggleOpenState(i) : null
deleteJunkInFolder();

_________________
Cogito Lycanthropus ergo sum Lycanthropus.

Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    DarkWolf Lair Forum Index -> INFORMATIQUE All times are GMT - 1 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Texno x0.3 © theme by Larme D'Ange 2006
Powered by phpBB © 2001, 2005 phpBB Group