Contents

applicationWithBundleIdentifier:

Returns the shared instance representing the target application specified by its bundle identifier.

Declaration

+ (SBApplication *) applicationWithBundleIdentifier:(NSString *) ident;

Parameters

  • ident:

    A bundle identifier specifying an application that is OSA-compliant.

Return Value

An instance of a SBApplication subclass that represents the target application whose bundle identifier is ident. Returns nil if no such application can be found or if the application does not have a scripting interface.

Discussion

For applications that declare themselves to have a dynamic scripting interface, this method will launch the application if it is not already running.

See Also

Related Documentation

Getting a Scriptable Application Instance