List Folder errors
List Folder errors
- Subject: List Folder errors
- From: "Brandon Carpenter" <email@hidden>
- Date: Tue, 11 Dec 2001 08:13:52 -0600
On the desktop or folder on the Macintosh HD: or using a shared folder on
another mac this script works fine. When I attempt this script on a folder
on a mounted volume the property of aFolder reads alias "Ingest
1LoadImage:00881702022" or "Ingest 1:00881702022"
instead of the proper alias "Ingest 1:LoadImage:00881702022"
set aFolder to choose folder
try
set fileList to (list folder alias aFolder)
on error
set fileList to every file of aFolder as alias
end try
display dialog fileList as text
If I use the script List Files of a Folder from Macscripter.net the same
error occurs of the coericion of the path alias "Ingest 104577802102"
Also, the "of" doesn't seem to make a differance. The script will work just
fine with or without.
This script and others like it, still function properly on earlier versions
of Applescript.
Things I am looking into:
The mounted volume is a Wintel Volume. I am mounting the volume through
Dave using the IP address of the machine. I will try this mounting the
volume through other means.
Brandon Carpenter
806-352-6370 X 107
I find it ironic that I am surrounded by all these wonderful
gadgets that were supposed to make my life easier.
What life?