• 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
iChat idle status bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

iChat idle status bug?


  • Subject: iChat idle status bug?
  • From: Bill White <email@hidden>
  • Date: Fri, 09 Apr 2004 12:55:14 -0400

Can anyone tell me what's going on here?

tell application "iChat"

set a to count status of every account --> 25

set b to status of every account
--> the expected list, which includes three idle accounts

set c1 to count (every account whose status is offline) --> 13
set c2 to count (every account whose status is available) --> 6
set c3 to count (every account whose status is unknown) --> 3
set c4 to count (every account whose status is away) --> 0

-- so now c5 (below) *should* yield 3 = 25 - (13 + 6 + 3 + 0), but...

set c5 to count (every account whose status is idle)

--> error: "No result was returned from some part of this expression"

end tell

And here's another example:

tell application "iChat"

set x to status of account "Person 1" -- an active account
if x is available then beep -- beeps as expected

set y to status of account "Person 2" -- an idle account
if y is idle then beep
--> error: "No result was returned from some part of this expression"

end tell

This worked, AFAIK, in the last version of iChat, but seems to break in 2.1?

Thanks!

--Bill
_______________________________________________
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: Re: Dummies coverage
  • Next by Date: More iChat misbehavior
  • Previous by thread: Re: Dummies coverage
  • Next by thread: More iChat misbehavior
  • Index(es):
    • Date
    • Thread