The help for KEYSTACK seems to disallow unquotes strings except for key names, repeat counts, /W, and single characters. But this works.
And it says nothing about the following construction. This example opens the console's properties dialog.
v:\> keystack foo v:\> foo
keystack Alt-" p"