Re: on launched with cocoa

2008-03-10 Thread Nir Soffer
On Mar 10, 2008, at 20:14, Mr. Gecko wrote: Well I have a global that is set in a header file. In my awakeFromNib I have it set the globals to the path of an command line tool in the applications resource Don't do this. To find an executable in your bundle, use NSBundle. For example: N

Re: on launched with cocoa

2008-03-10 Thread Mr. Gecko
Well I have a global that is set in a header file. In my awakeFromNib I have it set the globals to the path of an command line tool in the applications resource and when I run the command line tool with a function not in the same .m file I get Segmentation fault "EXC_BAD_ACCESS (SIGSEGV) K

Re: on launched with cocoa

2008-03-10 Thread Stephane Sudre
On Mar 10, 2008, at 18:28, Mr. Gecko wrote: Hello, I have done an application with applescript studio and I'm trying to make it a cocoa application I had an on launched command where it did some things and I can't seem to find a way to do an on launched with cocoa I know there is

Re: on launched with cocoa

2008-03-10 Thread John Stiles
ve done an application with applescript studio and I'm trying to make it a cocoa application I had an on launched command where it did some things and I can't seem to find a way to do an on launched with cocoa I know there is a way. I already tried - (void)awakeFromNib but I can't

on launched with cocoa

2008-03-10 Thread Mr. Gecko
Hello, I have done an application with applescript studio and I'm trying to make it a cocoa application I had an on launched command where it did some things and I can't seem to find a way to do an on launched with cocoa I know there is a way. I already tried - (void)awakeFro