Nucleus handler tools › Docs › Context › EditRegKey

Context.EditRegKey

Open in the workbench (search, and try it in a handler)

Context.EditRegKey(
  baseKey: string | number | boolean,
  sKey: string | number | boolean,
  subKey: string | number | boolean,
  value: any,
  regType: Nucleus.RegType | number | boolean
): void

Edit a registry key for current user, baseKey can either be "HKEY_LOCAL_MACHINE" or "HKEY_CURRENT_USER".
EditRegKey uses a custom registry data type to use, by using Nucleus.RegType.DWord for example. The last word can be of the same name of RegistryValueKind enum.

✎ Parameters: AI-written from the Nucleus source.

Category: Registry

Handler API docs

Is this right? Tell us what's wrong
Stuck, or not sure? Ask other handler authors: Discordr/nucleuscoop