Sure you can
--------------------------------------------------------------
F5::
Send, {F2}
Sleep, 300
Send, {space}
Sleep, 300
ClipSaved := ClipboardAll ; save clipboard
clipboard = Whale noises
; ClipWait
Send, ^v
clipboard := ClipSaved ; restore original clipboard
Send, {Enter}
Sleep, 300
Send, {Escape}
Sleep, 300
Send, {Escape}
return
--------------------------------------------------------------
Like this
When pressing F5, this AHK script:
opens the comms [F2],
activates the text field [space],
inserts the text to clipboard,
pastes it,
restores clipboard,
sends the message to your current target [enter]
and finally returns you to the point where it started.
Hope this helps.
-CMDR Saarinen