• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
launchApplication
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: creating users programatically (From: Finlay Dobbie <email@hidden>)

  • Prev by Date: Re: NSView Examples (minus the examples)
  • Next by Date: Re: Any advantages of Unix formatting
  • Previous by thread: Re: creating users programatically
  • Next by thread: NSView Examples
  • Index(es):
    • Date
    • Thread