If you're referring specifically to saving text from the clipboard to a file, the "{CLIP}" token can be used, however if the text you are copying contains pairs or curly braces ("{" followed by "}"), those would be removed by the token parser.
To work around that, the contents of the clipboard need to be escaped, which must be done using an inline function, as the "Replace with" option of the "Set a Text Value" action is applied after the token parser (by necessity; otherwise you wouldn't be able to get values from tokens).
This C# inline function should serve that purpose for normal text input:
using System.Windows.Forms;
public class VAInline
{
public void main()
{
VA.SetText("~clipboardText", Clipboard.GetText().Replace("{", "||{").Replace("}", "||}"));
}
}
which could then be followed by the "Write Text to a File" action:
Write (do not overwrite), '{TXT:~clipboardText}' to file 'C:\Users\Sysadmin\Desktop\clipboardText.txt'
Do note that the "{TXT:}" token, specifically, seemingly cannot be escaped correctly in VoiceAttack v1.10.6.14 or earlier (E.G. "{TXT:my text}" in the clipboard would result in "|Not set" written to the file, whereas something like"{BOOL:my bool}" would correctly result in "{BOOL:my bool}")