Thanks very much Roger and jr` . I thought of running it as a service but was afraid it would take a lot of resources to continue checking, and unless it checked very often , I was afraid it wouldn't be very immediate. I think I will put something in that order together for now though, until I fully grasp the page jr` linked to.
This might be a little more work than I am ready to do to avoid double clicking a desktop icon though... Thanks again, Dave -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of stelf Sent: Thursday, March 10, 2005 10:30 AM To: perl-win32-admin@listserv.ActiveState.com Subject: Re: Call on new hardware Hello David, check this article: win32 usb enumerator in perl. http://www.phreedom.org/article.php?id=43 you may find it useful. good luck. jr` [EMAIL PROTECTED] wrote: > Good morning everyone, > > > > I am writing a script for my notebook to automatically move pictures > from my USB camera card reader to the hard drive, clear the camera > card then shutdown the machine. The problem I have is I would like the > script to have the ability to automatically run when the card reader > is connected to the machine. > > > > When connected the reader creates 3 new drives on the machine ( one > for each card type ), and the proper drive is identifiable by its label. > > > > Can anyone point me in the right direction or let me know if such a > thing is even plausible? > > > > Thanks for your help, > > > > Dave > >------------------------------------------------------------------------ > >_______________________________________________ >Perl-Win32-Admin mailing list >Perl-Win32-Admin@listserv.ActiveState.com >To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs > > _______________________________________________ Perl-Win32-Admin mailing list Perl-Win32-Admin@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs _______________________________________________ Perl-Win32-Admin mailing list Perl-Win32-Admin@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs