🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #152994

[Dialog] Action Item - notify application?

#152994
From: Copelandia Cyanescens
Date: Wed, 04 Aug 2004 16:33
27 lines
2644 bytes
The problem in a nut shell... I'd like to automate the downloading of
some software updates. I'm notified of these updates by email.

I wrote a Python script that handles the downloading and installation of
the files just fine, but an hour or so of cursory digging around hasn't
turned up an easy (to me) way to make it fire when my notifications come
in. I'm no Pascal/Dialog guru. ;)

Is there any "down and dirty" way to fire an external application by
watching for a specific email Subject: header? Do I need an
OnEmailChecked event script, or is there some other way like...

 !MagicallyCallApplication(MyScript.py) subject "New Updates"

Yeah right... <grin>

Anyway, I have FileExecute() figured out, and a custom script with a
button in the tool bar that makes the updates a one click deal. I'd
still like to run it automatically though.

A "pseudo script" outline with the proper function names to scan
incoming email Subject: headers would be great, but I could deal with
just some pointers to what functions I need to be looking at too. I
don't mind filling in the blanks and figuring out a few things on my
own, but I'm a bit "lacking" when it comes to Pascal and Dialog
scripting so I don't really know where to begin.
Technical Details
Message-ID: <1qp56uceq0qwd$.dlg@x02x67invalid.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.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!wn12feed!worldnet.att.net!63.223.4.70!c01.usenetserver.com!news.usenetserver.com!fe39.usenetserver.com.POSTED!53ab2750!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <1qp56uceq0qwd$.dlg@x02x67invalid.net>
Subject: [Dialog] Action Item - notify application?
Date: Wed, 4 Aug 2004 12:33:09 -0400
From: Copelandia Cyanescens <synesthesia@invalid.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.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!wn12feed!worldnet.att.net!63.223.4.70!c01.usenetserver.com!news.usenetserver.com!fe39.usenetserver.com.POSTED!53ab2750!not-for-mail
Newsgroups: news.software.readers
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Organization: Sasquatch Militia - http://zapatopi.net/bsa/militia.html
X-Face: #H\apiUjjEK8Ja3*wVt%SPJA@|&vdM[x.Eaz$bt[9+F+wFbra!0>7>mc|vBZ~aml@SwFHO.
 [f*5q(tSr%], s6a*.VRjDw]jDh!ux[5o{tJ?3s>PZW+l&|}go?aN8/]>>MoPV!aOW!r,
 =e}y@dYw.(
 _{C\A65i!+Ua=dhjG@`6SH7!hD"Yz.4P"dPM2R+HeO8f+$Sf~6DnC~->Gylr??675z?I
X-Ultimate-Answer: 42
Lines: 26
X-Complaints-To: abuse@usenetserver.com
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly.
NNTP-Posting-Date: Wed, 04 Aug 2004 12:33:11 EDT