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

Re: [MacPerl] VCard - Seek and destroy script



At 22:08 -0500 8/11/2000, Jeff Lowrey wrote:
>tell application "Eudora" to {setting 43,setting 45}
>
>This will return something like {"Downloads", "toothgnip:5231"}.
>
>So, this will tell you where to find the Eudora attachments folder.
>(For more info on Eudora x-settings, see
>http://www.eudora.com/techsupport/mac/download/X-Eudora-Settings.txt)

Ah...thanks.

This code will tell you the attachments folder for the currently-running
Eudora instance (program plus Eudora Settings file).  If Eudora is started
with a different Eudora Settings file, the attachments folder is
potentially different.  If Eudora isn't running when the AppleScript script
is run, then the same Eudora Settings file will be used as is used if the
application is double-clicked.

For those who run only one Eudora instance, none of that matters, and all
is well.

EXCEPT:  if you have never set the attachments folder setting, then the
above code returns
   {"", ""}

That means that the attachements folder is "the folder named 'Attachments
Folder' in the same folder as the Eudora Settings file (by whatever name
that file has) with which Eudora was started".

It happens that my mailing list Eudora instance returns the {"", ""}
result, which means the path is
   "Bainbridge:Documents:jwblist Eudora:Attachments Folder"
For my other two Eudora instances, the attachments folder is
   "Fox:Documents:Downloads"

Setting 7208 is the name of the active Eudora Settings file...I haven't
found how to learn the folder containing the Eudora Settings file.  (And I
haven't found the actual name used for "Attachments Folder" above...it's
possibly one of the "DO NOT LOCALIZE settings, in which case we're in luck.)

   --John
-- 
John Baxter   jwblist@olympus.net      Port Ludlow, WA, USA

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