[Adium-devl] AppleScript status bug (Trac #8687)
Evan Schoenberg
evan.s at dreskin.net
Mon Dec 31 15:33:38 UTC 2007
On Dec 31, 2007, at 9:23 AM, Matt Handley wrote:
> However, your code itself, modified slightly for my machine seems to
> work fine:
>
> tell application "Adium"
> set stat to first status whose title is "Test awesomeness" and type
> is away
> get message of stat
> end tell
>
> "thing" --the correct response
>
> Plus, on my machine, unless I explicitly ask for some index out of
> range, as in the first example, I am unable to generate the same
> error message. So, I suspect it has something to do with the
> statuses in your copy of Adium. What are they, and how did you make
> them (using the Custom... line? Using the Edit Statuses menu?, etc...)
>
With the type of the ID set to "text" I get errors, but changing it to
"integer" I can do:
tell application "Adium"
set stat to first status whose title is "Home"
get message of stat
end tell
and all is well.
However, even after being sure to have only one copy of Adium running
and launching it before running Script Editor, I get "Adium got an
error: Can’t make type into type specifier." when running:
tell application "Adium"
set stat to first status whose type is away
get message of stat
end tell
or simply
tell application "Adium"
get message of first status whose type is away
end tell
Thoughts?
-Evan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20071231/85f2df7d/attachment-0001.html>
More information about the devel
mailing list