Check boxes suddenly undefined


I’ve been working on an update to my Applescript Studio application RarMe and have suddenly found that everything has stopped working. Unfortunately I’m not sure exactly when this happened. With almost every switch (check box) I use I get an error saying “The variable soandso is not defined (-2753)”. I am defining them, though. I set each variable like this:

global case_popup

on awake from nib theObject
	set case_popup to ""
end awake from nib

This always worked before, but suddenly it doesn’t. I’ll happily provide my source to anyone who might be able to help… as long as they promise not to point out too many flaws in it :stuck_out_tongue:

Thanks in advance… Edward Castle

Oops. Found what the problem was. And I was so sure I’d checked this… I’d accidentally changed the script that the “awake from nib” was associated with in IB. Never mind…

Best regards… Edward Castle

Welcome to the forum, Edward! :wink: