🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.eudora.mac
Article #11

Re: Password protect email client

#11
From: Nicholas Riley
Date: Sat, 17 Mar 2001 20:22
24 lines
2074 bytes
J.E. McGimpsey <news@NmOcSgPiAmMpsey.com> wrote:

>       open file "Email Disk" of folder "PGP Disks" of startup disk
>       -- Now loop until Email Disk has been successfully loaded
>       -- otherwise the script will try to open Eudora before
>       -- the Email disk pass phrase has been entered.      
>       repeat until (exists disk "Email Disk")

Busy waiting is usually a bad idea; instead, in my otherwise almost
identical script, I do:

        tell application "PGPdisk"
                activate
                with timeout of 24 * 60 * 60 seconds
                        open (alias "GraySystem:Documents:Eudora")
                end timeout
                quit
        end tell

which will wait for a day for the passphrase to be entered (hopefully
enough :-)

-- 
Nicholas Riley <njriley@uiuc edu>
Technical Details
Message-ID: <1eqf3vh.1yhom4348z5cmN%njriley@REMOVEuiuc.edu.invalid>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!vixen.cso.uiuc.edu!njriley
References: <1eq2xgc.1ex6c6i1t49pkwN@sdcax49-218.dialup.optusnet.com.au> <news-1570EC.07175710032001@nnrp01.earthlink.net> <3aaaa6bf$0$62143$2c3e98f8@news.voyager.net> <news-38ECC4.22211110032001@nnrp06.earthlink.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10e148,573252b60dbe0913
X-Google-Attributes: gid10e148,public
X-Google-Thread: 10f6fd,573252b60dbe0913
X-Google-Attributes: gid10f6fd,public
X-Google-Thread: 10b5e3,573252b60dbe0913
X-Google-Attributes: gid10b5e3,public
X-Google-ArrivalTime: 2001-03-17 12:24:03 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!vixen.cso.uiuc.edu!njriley
Newsgroups: comp.mail.eudora.mac,aus.computers.mac,comp.sys.mac.misc
Subject: Re: Password protect email client
From: njriley@REMOVEuiuc.edu.invalid (Nicholas Riley)
Message-ID: <1eqf3vh.1yhom4348z5cmN%njriley@REMOVEuiuc.edu.invalid>
References: <1eq2xgc.1ex6c6i1t49pkwN@sdcax49-218.dialup.optusnet.com.au> <news-1570EC.07175710032001@nnrp01.earthlink.net> <3aaaa6bf$0$62143$2c3e98f8@news.voyager.net> <news-38ECC4.22211110032001@nnrp06.earthlink.net>
User-Agent: MacSOUP/2.4.6
Lines: 24
Date: Sat, 17 Mar 2001 14:22:21 -0600
NNTP-Posting-Host: 128.174.237.177
X-Complaints-To: abuse@uiuc.edu
X-Trace: vixen.cso.uiuc.edu 984860470 128.174.237.177 (Sat, 17 Mar 2001 14:21:10 CST)
NNTP-Posting-Date: Sat, 17 Mar 2001 14:21:10 CST
Organization: University of Illinois at Urbana-Champaign