I have a startup command run when the profile is launched
In this, at the very end, I have it check a variable. As the variable is not saved to profile, it does not exist, and thus, not set
If it sees that the variable is not set, I have it set the variable to TRUE, and then reset the profile.
When the profile is reset, as VA has not closed, now the variable is set to TRUE, and when it redoes all the startup commands, it sees "TRUE", skips the reset and then finishes the startup command. I have mine then play a chirp sound to let me know that the profile is loaded, but at that point all the other variables are now loaded into VA as well, including the token for the other commands.
In the startup command:
Begin Boolean Compare : [>>initOnce] Has Not Been Set
Execute command, 'reset profile' (and wait until it completes)
End Condition
In the reset profile command:
Begin Condition : [>>initOnce] Equals False OR [{CMDACTION}] Does Not Equal 'Profile'
Write [color] 'RESETTING NEW COMMAND' to log
Set Boolean [>>initOnce] to True
Reset the active profile
End Condition