• 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: Empty folder left in trash
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

re: Empty folder left in trash


  • Subject: re: Empty folder left in trash
  • From: "Kabbes, Dan-DLI" <email@hidden>
  • Date: Mon, 22 Jan 2001 10:29:19 -0500

I have the same experience using very vanilla AS when I run an applet with similar language:
(please forgive what probably is my inefficient use of AS - I think I recorded this)

tell application "Finder"
activate
select folder "Current Order" of folder "Artwork" of folder "Workflow" in the startup disk
delete selection
make new folder at folder "Artwork" of folder "Workflow" of startup disk
tell folder "untitled folder" of folder "Artwork" of folder "Workflow" of startup disk
set name to "Current Order"
end tell

When I instruct the trash to empty, I get a message that I can't delete because it is in use. It is inconvenient but the old return stroke takes care of it.

> All of the items in the folder are deleted
> but the folder remains in the Trash. Quitting Scripter allows the
> Trash to be emptied normally and the offending folder is then
> deleted. I haven't noticed this behavior with any other applications.
>
> -- end tell
>
> -- question subscribers
>
> Has anyone else seen this behavior or is there some "Real Bad Thing"
> going on with my system?

[demime 0.97c removed an attachment of type text/x-vcard which had a name of dkabbes.vcf]


  • Prev by Date: A simple dialog question
  • Next by Date: Sound Scripting osax
  • Previous by thread: Re: Monitoring processes
  • Next by thread: Sound Scripting osax
  • Index(es):
    • Date
    • Thread