Thanks in advance. I’d be grateful for any advice on this.
I’ve been having a problem with a script that I wrote for teachers at my school. It worked fine under Tiger, but it doesn’t work properly under Leopard.
Among other things, the script duplicates files into folders on a network volume. The network volume contains about 1,000 folders, which have permissions set (not my idea to put all 1,000 folders in the same place, btw). Each student has read/write permission for only one folder, while all teachers have write permission for all of the folders.
In Tiger (10.4.9) the script runs and Finder duplicates the files in a matter of seconds. In Leopard (10.5.1), the script runs but Finder goes unresponsive for about 5 full minutes before it accomplishes the duplication (meanwhile the script has long since timed out.)
The following simple script produces the same behavior:
tell application "finder"
open disk "student" -->disk "student" contains about 1,000 folders
end tell
Under Tiger (10.4.9), The script runs, Finder pops up a window within seconds, and the script quits. But then Finder takes a minute or two to load up the 1,000 folders in that window. During that time, Finder remains responsive.
Under Leopard (10.5.1), Finder goes unresponsive for 5 full minutes before it pops up the window, meanwhile the script throws the timeout error message. When the Finder window does finally pop up, though, it is displaying all of the folders already.
Has anybody else experienced this behavior? Is this an Applescript issue? A Finder issue? A network permissions issue? Should I tell Apple about it?
I’d be grateful for any advice.
Model: macbook
AppleScript: 1.10.7
Browser: Safari 419.3
Operating System: Mac OS X (10.4)