launchApplication
launchApplication
- Subject: launchApplication
- From: "Pierre d'Herbemont" <email@hidden>
- Date: Wed, 5 Sep 2001 11:13:03 +0200
Hi,
defined in NSWorkspace there is :
- (BOOL)launchApplication:(NSString *)appName
showIcon:(BOOL)showIcon
autolaunch:(BOOL)autolaunch
I tried this function there:
if(![[NSWorkspace sharedWorkspace]
launchApplication:@"/Applications/Clock.app" showIcon:NO autolaunch:YES])
NSLog(@"oho");
There was no 'oho', the App lauch, but we could see is icon and it don't
launch at startup...
Is this function working?
Pierre