--- In [email protected], "entropyreduction" <[EMAIL PROTECTED]> wrote:
> > > I'll look into AutoItX3.dll changes.  How did you find out about the
> > > new AutoItX3 services if they're not in help?
> > 
> > In a text/hex editor.
> 
> Hmmph. 
> 
> I'm not to keen on supporting  unsupported feature of autoIt,
> especially something as potentially dangerous as deleting chunks of
> the registry.
> 
> the services in the reg plugin that delete4 stuff are hedged around by
> constraints:  There's a ini key you can set to force confirmations if
> you try to delete something, and if I remember you're not allowed to
> delete a key which has subkeys.
> 
> If you can direct me to some discussion on some autoIt site that
> convinces me that their code for deleteRegKey and deleteRegValue
> is regarded as stable, and which gives my exact details of their
> arguments and return types, I'll be happy to interface to them.
> 
> Meanwhile I notice I based au3.dll on 3.1.0 and they've moved onto
> 3.1.1.  I'll update my autoIt installation and see if there's anything
> else different.

As a matter of fact I was not that serious about these functions. What
I was actually after was the function 'CDTray', after I failed to
control my second CD/DVD Rom via PP using mci().

I just read that 'RegDelete' was not supported in au3.txt, and found
that the time stamp of AutoItX3.dll in my machine was newer than that
of au3.dll, so I looked into AutoItX3.dll and came up with
'RegDeleteKey' & 'RegDeleteVal', instead of a single 'RegDelete'. But,
as these were not documented in even the newer AutoItX.chm (still
RegDelete was in it) I couldn't know if they were actually supported
or not. It seemed to be a good chance to try com.dll for me, so I
managed these functions via com.dll and found out they actually
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")

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.

Anyway, after your post, I just searched AutoIt forum:
http://www.autoitscript.com/forum/index.php?act=Search&CODE=simpleresults&sid=c103dbf644c611ce9e52d36a8b2a7bf9&highlite=RegDeleteKey+RegDeleteVal

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

Sean





------------------------ 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