Copy from clipboard and automation