Finder scripting: OS 9 vs OS X
Finder scripting: OS 9 vs OS X
- Subject: Finder scripting: OS 9 vs OS X
- From: "Fox, Christopher B" <email@hidden>
- Date: Thu, 15 Aug 2002 11:46:32 -0400
I'm sure this question has been answered here before, so I apologize
in advance for the duplication. However, I couldn't find the answer in the
archive.
Why does the following script work fine in Mac OS 9.2.2 (AS 1.8.3), but fail
in Mac OS X 10.1.5?
tell application "Finder"
set theFiles to every file of (choose folder)
repeat with aFile in theFiles
set fileInfo to info for aFile
end repeat
end tell
Mac OS X 10.1.5 complains, "Finder got an error: File document file <file
name> wasn't found."
Thanks.
Christopher Fox
Senior Support Technician
Solicitations IT
Capital One
cel: 804-301-4117
tel: 804-967-1553
fax: 804-968-2052
**************************************************************************
The information transmitted herewith is sensitive information intended only
for use by the individual or entity to which it is addressed. If the reader
of this message is not the intended recipient, you are hereby notified that
any review, retransmission, dissemination, distribution, copying or other
use of, or taking of any action in reliance upon this information is
strictly prohibited. If you have received this communication in error,
please contact the sender and delete the material from your computer.
_______________________________________________
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.