Uncreative Posted March 5, 2014 Share Posted March 5, 2014 Is there any functions currently available to have AutoIT detect a specific sound file being played/output? I did some Googling around and couldn't find any functions, so I figured maybe yall would know. Link to comment Share on other sites More sharing options...
orbs Posted March 5, 2014 Share Posted March 5, 2014 hello Uncreative, welcome to AutoIt and to the forum! in concept, two methods i can think of: 1) call the winmm.dll (Windows MultiMedia DLL), similar to demonstrated here: MSDN ref. here: http://msdn.microsoft.com/en-us/library/windows/desktop/dd743586(v=vs.85).aspx 2) monitor the specific sound file to detect when it is being accessed. try this: '?do=embed' frameborder='0' data-embedContent>> Signature - my forum contributions: Spoiler UDF: LFN - support for long file names (over 260 characters) InputImpose - impose valid characters in an input control TimeConvert - convert UTC to/from local time and/or reformat the string representation AMF - accept multiple files from Windows Explorer context menu DateDuration - literal description of the difference between given dates Apps: Touch - set the "modified" timestamp of a file to current time Show For Files - tray menu to show/hide files extensions, hidden & system files, and selection checkboxes SPDiff - Single-Pane Text Diff Link to comment Share on other sites More sharing options...
Uncreative Posted March 5, 2014 Author Share Posted March 5, 2014 hello Uncreative, welcome to AutoIt and to the forum! in concept, two methods i can think of: 1) call the winmm.dll (Windows MultiMedia DLL), similar to demonstrated here: MSDN ref. here: http://msdn.microsoft.com/en-us/library/windows/desktop/dd743586(v=vs.85).aspx 2) monitor the specific sound file to detect when it is being accessed. try this: '?do=embed' frameborder='0' data-embedContent>> Thanks, I'll check these to see if they work for what I'm thinking of. #2 sounds promising. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now