Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to copy text message in a pop-up window like this is possible on Windows machine by making pop-up window active and then pressing CTRL+C?

share|improve this question

Not that I know of, but you can access most text elements from the accessibility API. For example this shows the prompt text in password dialogs:

tell application "System Events" to tell process "SecurityAgent" to value of UI elements of UI elements of window 1

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.