• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Deleting INBOX.msf for Netscape Email
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Deleting INBOX.msf for Netscape Email


  • Subject: Deleting INBOX.msf for Netscape Email
  • From: "Joe Forzano" <email@hidden>
  • Date: Tue, 01 Aug 2006 16:35:11 -0400

Hey All,

I've got ths script below to trash the INBOX.msf file for a Netscape email user.  It's set to a specific user only at this point.  I'd like to be able to use the script on any users mac, but I can't figure out how to set the following:

1. User directory (the user directory can either be the mac user's name or default).
2. The .slt directory (which is different on every user account).

Any help would be greatly appreciaited.

Here's the script as written for a single user:

------------------------------------------------------
-- trash1969.scpt
-- august 01, 2006
-- version 1.0 beta
------------------------------------------------------
set myHome to path to home folder as string
set mailSpool to (myHome & "Library:Mozilla:Profiles:user name here:x9qnghco.slt:ImapMail:mail.pbpost.com") as string

tell application "System Events"
   if application process "mozilla-bin" exists then
       tell application "Netscape"
           quit
       end tell
   end if
end tell

tell application "Finder"
   try
       delete (files of folder mailSpool whose name contains "INBOX.msf")
   end try
end tell

display dialog "1969 messages should be deleted. Click Restart Netscape to continue." buttons {"Restart Netscape", "Cancel"} default button 1 with

tell application "Netscape"
   activate
end tell
icon 2
------------------------------------------------------
--
Joe Forzano
Editorial Systems Editor
Palm Beach Post
email@hidden
(561) 820-4565
www.palmbeachpost.com
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Deleting INBOX.msf for Netscape Email
      • From: Axel Luttgens <email@hidden>
  • Prev by Date: Re: Filemaker 8.5 and current record syntax
  • Next by Date: Re: get selected text of message in Mail?
  • Previous by thread: WWDC and job opportunities.
  • Next by thread: Re: Deleting INBOX.msf for Netscape Email
  • Index(es):
    • Date
    • Thread