ApplesauceOS
Read Markdown ↗Download .md

C.getInfo

Inspect the target process/session.

js
client.getInfo()

Arguments

No arguments.

Returns

Object {pid, processName, bundleId, sessionId, retainedObjects}. retainedObjects is the current session’s retained-reference count.

Example

js
console.log(C.getInfo());

Notes

Shares ObjC session lifecycle. Closing/reconnecting either API invalidates both sets of references.

All JavaScript APIs · Automation playbook