As I understand there is only way to read registry and there are no way to write?

Am I right?

Henrik Gemal wrote:
Alexander Rudenko wrote:

Is there are any way to read/write windows registry from extension?

Thanks.


Sure. Check the Launchy extension which uses the registry to search for applications.
http://gemal.dk/mozilla/launchy.html


getRegistryEntry is your friend
http://lxr.mozilla.org/mozilla/search?string=getRegistryEntry

Perhaps something like:

var winhooks = Components.classes["@mozilla.org/winhooks;1"].getService(Components.interfaces.nsIWindowsRegistry);

winhooks.getRegistryEntry(reg, reg_sub, reg_name);

_______________________________________________
Mozilla-xpcom mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to