Returns the shared instance representing a target application specified by the given URL.
Original signature is '+ (id)applicationWithURL:(NSURL *)url'
Available in Mac OS X v10.5 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static SBApplication ApplicationWithURL( NSURL url )
Public Shared Function ApplicationWithURL ( _ url As NSURL _ ) As SBApplication
public: static SBApplication^ ApplicationWithURL( NSURL^ url )
Parameters
- url (NSURL)
- The Universal Resource Locator (URL) locating an OSA-compliant application.
Return Value
An SBApplication subclass from which to generate a shared instance of the target application whose URL is url. 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)