'whose' difficulties
'whose' difficulties
- Subject: 'whose' difficulties
- From: "Brian J. Geiger" <email@hidden>
- Date: Wed, 4 Sep 2002 18:57:30 -0400
It's always the little things, it seems. Except, um, when it's the big
things. Yeah.
In this case, I can't seem to get the whose clause to work properly in
Jaguar, AS 1.9. For example:
---
property source1 : "Rew
Data:Pages:REW:Current Issue:Current Ads:"
tell application "Finder"
set theList to (every item of alias source1)
end tell
---
works great. However,
---
property source1 : "Rew
Data:Pages:REW:Current Issue:Current Ads:"
tell application "Finder"
set theList to (every item of alias source1 whose file type !A "xxxx")
end tell
---
doesn't work at all. It claims it can't get every item...whose file
type /= "xxxx". I assure you that no file has a creator of "xxxx" in
that folder. To test, I ran the first code snippet with the following
line at the end:
---
file type of (get info for first item of theList) !A "xxxx"
---
and it returned 'true'. Code snippets that I've pulled from the list
with the whose clause in the finder aren't working either. Code that
worked in OS 9 with the whose clause and label indices doesn't work,
either. I have no idea why. Am I doing something wrong?
Thanks,
Brian
_______________________________________________
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.