For some commands you can
Code:
local editbox = ChatEdit_ChooseBoxForSend(DEFAULT_CHAT_FRAME)
ChatEdit_ActivateChat(editbox)
editbox:SetText("/readycheck") --not sure if this particular command requires a hardware click or not
ChatEdit_OnEnterPressed(editbox)
I do this when I want my addon to use a slash command of another addon.