Scripting Connections
Scripting connections to Power Manager Schedulers.
Authenticate the Connection
Authentication process and wait for the outcome.
tell application "Power Manager"
authenticate the local connection
end tell
Check if the Connection is Authenticated
Determine if the local connection is authenticated.
tell application "Power Manager"
if local connection is authenticated then
say "Connection is authenticated."
end if
end tell