Answer the question
In order to leave comments, you need to log in
Media Key Events in AppleScript?
I want to optimize the volume control in Mavericks a little, therefore the question raised in the topic arose. The information on how to request the current volume level using AppleScript will also help.
Thank you in advance.
Answer the question
In order to leave comments, you need to log in
(*
volume 7 == 100%
*)
Terminal.app
osascript -e "set volume 7"
osascript -e "get (output volume of (get volume settings))"
AppleScript Edittor.app
get (output volume of (get volume settings ) ))
set volume 7
Set the volume from 1 to 7, get the value as a percentage.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question