arguments
命令の引数を返します
解説
命令の引数を返します。引数がなければ、空のNSDictionaryを返します。
返り値
( NSDictionary * )
引数の辞書
引数
フレームワーク
Foundation
クラス
NSScriptCommand
Instance Methods
使用可能
10.0
参照
- setArguments:
例文
// Apple Scriptコマンド -(NSNumber *) retCommand:(NSScriptCommand *)sCommand { NSNumber * number = (NSNumber *)[[sCommand arguments] objectForKey:@"withNumber"]; NSLog([[sCommand arguments] description]); return number; }