From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.42.240.136 with SMTP id la8cs260747icb; Sun, 13 Feb 2011 17:37:07 -0800 (PST) Received: by 10.229.184.149 with SMTP id ck21mr2309604qcb.180.1297647426512; Sun, 13 Feb 2011 17:37:06 -0800 (PST) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id e5si3793245qck.84.2011.02.13.17.37.04; Sun, 13 Feb 2011 17:37:06 -0800 (PST) Received-SPF: pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) client-ip=205.234.109.19; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-talk-bounces@rubyforge.org Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 83AE619782DB; Sun, 13 Feb 2011 20:37:04 -0500 (EST) X-Greylist: delayed 397 seconds by postgrey-1.31 at rubyforge.org; Sun, 13 Feb 2011 20:20:57 EST Received: from offthecob.info (75-145-77-237-Oregon.hfc.comcastbusiness.net [75.145.77.237]) by rubyforge.org (Postfix) with SMTP id CC2C01858112 for ; Sun, 13 Feb 2011 20:20:57 -0500 (EST) Received: (qmail 18394 invoked by uid 1000); 14 Feb 2011 01:24:50 -0000 From: whodevil To: sup-talk Date: Sun, 13 Feb 2011 17:24:50 -0800 Message-Id: <1297646180-sup-4406@mail.offthecob.info> User-Agent: Sup/0.11 Subject: [sup-talk] after-poll.rb variables X-BeenThere: sup-talk@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: User & developer discussion of Sup List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: sup-talk-bounces@rubyforge.org Errors-To: sup-talk-bounces@rubyforge.org I'm trying to write a hook that will update the status bar of my screen session with the number of unread emails in my inbox. I've worked out the logistics on how to get this into the status bar. My issue is that when the hook executes, num_inbox only returns the number of new messages it found during that poll period. While this can be useful, it doesn't fit my need. I'm wondering if someone know if there is a way to get the total unread messages in the inbox from within the after-poll hook? Thanks, Whodevil _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk