I don't understand why an object would change its id from run to
run - I've
never seen that. However, there's is an easy solution. Assign the
buttons a
tag (in Interface builder). This is the standard Cocoa way to give
an object
an identifier. Of course alternatively you could just examine the
button's
title instead of its id, but this is less elegant, since a title might
change in the course of development, and it might be localized. m.
If he is dynamically creating buttons they might change ids.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-studio mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-studio/email@hidden