Page 1 of 1

Airfoil Volume - All Speakers: + / -

PostPosted: Tue Nov 05, 2019 3:42 pm
by Korey
How about this into python?


Code: Select all
property volume_multiplier : 1.05

tell application "Airfoil"
   set all_speakers to (get every speaker)
   repeat with this_speaker in all_speakers
      set curr_volume to get volume of this_speaker
      set (volume of this_speaker) to (curr_volume * volume_multiplier)
      if (volume of this_speaker) is 0 then set (volume of this_speaker) to 0.1
   end repeat
end tell

Re: Airfoil Volume - All Speakers: + / -

PostPosted: Tue Nov 05, 2019 3:49 pm
by FlyingDiver
Why bother? Just make it an external script.

Re: Airfoil Volume - All Speakers: + / -

PostPosted: Sun Dec 08, 2019 4:29 pm
by Korey
FlyingDiver wrote:
Why bother? Just make it an external script.


True!

For some reason I thought we had to abandon AppleScript completely. :oops:

Another 50 scripts to save as externals and I can move up to 7.4. :shock: