set theDict to call method "dictionaryWithCapacity:" of class
"NSMutableDictionary" with parameter {10}
call method "setObject:forKey:" of theDict with parameters {"hello",
"hey"}
set theDescription to call method "description" of theDict
log theDescription -- the result of this log statement is "()"
Are there anyone to success using NSMutableDictionary in AppleScript ?
Is there a sample code of NSMutableDictionary for AppleScript studio ?
I'm very very new to AppleScript Studio so this may be nonsense but
does passing "parameters {"hello", "hey"}" automatically cause the
creation of NSStrings from "hello" and "hey"? setObject:forKey:
requires both parameters to be Cocoa objects.