penso che sia esattamente quello che fa al caso tuo
system() , click