yes that's the basic idea in the code. the core code like that seems to be the easy part - how are you going to;
1. listen to a USB port for certain event? what will the event look like, what will the PICBASIC code look like?
2. Write a program in Windows(7) that does the PC side of sending that 'event' down the USB cable which ultimately resets the watchdog timer etc.
Bookmarks