Applescript studio - how do I get every control in a window

Posted by stib on Stack Overflow See other posts from Stack Overflow or by stib
Published on 2010-03-24T00:20:59Z Indexed on 2010/03/24 0:23 UTC
Read the original article Hit count: 639

I'm trying to enable or disable all the control in a window as the programme changes from interactive to non-interactive mode. How can I ask a window to give me all its contents?

every control of window "mainWindow"

doesn't work, nor does

contents of window "mainWindow"

Actually, I haven't been able to find any good documentation for interacting with menu items from interface builder at all. Things like how to set the contents of popups, and buttons and so on.

thanks

© Stack Overflow or respective owner

Related posts about applescript-studio

Related posts about interface-builder