--- In [email protected], "swzoh" <[EMAIL PROTECTED]> wrote:

> worked. Then, I just concluded the developer just forgot to update the
> help file:
> com.method(au3,"RegDeleteKey","keyname")
> com.method(au3,"RegDeleteVal","keyname","valuename")

Okay, thanks to a clever technique I picked up from Bruce's code,
it was easy to add RegDeleteKey and RegDeleteVal to au3.dll.  I'll
post up new version momentarily.

 
> BTW, during the test I noticed I couldn't use blank for valuename,
> even the following didn't work:
> com.method_typed(au3,"RegDeleteVal","sv","keyname","sv","")
> I don't know if it's a bug of AutoItX3.dll or that of com.dll or a
> fault of myself.

I assume you're trying to delete the default value of a key?

Do the research for me.  Try  

 au3.RegDeleteVal("keyname","")

and let me know what happens.  

  -- If it works, there's a problem with com plugin.  I'll look
     into it.

  -- If it doesn't work, that's the way the autoIt function works.
     Most likely there's some other way to specify the default
     value.  Maybe if you call RegDeleteVal with just the key name?
     (That won't work in new version of au3: I'd have to adapt to
     fix it).  Maybe you can find out by asking on autoIt function

> Anyway, after your post, I just searched AutoIt forum:

...snip...

> 'RegDeleteKey' & 'RegDeleteVal' seem to be there for ages!

Ta.  
 




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/JV_rlB/TM
--------------------------------------------------------------------~-> 

Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to