TheOnlyOne Posted June 9, 2010 Share Posted June 9, 2010 (edited) hello i have found this example #include <Media.au3> MsgBox(0,"Media UDF by Svennie (sound record example)","When you click OK it starts with recording, when you press Escape it will stop recording and show a dialog to save your file.") HotKeySet("{ESC}","StopRecording") $Stop=1 Func StopRecording() $Stop=0 EndFunc $Media=_MediaCreate(6) _MediaRecord($Media) While $Stop WEnd _MediaStop($Media) $File=FileSaveDialog("","","Wave files (*.wav)")&".wav" If @error Then _MediaClose($Media) Exit EndIf _MediaSave($Media,$File) _MediaClose($Media) instead of sending it to this file it should send it over tcp the problem is that i dont know what to send the $media only produce 1 ? any help here? the media.au3 is in the attachmentsMedia.au3 Edited June 9, 2010 by TheOnlyOne 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