Odd behavior with 'set to every file whose'
Odd behavior with 'set to every file whose'
- Subject: Odd behavior with 'set to every file whose'
- From: "Brian J. Geiger" <email@hidden>
- Date: Fri, 09 Aug 2002 16:39:00 -0400
Although I am becoming discouraged since almost every question I pose is
unanswered (I presume because I ask such difficult questions that nobody
really knows the answers ;-), I figured I'd try once again. I am attempting
to build an alias list of files on a networked drive (the drive I'm
connecting to is hosted by OS X server, HFS +). The script is is OS 9.22.
AS 1.83.
The snippet is:
Tell application "Finder" to set fileList to (every file in (sourceDirectory
as alias) ) as alias list
The problem is that every now and then it claims that I get an error -2763,
"No result was returned from some part of this expression." The highlighted
bit when this error shows up is the 'alias list'. This happens between runs
with no change in the script code.
The other question, while you're here, is how I can just get a list of all
the Quark Files (file creator "QXP3"). I've tried a few things with the
whose clause, but nothing that seems to actually work. I keep getting empty
lists. That one is probably just something dumb on my part.
Thanks in advance,
Brian
Sent using the Entourage X Test Drive.
_______________________________________________
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.