good morning autoit team
please i need your help
am trying to make an program that work with hotkeys
it function is to change the volume to the current application
e.g when i select the vlc window by using this hotkey i will be able to change the vlc volume with out changing the system volume.
am able to get the process handle and the process name of the window
but when am trying to get or set the volume i does not succeded
i tried to search in this forums but
Had this code saved from somewhere in the forum, made some tweaks to allow volume to be changed with the keyboard arrows.
The only thing you have to give is a processname. Adapt to your needs.
#include-once
;https://www.autoitscript.com/forum/topic/174460-is-there-a-way-to-detect-any-sound-file-played/
;Special Thanks to Danyfirex 02/08/2015
#include <WinAPIProc.au3>
#include <Array.au3>
#include <Misc.au3>
Global Const $s