i'm not quite familiar with the code yet, but say i want to add a timeout thingy for the scanner lamp, normally the lamp turns off when you exit xsane, ok, but failing that would like to have a configurable timeout.... so i'll take any advice from who is already more familiar with the codes, thanks