What It Does
System:powerDialog is Blocked by ScriptPolicyGuard: high-impact power dialog command. It can appear in the compatibility inventory, but it must not be used in normal macro code or AI-generated code.
System:powerDialog is Blocked by ScriptPolicyGuard: high-impact power dialog command. Do not use it in normal macro code or AI-generated code.
System:powerDialog is Blocked by ScriptPolicyGuard: high-impact power dialog command. It can appear in the compatibility inventory, but it must not be used in normal macro code or AI-generated code.
Do not use it in production macros. If the user asks for this behavior, state that it is unsupported and stop the macro safely.
Parameter and return details are not actionable here; the call is blocked by the policy gate.
Use logging, user notification, and requestStop() for safe exit instead of this call.
The snippet below is a starter pattern that can be applied directly in runtime flow.
-- System:powerDialog is blocked by ScriptPolicyGuard
print("System:powerDialog is blocked by policy")
requestStop()From foundation to combined usage, each level is provided as a separate code block so you can copy the level you need and adapt it directly.
This blocked-call example uses logging and graceful stop instead of invoking the blocked API.
-- System:powerDialog is blocked by Macro Handler policy.
print("System:powerDialog is blocked by ScriptPolicyGuard")
requestStop()-- System:powerDialog is blocked by Macro Handler policy.
print("System:powerDialog is blocked by ScriptPolicyGuard")
requestStop()This blocked-call example uses logging and graceful stop instead of invoking the blocked API.
-- System:powerDialog is blocked by Macro Handler policy.
print("System:powerDialog is blocked by ScriptPolicyGuard")
requestStop()This blocked-call example uses logging and graceful stop instead of invoking the blocked API.
-- System:powerDialog is blocked by Macro Handler policy.
print("System:powerDialog is blocked by ScriptPolicyGuard")
requestStop()This blocked-call example uses logging and graceful stop instead of invoking the blocked API.
-- System:powerDialog is blocked by Macro Handler policy.
print("System:powerDialog is blocked by ScriptPolicyGuard")
requestStop()