System information
The Cocoa scripting requirement that classes in scriptSuite actually exist in Objective-C has been relaxed. Now, if
the scriptSuite class serves as a protocol, then there's no need for the corresponding Objective-C class to exist. (r.
2807626).
Fixed problem where Scriptable Cocoa applications would leak 2-6 NSTerminologyRegistry objects for each open
document/close document pair of AppleScript commands. (r. 2796255).
The 'quoted form' property of strings now returns a valid quoted string suitable for passing to the 'do shell script'
command. Previously, the resulting string was not encoded correctly. (r. 2793920).
A problem that could cause a crash in scriptable Cocoa applications that did not include a keyAEName code ('pnam')
element in one of their class descriptions has been corrected. (r. 2785426).
Relative specifiers inside of "whose" tests are now evaluated as expected. (r. 2784592).
A problem related to the processing of queued events (events received during the execution of an Apple event
handler) has been corrected. (r. 2973719).
AppleScript enumerators in Cocoa now return the correct value when getting a subclass' property from a
superclass object. (r. 2962920).
UTF-16 to UTF-8 coercion now works as expected. (r. 2918203).
A problem where Cocoa Scripting was mishandling commands of the form "make new <class> at end." has been
corrected. (r. 2869492).
A problem where "do shell script" could fail when with non-ASCII characters in paths has been corrected. (r.
2848082).
A problem where an AppleScript attempting to send a restart command to a remote machine would cause the local
machine running the script to restart has been corrected. (r. 2840060).
A problem where Cocoa Scripting did not support copying/moving/creating one object on top of another object has
been corrected. Now, it is possible to write the following sorts of scripts for Cocoa applications: tell application
"TextEdit" to copy first word of text of front document to title of front (r. 2838745).
AppleScript now supports typeUTF8Text = 'utf8' for UTF-8 encoded Unicode text. (r. 2835411).
NSNumber<TypeCode> and NSData<...> are now valid scripting types in scripting suite command parameters and
class property declarations for Cocoa applications. (r. 2776086).
In Cocoa scripting, NSDictionarys returned to AppleScript will now be appropriately converted into Apple event
records so they can be accessed as records in AppleScripts. (r. 2480527).
In Cocoa scripting, your - (void) setX: (NSArray *)someX mutator will now be called when someX is an array. (r.
2470009).
Cocoa scripting now has support for implicitly specified AppleScript properties. Now, the following sort of script
works as expected: tell front document of application "TextEdit" to first word (r. 2243743).
Fixed a problem where osascript would truncate its output if the resulting string returned by the AppleScript it
called contained any null characters. Now the entire string is output as expected. (r. 2852985 ). .
Back to top
Audio
This section discusses changes and new features in Mac OS X 10.1 related to audio input and output.
Audio HAL
The Audio Hardware Abstraction Layer (HAL) represents the lowest level of access to audio devices, as well as the general
characteristics of the device.
HAL now provides range information to clients so that they don't have to guess about which sample rates are
actually supported by way of the new device property kAudioDevicePropertyAvailableNominalSampleRates. (r.
2832444).
HAL now provides the properties kAudioDevicePropertySubVolumeScalar,
kAudioDevicePropertySubVolumeDecibels, kAudioDevicePropertySubMute for controlling the level of iSub
speakers. (r. 2829906).
Added the device property kAudioDevicePropertyDeviceIsRunningSomewhere to AudioHardware.h . This new
property can be used to find out whether or not any given device (input and/or output) is in use by some process