Thank you. Unfortunately, those codes work in most text editors, but not in the particular program I need the function for: Onenote. The first code does nothing, the other codes create a table, which is default Onenote behavior when pressing Tab.
It seems to be Onenote's fault, though, as attempting to paste a tab space normally from another text editor (ie: without using AHK) does nothing either. However, I can copy tab spaces from Onenote itself and paste it anywhere on Onenote. I don't suppose anyone know how to mimic that behavior with AHK?