Re: Set Volume / Get Volume ?
Re: Set Volume / Get Volume ?
- Subject: Re: Set Volume / Get Volume ?
- From: Christopher Nebel <email@hidden>
- Date: Thu, 21 Oct 2004 17:26:40 -0700
On Oct 20, 2004, at 11:49 PM, Paul Berkowitz wrote:
On 10/20/04 10:18 PM, "Richard Morton" <email@hidden>
wrote:
Is there a newer version I should be using? If so, where can I
find it?
It's called Panther. Strangely, changes to 'set volume' and 'get
volume settings' are not documented in the Release Notes for
AppleScript 1.9.2 or 1.9.3 at
http://www.apple.com/applescript/releasenotes/ . But here's what
they look like in Standard Additions 1.9.3 (OS 10.3.2 and later)...
I'm running a standard install of 10.3.3, including Standard
Additions 1.9.3 and it doesn't include the extra commands. All I
have is:
set volume: Set the sound output volume
set volume number -- the volume level, from 0 (silent) to 7 (full
volume)
You're right. I just checked, and it seems I've got Standard Additions
1.9.4 in /System/Library/Scripting Additions.
Where'd it come from? OS 10.3.5? There's no mention of AS 1.9.4 at
<http://www.apple.com/applescript/releasenotes/>. But the modification
date is August 5, 2004, which sounds about right for 10.3.5. I wonder
what else has been updated.
Chris? Any tech notes or anything about AS 1.9.4?
Actually, the get/set volume changes are it, and yes, it was part of
10.3.5. Only Standard Additions went up to 1.9.4, since there were no
changes to AppleScript itself. Everything else is still 1.9.3. For
obscure internal reasons, the release notes didn't get posted, but that
should be fixed soonish. In the meantime, share and enjoy:
Title: Standard Additions 1.9.4 for Mac OS X - Release Notes
Standard Additions 1.9.4 for Mac OS X - Release Notes
Standard Additions 1.9.4 for Mac OS X is included with Mac OS X version 10.3.5 and requires Mac OS X version 10.3 or later.
It contains improvements to the set volume command as well as a new get volume settings command.
Note that only Standard Additions has changed in this release, the AppleScript runtime has not changed and its version number remains 1.9.3.
New Features and Enhancements
Standard Additions
A new get volume settings command has been added that returns a record containing information about the current volume settings. [3467967]
The set volume command now has four new parameters that enable the user to set the output volume, the input volume, the alert volume, and the mute setting (output muted).
The direct parameter is now deprecated. If the direct parameter is specified, all other parameters are ignored. [3563760]
Bug Fixes
Standard Additions
The set volume command now sets the volume level correctly. [3268130] [3479316]
|
|
--Chris Nebel
AppleScript Engineering
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden