Hi all - I am trying to develop a basic script to use in Colloquy on IRC. What I'd like to do is have a boilerplate text that doesn't change, but would allow me to add to the entire message before it's sent to the channel.
This is where I'm at now:
tell application "Colloquy"
tell active panel of front window
send message "Exit all ES @ "
end tell
end tell
What I'm trying to do is allow that boilerplate text to be the start of a message being sent to an IRC channel, but allow me to add some more info and hit return before it gets sent to the channel.
Right now, if I run the script, it sends "Exit all ES @ " to the channel.
What I'd like to be able to do is have it print the "Exit all ES @ " in my Colloquy chatbox, but then let me add "XXX.XX" and then post the whole thing upon my hitting return....so that what gets to the IRC channel is:
"Exit all ES @ 901.25" or "Exit all ES @ 112.50" instead of just "Exit all ES @ " as the current script reads.
Any ideas or help? I've trawled Google and Apple but don't see anything that might lead me to this. Thanks in advance!
(By way of background, I'm trying to automate the posting of some stock market trading stuff I'm experimenting with in an IRC chatroom. It'd be much easier to script the automatic boilerplate than keep typing stuff.)
Thanks again!