ifelse for os detect clipboard