Extracting atoms on demand with lasers