Returns an a script command object initialized from the passed command description.
Original signature is '- (id)initWithCommandDescription:(NSScriptCommandDescription *)commandDesc'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual Id InitWithCommandDescription( NSScriptCommandDescription commandDesc )
Public Overridable Function InitWithCommandDescription ( _ commandDesc As NSScriptCommandDescription _ ) As Id
public: virtual Id^ InitWithCommandDescription( NSScriptCommandDescription^ commandDesc )
Parameters
- commandDesc (NSScriptCommandDescription)
- A command description for the command to be created.
Return Value
A newly initialized instance of NSScriptCommand or a subclass.
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)