Ticket #1193 (closed Defect: invalid)

Opened 4 years ago

Last modified 4 years ago

Cannot send more than 1 word with a PRIVMSG from a script

Reported by: georgekodinov Owned by: timothy
Priority: High Milestone:
Component: AppleScript Support Version: 2.1 (Mac)
Severity: Critical Keywords: PRIVMSG script raw command
Cc:

Description

I need to make a script that does the equivalent of writing "/msg user test1 test2" on the command window.

I'm a total noob re. applescript. I've forged the following piece of code :

tell application "Colloquy"

tell connection of active panel of front window to send raw command "PRIVMSG joro test1 test2"

end tell

This kindof does what's needed, but I only get "PRIVMSG joro test1" sent to the server. The text is cut to the first space.
Is this a bug or a feature and how do I get around it (using single quotes didn't work).

Change History

Changed 4 years ago by timothy

  • status changed from new to closed
  • resolution set to invalid

This needs to be:

tell connection of active panel of front window to send raw command "PRIVMSG joro :test1 test2"

Note: See TracTickets for help on using tickets.