• 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: Odd Finder Behavior
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Odd Finder Behavior


  • Subject: Re: Odd Finder Behavior
  • From: Peter Waibel <email@hidden>
  • Date: Mon, 4 Dec 2006 19:30:32 +0100


Once the script runs and finds files, downloads and deletes them, it no longer sees new files dropped into the directory. If a user opens the directory's window on the mac running the script, the user cannot see the new files. If a user opens the same directory's window on another mac that has the volume mounted, the files are visible on the other mac, but still not visible on the mac running the script.

On the mac where the script is running, if the user creates a new folder inside the directory, all the files become visible to the user and the script. (In fact, the work around in the script is to tell the finder to make a new folder and then delete it.)

This only occurs via AppleScript. If the files are copied and moved to the trash by a user, there is no problem.

Telling the finder to activate doesn't help; opening and/or closing the window doesn't help; using finder's "Udate" command has no effect; switching from Jon's commands to the finder for downloading and deleting the files seems to delay the behavior, but that may simply be that Jons commands is so much faster it's more likely to finish before new files appear.

I had similar problems on AFP mounts (SUN server with Helios AFP).

In most cases this was a problem at the server.
A corrupt desktop file or orhan resource forks.

But there are still some remaining problems with unvisible files.
I'm wondering whether finder's update has any effect on a mounted volume.


Meanwhile I try to avoid finder scripting when moving or copying files
and use the command line tool ditto instead.

Has anyone suggestion how to savely delete files (data and resource fork) on a mounted volume
without using finder scripting?


Peter


_______________________________________________ Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: Archives: http://lists.apple.com/mailman//archives/applescript-users

This email sent to email@hidden
  • Follow-Ups:
    • Re: Odd Finder Behavior
      • From: Shane Stanley <email@hidden>
References: 
 >RE: Odd Finder Behavior (From: "Stockly, Ed" <email@hidden>)

  • Prev by Date: Re: Quark print query, help required, please...
  • Next by Date: Re: Quark print query, help required, please...
  • Previous by thread: Re: Odd Finder Behavior
  • Next by thread: Re: Odd Finder Behavior
  • Index(es):
    • Date
    • Thread