This content has been marked as final. Show 4 replies
Check Buddy API - it has baGetVolume() and baSetVolume() functions that
can act on the "master" volume which is what I think you're after.
thanks for your reply sean!Although, i am aware of the BudAPI, i don't really know how to decrease/increase the value of baGetVolume and set the volume appropriately. Do you have a more specific script in mind?
baGetVolume("master") will tell you what it's currently set at and
baSetVolume("master", integerValue) will set it.
-- volume control buttons
return [#myDirection: [#comment: "Alter volume up/down:", #format:
#symbol, #default: #up, #range: [#up, #down]]]
on mouseUp me
tVolume = baGetVolume("master")
case myDirection of
newVolume = min((tVolume + 10), 100)
newVolume = max((tVolume - 10), 0)
if ( newVolume <> tVolume ) then OK = baSetVolume("master", newVolume)
It is working perfecly, Again many many thanks