sentences:  After some uncertainty about the future of AppleScript on Apple's next generation OS, the move to Mac OS X (around 2002) and its Cocoa frameworks greatly increased the usefulness and flexibility of AppleScript.Cocoa applications allow application developers to implement basic scriptability for their apps with minimal effort, broadening the number of applications that are directly scriptable.At the same time, the shift to the Unix underpinnings and AppleScript's ability to run Unix commands directly, with the codice_1 command, allowed AppleScripts much greater control over the operating system itself.