• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
'whose' difficulties
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

'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 : "RewData:Pages:REW:Current Issue:Current Ads:"
tell application "Finder"
set theList to (every item of alias source1)
end tell
---

works great. However,

---
property source1 : "RewData: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.

  • Prev by Date: Get/set login items
  • Next by Date: Re: (9.2.2) Path To...
  • Previous by thread: Get/set login items
  • Next by thread: Unicode 'as string' = unicode?
  • Index(es):
    • Date
    • Thread