ID:159858
 
How can I get an input window to change its' default command during runtime, say after using a toggle verb of some kind
winset(src,"inputcontrol","command='MyCommand '")
In response to Nadrew
Aah, thank you kindly.
client.command_text = "myCommand "

That worked for me as well.
In response to Mizukouken Ketsu
From the DM reference:

"(Note: In BYOND 4.0 this var is deprecated. The command parameter for an Input control can be set to !command which does the same thing. See the skin reference for details.)"