MonobjcMonobjc Documented Class Library
SBApplication Constructor (ident)
NamespacesMonobjc.ScriptingBridgeSBApplicationSBApplication(NSString)

Returns an instance of an SBApplication subclass that represents the target application identified by the given bundle identifier.

Original signature is '- (id)initWithBundleIdentifier:(NSString *)ident'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public SBApplication(
	NSString ident
)
Public Sub New ( _
	ident As NSString _
)
public:
SBApplication(
	NSString^ ident
)
Parameters
ident (NSString)
A bundle identifier specifying an application that is OSA-compliant.
Return Value
An initialized shared instance of an SBApplication subclass that represents a target application with the bundle identifier of ident. Returns nil if no such application can be found or if the application does not have a scripting interface.
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.ScriptingBridge (Module: Monobjc.ScriptingBridge)