Automatically recognize the clipboard or selected line

select_lines()