🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #199413

Re: Pan on Mac via MacPorts

#199413
From: Raincoater
Date: Sat, 12 May 2007 22:10
30 lines
2558 bytes
On Fri, 27 Apr 2007 20:22:13 -0700, raincoater wrote:

> Via some miracle I managed to get Pan running on my MacBook via MacPorts.
> I am seeking a way to automatically view a jpeg afer downloading, either
> natively or by launching an external viewer.
> Any tips, hints, leads etc. would be much appreciated.
> -raincoater

To answer my own question for those two of you who might be interested, it
dawned on me that as OSX is an easily scripted operating system, an
apple script would be the ticket.
My reason for wishing to launch a jpeg upon download is due to the often
cryptic names used in alt.binaries.amp. Usually the subject is obvious and
thus the choice whether to grab or not is equally obvious. But I have
discovered some collections there that are gems, through sampling a post
or two from non descriptively named collections. Thus my need to, on
occasion, immediately see a scan.
Sadly, I do not know how to write applescript as yet, but I did find a
shareware program called 'Hazel' which appears to be, at least in part, a
front end for applescript. In any event it allows an 'if, then' dialogue
that allowed me to tell the OS to launch a jpeg if one appears in a
particular folder. Thus, if I am sampling scans from a mystery collection,
I use Pan's 'Save Attachment As' command to save the post to a 'mystery
collection' folder and, sure enough, the picture pops up in JView.
Kludgey[sp?], yes, but it works well enough for my purposes.
-raincoater

-- 
Posted via a free Usenet account from http://www.teranews.com
Technical Details
Message-ID: <pan.2007.05.12.22.10.10.689079@hotmail.invalid>
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!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news2.google.com!news.glorb.com!nntpserver.com!zeus.nntpserver.com!10.1.1.41.MISMATCH!pfilter-v0.1!not-for-mail
References: <f0ub4k$kd5$1@aioe.org>

Show Full Headers
Complete Article Headers
Message-ID: <pan.2007.05.12.22.10.10.689079@hotmail.invalid>
Subject: Re: Pan on Mac via MacPorts
Date: Sat, 12 May 2007 15:10:11 -0700
From: Raincoater <raincoater@hotmail.invalid>
References: <f0ub4k$kd5$1@aioe.org>
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!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news2.google.com!news.glorb.com!nntpserver.com!zeus.nntpserver.com!10.1.1.41.MISMATCH!pfilter-v0.1!not-for-mail
User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing
 moment of clarity.)
Newsgroups: news.software.readers
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Lines: 26
NNTP-Posting-Date: 12 May 2007 21:17:34 GMT
X-Complaints-To: abuse@teranews.com