integer reaper.SetProjExtState(ReaProject proj, string extname, string key, string value) Params: ReaProject proj: The project-number. 0 for the current project. string extname: The section, in which the key/value is stored. Use name of script. string key: The key, that stores the value. Example: "settings" string value: The value, that's stored in the key. If key is NULL or "", all extended data for that extname will be deleted. If val is NULL or "", the data previously associated with that key will be deleted. Returns the size of the state for this extname. If val is "" it returns size = 2.