Refreshing main window

How would I refresh the main window, so that it would read updated preferences, etc. If I click off the app, then back on, it works, but I’d like to have a refresh button, or something.

I assume you’re not using Bindings for your preferences. Is that correct?

Correct. I did find something that appears to work for what I need:

awake from nib

Thanks!

Try:

tell window "main" to update