[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] VCard - Seek and destroy script



On Fri, 11 Aug 2000 14:19:51 -0400, Chris Nandor wrote:

>>I would think that it would be easier and more reliable to hard code the
>>path to where the .vcf files are likely to be, in a global variable set at
>>the top of seek and destroy scripts.  (Of course, then a CD becomes a bad
>>venue from which to run the script.)
>
>Well, yes, you can set $dir there to be whatever you want.

Once.

I'm pretty sure that John implied using it on another computer.

Are there ways to make Eudora tell you it's directory settings? In that
case, AppleEvents can help and tell you.

If you must do it by hand, why not put a "kill VCF files" file with
hardcoded file paths in the preferences folder. Simple format: one per
text line. You can fall back onto the default search, maybe even create
a default preferences file, if one doesn't exist.

But File::Find probably still is easier than traversing each directory
by handwritten code.

-- 
	Bart.

# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org