Thanks for the fast responses.
The 2 registry values I want to change I dont need input for, just their values.
So would I change the line "$RegHive1 = GUICtrlCreateInput("Reg Hive 1",50,50)" to the registry path? (i.e. "HKEY_LOCAL_MACHINE\SOFTWARE\TEST")