[Adium-devl] AppleScript status bug (Trac #8687)

Evan Schoenberg evan.s at dreskin.net
Mon Dec 31 14:59:23 UTC 2007


On Dec 31, 2007, at 12:11 AM, David Symonds wrote:

> However, applying that to statuses doesn't: [#2]
> 	tell application "Adium"
> 		set stat to first status whose title is "Home" and type is away
> 		get message of stat
> 	end tell
> This fails with an error saying: "Adium got an error:
> NSReceiverEvaluationScriptError: 4"
>
> Oddly enough, rephrasing it slightly works just fine: [#3]
> 	tell application "Adium"
> 		get message of first status whose title is "Home" and type is away
> 	end tell
>

I can't run either of these, before or after r22078, because  
Applescript complains:
"Adium got an error: Can’t make type into type specifier."

What are you doing to get around that / do you have any idea what's  
wrong?

> It could be completely unrelated, but the 'id' property of the status
> class is declared as 'text', whereas the 'id' properties of other
> classes (window, account) are declared as 'integer'. Could that be the
> reason? The chat class is a notable exception: its 'id' property is
> also 'text'.
It could be completely related - that's a good catch.  Try changing it  
to "integer" and let us know if it fixes the problem :)

Cheers,
Evan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20071231/f27fc411/attachment-0001.html>


More information about the devel mailing list