• 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
Re: OS X deleteFile
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OS X deleteFile


  • Subject: Re: OS X deleteFile
  • From: Shane Stanley <email@hidden>
  • Date: Fri, 25 Oct 2002 08:23:38 +1000

On 25/10/02 3:12 AM +1000, ken, email@hidden, wrote:

> 1) Pre-OS X I could delete a file with Jon's
> commands deleteFile command and avoid
> using the Finder and the need to empty the
> trash.
>
> Is there an equivalent way to delete a file in OS X
> without the need to empty the trash?

Yes: use Jon's for OS X.
>
> 2) A related question:
>
> I am generating many temporary files using:
>
> set theFile to open for access (yadda yadda)
>
> Is there some way that I can use the reference
> to the file in the variable "theFile" to delete it or
> will I have to tell the Finder the path and file
> name? The variable "theFile" just contains what
> looks like an integer, but I suspect it's some
> other kind of reference. In any case, the Finder
> doesn't know what to do with it.

No, you can't use it. And it's meaningless once the file is closed anyway.

--
Shane Stanley, email@hidden
_______________________________________________
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.

References: 
 >OS X deleteFile (From: "ken " <email@hidden>)

  • Prev by Date: Blank dictionary window?
  • Next by Date: Re: clipboard use
  • Previous by thread: OS X deleteFile
  • Next by thread: Re: OS X deleteFile
  • Index(es):
    • Date
    • Thread