![]() |
Setting master volume with applescript
hi everyone,
I was wondering if you could help. I would like to write an applescript (for osx 10.3 in case it matters) to increase/decrease the master volume level (the one set by f4 abd f5) by one "unit" at a time I know I can use a simple set volume #a number# but I want to increase/decrease the level with respect to its current value... I tried a few basic things but can't get it to work. any ideas? many thanks, G |
Is this what you need?
Code:
-- increase by 1 |
Exactly! Thanks a lot!
I have to admit that the syntax is a little confusing to me though...
Especially the "volume output volume" part and the fact that there is no "to" after the second "set"... any comments? Many thanks again! :) |
Yep, the lack of 'to' is somewhat out of the ordinary. One possible explanation is that there was a conflict with the terminology in a scripting addition with a similar command so someone at Apple was forced to Think Different. ;)
-- Rob |
| All times are GMT -5. The time now is 05:58 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.