Manage Edit Post Logout Login

Technical Notes

Documentation of fixes for programming/computing annoyances.

« Back to blog

AppleScript: Figure out the names for stuff in a window

I'm a novice at AppleScript (never bothered to learn it, and hopefully never will). One of the hardest things for me is figuring out how to refer to interface components. This StackOverflow post has a simple solution:

tell application "System Events"
    tell process "Adium"
        get entire contents of window 1
    end tell
end tell

🌟 Was this page helpful? Please let me know with this quick, 3 question survey.

Upvote Upvoted 0
Tweet
Like this post?
Subscribe by email
You're following this blog. Unfollow
Follow this Posthaven
Enter your email address to get email alerts about new posts on this site. Unsubscribe anytime.
Email address is invalid.
0 responses
Add Website URL »

by Max Masnick

www.maxmasnick.com

Follow @_technotes on Twitter

Terms of use.
Posted