[Adium-devl] AppleScript status bug (Trac #8687)
Matt Handley
applmak at gmail.com
Mon Dec 31 15:05:11 UTC 2007
From what I understand, id as "integer" is not required; it's an old
standard that doesn't necessarily need to be that way now. "text" is
also acceptable.
Matt
On Dec 31, 2007, at 8:59 AM, Evan Schoenberg wrote:
>
> 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
> _______________________________________________
> Adium-devl mailing list
> Adium-devl at adiumx.com
> http://adiumx.com/mailman/listinfo/adium-devl_adiumx.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20071231/8cac0315/attachment-0001.html>
More information about the devel
mailing list