@ -14,8 +14,8 @@ if not Orchestrator.OrchestratorIsAdmin():
Orchestrator.OrchestratorRerunAsAdmin()
Orchestrator.OrchestratorRerunAsAdmin()
print(f"Orchestrator will be run as administrator!")
print(f"Orchestrator will be run as administrator!")
elif__name__=="__main__":# New init way - allow run as module -m PyOpenRPA.Orchestrator
elif__name__=="__main__":# New init way - allow run as module -m PyOpenRPA.Orchestrator
#gSettings = Orchestrator.GSettingsGet()
gSettings=Orchestrator.GSettingsGet()
gSettings=SettingsTemplate.Create(inModeStr="BASIC")# Create GSettings with basic configuration - no more config is available from the box - you can create own
#gSettings = SettingsTemplate.Create(inModeStr="BASIC") # Create GSettings with basic configuration - no more config is available from the box - you can create own
# TEST Add User ND - Add Login ND to superuser of the Orchestrator
# TEST Add User ND - Add Login ND to superuser of the Orchestrator
else:raiseException(f"pyOpenRPA Exception: You can't use Orchestrator.ProcessorAliasDefUpdate with arg 'inDef' string value. inDef is '{inDef}', inAliasStr is '{inAliasStr}'")
else:raiseException(f"pyOpenRPA Exception: You can't use Orchestrator.ProcessorAliasDefUpdate with arg 'inDef' string value. inDef is '{inDef}', inAliasStr is '{inAliasStr}'")