PC Review


Reply
Thread Tools Rate Thread

Detect CD tray opening?

 
 
Terry Pinnell
Guest
Posts: n/a
 
      10th Jun 2005
I'm experimenting with various DVD-writing programs, such as
MemoriesOnTV, NeroVision etc. Typically, these open the tray when a
burn is finished. For very short tests I've been scribbling down the
time I started a run, going off to some other application like reading
my emails/newsgroups, and then noting the time when the tray opens.
But for long burns this is impractical, as I need to leave the PC and
may not get back for the completion. And in any case I'd prefer to
give the programs maximum resources.

So it would be handy to be able to automatically record the time when
my CD/DVD tray opens. Either the actual time of day (so I can manually
subtract the handwritten start time), or the elapsed time between two
events: an attended start, and an unattended finish signaled by the
tray opening.

I suppose another route would be to setup FileMon, or RegMon with a
filter of some sort to record only the required events, but I think
that might be complicated.

Anyone know of any simple utility that might do the job please?


--
Terry, West Sussex, UK

 
Reply With Quote
 
 
 
 
Conor
Guest
Posts: n/a
 
      10th Jun 2005
In article <(E-Mail Removed)>, Terry Pinnell
says...
> I'm experimenting with various DVD-writing programs, such as
> MemoriesOnTV, NeroVision etc. Typically, these open the tray when a
> burn is finished. For very short tests I've been scribbling down the
> time I started a run, going off to some other application like reading
> my emails/newsgroups, and then noting the time when the tray opens.
> But for long burns this is impractical, as I need to leave the PC and
> may not get back for the completion. And in any case I'd prefer to
> give the programs maximum resources.
>
> So it would be handy to be able to automatically record the time when
> my CD/DVD tray opens. Either the actual time of day (so I can manually
> subtract the handwritten start time), or the elapsed time between two
> events: an attended start, and an unattended finish signaled by the
> tray opening.
>
> I suppose another route would be to setup FileMon, or RegMon with a
> filter of some sort to record only the required events, but I think
> that might be complicated.
>
> Anyone know of any simple utility that might do the job please?
>

I have to ask....WHY?

--
Conor


"Be incomprehensible. If they can't understand, they can't disagree"
 
Reply With Quote
 
Terry Pinnell
Guest
Posts: n/a
 
      10th Jun 2005
Conor <(E-Mail Removed)> wrote:

>In article <(E-Mail Removed)>, Terry Pinnell
>says...
>> I'm experimenting with various DVD-writing programs, such as
>> MemoriesOnTV, NeroVision etc. Typically, these open the tray when a
>> burn is finished. For very short tests I've been scribbling down the
>> time I started a run, going off to some other application like reading
>> my emails/newsgroups, and then noting the time when the tray opens.
>> But for long burns this is impractical, as I need to leave the PC and
>> may not get back for the completion. And in any case I'd prefer to
>> give the programs maximum resources.
>>
>> So it would be handy to be able to automatically record the time when
>> my CD/DVD tray opens. Either the actual time of day (so I can manually
>> subtract the handwritten start time), or the elapsed time between two
>> events: an attended start, and an unattended finish signaled by the
>> tray opening.
>>
>> I suppose another route would be to setup FileMon, or RegMon with a
>> filter of some sort to record only the required events, but I think
>> that might be complicated.
>>
>> Anyone know of any simple utility that might do the job please?
>>

>I have to ask....WHY?


I thought that was implicit in my description. I'm making comparative
timings.

--
Terry, West Sussex, UK


 
Reply With Quote
 
Whip.Pan@gmail.com
Guest
Posts: n/a
 
      10th Jun 2005
Can you just use a keylogger type of program to do this? I dunno, I'm
just suggesting/asking.

 
Reply With Quote
 
Conor
Guest
Posts: n/a
 
      11th Jun 2005
In article <(E-Mail Removed)>, Terry Pinnell
says...

> I thought that was implicit in my description. I'm making comparative
> timings.
>

But seeing as the speed is going to be pretty much the same, again why?
Seems pretty pointless from here.


--
Conor


"Be incomprehensible. If they can't understand, they can't disagree"
 
Reply With Quote
 
Sietse Fliege
Guest
Posts: n/a
 
      13th Jun 2005
Terry Pinnell wrote:
> I'm experimenting with various DVD-writing programs, such as
> MemoriesOnTV, NeroVision etc. Typically, these open the tray when a
> burn is finished. For very short tests I've been scribbling down the
> time I started a run, going off to some other application like reading
> my emails/newsgroups, and then noting the time when the tray opens.
> But for long burns this is impractical, as I need to leave the PC and
> may not get back for the completion. And in any case I'd prefer to
> give the programs maximum resources.
>
> So it would be handy to be able to automatically record the time when
> my CD/DVD tray opens. Either the actual time of day (so I can manually
> subtract the handwritten start time), or the elapsed time between two
> events: an attended start, and an unattended finish signaled by the
> tray opening.
>
> I suppose another route would be to setup FileMon, or RegMon with a
> filter of some sort to record only the required events, but I think
> that might be complicated.
>
> Anyone know of any simple utility that might do the job please?


A bit late, so perhaps of no use any more, but anyway.

I guess that no such utility exists, so I wrote a AutoHotkey script.
You can download the zipped executable (+ script) here:
http://s19.yousendit.com/d.aspx?id=2...214GFKQ95OYTEN

--
Cheers,
Sietse Fliege

 
Reply With Quote
 
Terry Pinnell
Guest
Posts: n/a
 
      13th Jun 2005
"Sietse Fliege" <(E-Mail Removed)> wrote:

>Terry Pinnell wrote:
>> I'm experimenting with various DVD-writing programs, such as
>> MemoriesOnTV, NeroVision etc. Typically, these open the tray when a
>> burn is finished. For very short tests I've been scribbling down the
>> time I started a run, going off to some other application like reading
>> my emails/newsgroups, and then noting the time when the tray opens.
>> But for long burns this is impractical, as I need to leave the PC and
>> may not get back for the completion. And in any case I'd prefer to
>> give the programs maximum resources.
>>
>> So it would be handy to be able to automatically record the time when
>> my CD/DVD tray opens. Either the actual time of day (so I can manually
>> subtract the handwritten start time), or the elapsed time between two
>> events: an attended start, and an unattended finish signaled by the
>> tray opening.
>>
>> I suppose another route would be to setup FileMon, or RegMon with a
>> filter of some sort to record only the required events, but I think
>> that might be complicated.
>>
>> Anyone know of any simple utility that might do the job please?

>
>A bit late, so perhaps of no use any more, but anyway.
>
>I guess that no such utility exists, so I wrote a AutoHotkey script.
>You can download the zipped executable (+ script) here:
>http://s19.yousendit.com/d.aspx?id=2...214GFKQ95OYTEN


Brilliant - thank you. I'm burning a DVD at this moment, so I'll try
it tomorrow.

--
Terry, West Sussex, UK

 
Reply With Quote
 
Terry Pinnell
Guest
Posts: n/a
 
      14th Jun 2005
Terry Pinnell <(E-Mail Removed)> wrote:

>"Sietse Fliege" <(E-Mail Removed)> wrote:


>>A bit late, so perhaps of no use any more, but anyway.
>>
>>I guess that no such utility exists, so I wrote a AutoHotkey script.
>>You can download the zipped executable (+ script) here:
>>http://s19.yousendit.com/d.aspx?id=2...214GFKQ95OYTEN

>
>Brilliant - thank you. I'm burning a DVD at this moment, so I'll try
>it tomorrow.


Sietse:

I got "Error: The CD/DVD drive should contain a disc and not be
currently accessing it." Tried two separate DVD-RW discs. First was
empty (i.e. recently erased). Second was a movie I'd recorded. Each
time there was no other DVD program running. I just placed DVD in the
V: drive tray, closed it, then ran 'cdstatus v'. The message appears
after a few seconds.

--
Terry, West Sussex, UK

 
Reply With Quote
 
Terry Pinnell
Guest
Posts: n/a
 
      14th Jun 2005
Terry Pinnell <(E-Mail Removed)> wrote:

>Terry Pinnell <(E-Mail Removed)> wrote:
>
>>"Sietse Fliege" <(E-Mail Removed)> wrote:

>
>>>A bit late, so perhaps of no use any more, but anyway.
>>>
>>>I guess that no such utility exists, so I wrote a AutoHotkey script.
>>>You can download the zipped executable (+ script) here:
>>>http://s19.yousendit.com/d.aspx?id=2...214GFKQ95OYTEN

>>
>>Brilliant - thank you. I'm burning a DVD at this moment, so I'll try
>>it tomorrow.

>
>Sietse:
>
>I got "Error: The CD/DVD drive should contain a disc and not be
>currently accessing it." Tried two separate DVD-RW discs. First was
>empty (i.e. recently erased). Second was a movie I'd recorded. Each
>time there was no other DVD program running. I just placed DVD in the
>V: drive tray, closed it, then ran 'cdstatus v'. The message appears
>after a few seconds.


Sietse: A few minutes after posting that, I tried 'cdstatus t', with a
*CD* in my T: drive. No error message, and when I used Eject, up
popped the message giving me time of day.

Then I tried it with a CD in drive V: - and again it performed
perfectly.

It seems that it handles CDs, but doesn't like DVDs?

--
Terry, West Sussex, UK


 
Reply With Quote
 
Sietse Fliege
Guest
Posts: n/a
 
      15th Jun 2005
Terry Pinnell wrote:

> It seems that it handles CDs, but doesn't like DVDs?


That's when you get when you can't fully test the script, :-(
The thing is, believe it or not, I have a DVD drive, but no DVD in the house
to test with. (The drive never has seen a DVD, I'm still a pre-DVD
kind-a-guy, I guess.) LOL

I don't quite understand why the script doesn't work, though.
I would think that testing for: "The drive contains a disc but is not
currently accessing it" should give the same result, whether CD or DVD.
Anyway, I changed the script slightly, now testing for: "The drive contains
no disc, or the tray is ejected".

You can download it here:
http://s51.yousendit.com/d.aspx?id=2...Q38AADA6BBLO85

(Please read the READ ME FIRST.txt)

--
Cheers,
Sietse Fliege

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CD/DVD tray not opening Gerald Vogt Windows XP Hardware 4 3rd Sep 2007 07:14 AM
Nikon 9000 does not detect tray Daniel Masse Scanners 2 17th Jan 2007 07:34 AM
HP 8450 can't detect 4x6 paper tray Peter Johnson Printers 0 26th Mar 2006 02:33 PM
CD Tray keeps opening! Windows XP Hardware 2 19th Jan 2004 04:44 PM
Thanx purplhaz,ken--- How to detect before opening ? Johnny B Windows XP General 1 10th Dec 2003 07:28 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:40 AM.