I am getting some odd behavior when getting messages from the transcript:
This works
tell application "Colloquy"
count messages of transcript of (active panel of window 1)
end tell
This doesn't work
tell application "Colloquy"
tell (active panel of window 1)
count messages of transcript
end tell
end tell
It causes the error "Could not identify the element type of the Count command."
My guess is that may be related to the fact that transcript is a property of panel, rather than an element. Even though it is a property It should still work to do
tell application "Colloquy"
tell (active panel of window 1)
tell transcript
count messages
end tell
end tell
end tell
Certainly 'transcript' just returns the constant 'transcript' rather than a transcript object.
Also I am getting odd errors when I do
messages of transcript of (active panel of window 1) whose sender is "Brennan"
It's telling me things like "The message id MKUW4ZX6S3 doesn't have the "sender" property."
OK this is probably a different bug.