Opened 14 years ago

Last modified 14 years ago

#601 new Defect

Actions sent via AppleScript to private sessions do not show

Reported by: Allan Odgaard Owned by: timothy
Component: Colloquy (Mac) Version: 2.2 (Mac)
Severity: Minor Keywords: HTML text & display bug convert


Start a private chat with me (allan @ freenode) and then run this from Script Editor:

tell app "Colloquy"

send message "testing" action tense yes to target of item 1 of (panels where name = "allan")

end tell

Expected result is a: “• «your nick» testing” showing in the private chat.

Actual result is that nothing is shown in the senders chat session. The message does however arrive.

Why it matters (to me): I have a command in my text editor which pastes the current selection and sends such an AppleScript? message (to whom I choose), and it would be nice with the confirmation of the message having been sent, plus being able to click the paste service link myself (to inspect that it looks as I expect.)

Change History (1)

comment:1 Changed 14 years ago by brennan@…

  • Keywords HTML text & display bug convert added

This may be a duplicate of although there is something else here. Just like me, Allan assumed that 'with action tense' would send the message as an action, and if I understand it correctly, that's not exactly what it does.

Given that at least two scripters have been misled about this, I'd argue that 'with action tense' is poorly documented and/or poorly named.

Ticket 338 throws more light on the issue. In essence, AppleScripters? really need a simple way to perform an action without having to use raw syntax.

Note: See TracTickets for help on using tickets.