MonobjcMonobjc Documented Class Library
LaunchApplicationShowIconAutolaunch Method (appName, showIcon, autolaunch)
NamespacesMonobjc.AppKitNSWorkspaceLaunchApplicationShowIconAutolaunch(NSString, Boolean, Boolean)

Launches the specified application using additional options.

Original signature is '- (BOOL)launchApplication:(NSString *)appName showIcon:(BOOL)showIcon autolaunch:(BOOL)autolaunch'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool LaunchApplicationShowIconAutolaunch(
	NSString appName,
	bool showIcon,
	bool autolaunch
)
Public Overridable Function LaunchApplicationShowIconAutolaunch ( _
	appName As NSString, _
	showIcon As Boolean, _
	autolaunch As Boolean _
) As Boolean
public:
virtual bool LaunchApplicationShowIconAutolaunch(
	NSString^ appName, 
	bool showIcon, 
	bool autolaunch
)
Parameters
appName (NSString)
The name of the application to open.
showIcon (Boolean)
If NO, the application's icon is not placed on the screen. (The icon still exists, though.)
autolaunch (Boolean)
If YES, the autolaunch default is set as though the specified application were autolaunched at startup.
Return Value
YES if the application was successfully launched or was already running; otherwise, NO.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)