xType special characters - comma, period, question mark

One way is to use SendKeys in PowerShell:

#Add for SendKeys
Add-Type -AssemblyName System.Windows.Forms

#Send the period
[System.Windows.Forms.SendKeys]::SendWait("(.)")

or Python or VBS: XType can't hold-down modifier keys [Workaround available]