is there anyway to get a program to invoke a button action or a menu action immediately after starting?
how is this code called?
When the application finishes launching, you might not necessarily have a window up for you to do stuff with. Either do your action triggering in an appropriate awakeFromNib, or invoke the method directly
I created an awake from NIB method that allows me to perform things immediately after launching which is good…thanks for that.
[myButton action:nil];//did not work though.
i am not familiar with calling a controls action.
i know i can call a method like [self myMethod];
to call a buttons action is there a connection that needs to made in IB?
if so….from what item do i connect to the button?