• 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
Why isn't this delete file command working?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Why isn't this delete file command working?


  • Subject: Why isn't this delete file command working?
  • From: email@hidden
  • Date: Wed, 18 Sep 2002 11:00:19 EDT

I've got an Applescript that goes through and deletes a bunch of things that
an installer put in place. Everything deletes fine until I get to one line
of code:

if file "MacPoET INIT" of +class extn; exists then
delete file "MacPoET INIT" of +class extn;
end if


Applescript doesn't like the "delete file" line. The file definetely
exists, so I don't know why I'm getting an error. I'm getting a -1728
error. Could it be that I'm not allowed to delete INITs in Applescript
under OS 9?
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Why isn't this delete file command working?
      • From: Dave Kelly <email@hidden>
  • Prev by Date: Re: Droplet Problem
  • Next by Date: RE: Re: Folder Actions
  • Previous by thread: Re: Macintosh Scripting
  • Next by thread: Re: Why isn't this delete file command working?
  • Index(es):
    • Date
    • Thread