You know the situation only too well: it's raining ... and it makes no difference whether you're arriving back home or leaving .. you have to get out of the car, open the gate, get back into the car, drive through the gateway ... then get out of the car again to close the gate.