🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #151614

[Dialog] How to exclude the 'inbox' or 'sent' folders within a script

#151614
From: Les Hay
Date: Mon, 12 Jul 2004 05:55
21 lines
2019 bytes
Hi

I use the following in a script to have a one button delete function

Program SelectAllandDelete;
Begin
ADo('HeaderlistPane');
ADo('SelectAll');
ADo('DeleteMessage');
End.

This works fine, and I use it all the time. However, I only want it to
work in a newsgroup folder header pane and not in (say) the 'sent'
folder header pane.

How can I go about checking and exiting the script if the current
headerlistpane is a particular view (say) 'sent' folder contents?

-- 
regards,
Les Hay, Livingston, Scotland
Technical Details
Message-ID: <59c693oop5hf$.1i9cai96u98dw.dlg@40tude.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!nntp.giganews.com!news-out2.spamkiller.net!corp-news!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <59c693oop5hf$.1i9cai96u98dw.dlg@40tude.net>
Subject: [Dialog] How to exclude the 'inbox' or 'sent' folders within a script
Date: Mon, 12 Jul 2004 06:55:16 +0100
From: Les Hay <leshayathome@REMOVEhotmail.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!nntp.giganews.com!news-out2.spamkiller.net!corp-news!not-for-mail
Newsgroups: news.software.readers
User-Agent: 40tude_Dialog/2.0.12.1
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Lines: 21
X-Comments: This message was posted through Newsfeeds.com
X-Comments2: IMPORTANT: Newsfeeds.com does not condone, nor support,
 spam or any illegal or copyrighted postings.
X-Comments3: IMPORTANT: Under NO circumstances will postings containing
 illegal or copyrighted material through this service be tolerated!!
X-Report: Please report illegal or inappropriate use to <abuse@newsfeed.com>
 You may also use our online abuse reporting from:
 http://www.newsfeed.com/abuseform.htm
X-Abuse-Info: Please be sure to forward a copy of ALL headers,
 INCLUDING the body (DO NOT SEND ATTACHMENTS)
Organization: Newsfeed.com http://www.newsfeeds.com 100,
 000+ UNCENSORED Newsgroups.