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

> I forgot to tell to replace X with your real cdrom drive letter...

I worked that out.  The tests I'm doing are with the replacement 

> Anyway, your code will always work with the first cdrom:
> 
> [EMAIL PROTECTED]("open cdaudio")
> [EMAIL PROTECTED]("set cdaudio door open notify",win.handle("c=PowerProMain"))

Ah, I was about to report that 

 [EMAIL PROTECTED]("set cdaudio door open notify", hHan)

returns 

  "Cannot use the 'notify' flag with auto-opened devices."

but I hadn't done the "open cdaudio" first.  Okay, will try that.

> [EMAIL PROTECTED]("close cdaudio")
> 
> I confirmed that this sends callback message 0x03B9 to PP using
> WinSpector. So, replace it with the handle of your own window:

Will do.
 
> > Oops, that should have crashed or at least thrown an error message.
> > You need one spec for each argument, _plus_ one for the return type.
 
> Yup right, but I noticed that sometimes I can omit the return type. I
> wonder if it's a consequence of the autohotkey's source, as ahk's
> documentation explicitly mentions the cases. I agree it's not a good
> practice though.
 
I need to go back through ahk source and find out why it works, and
alter docs to suit.  






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