Snippets ( AutoIt Audio ): Difference between revisions

From AutoIt Wiki
Jump to navigation Jump to search
No edit summary
 
mNo edit summary
Line 1: Line 1:
__TOC__
__TOC__
<div class="center" style="width:auto; margin-left:auto; margin-right:auto;">'''Please always credit an author in your script if you use their code, Its only polite.'''</div>
 
===== <blockquote style="background-color:white; padding:1em; border:2px solid #8FBC8F">''' _EnableBeepSpeaker() ~ Author - [http://www.autoitscript.com/forum/user/20477-mrcreator/ MrCreatoR] '''</blockquote> =====
{{Snippet Credit Header}}
<syntaxhighlight lang="autoit">
 
{{Snippet Header|_EnableBeepSpeaker|20477-mrcreator|MrCreatoR|||1|AutoItCode=
; Stop internal "beep" speaker
; Stop internal "beep" speaker


Line 20: Line 21:
         Sleep($iPause)
         Sleep($iPause)
EndFunc
EndFunc
</syntaxhighlight>
}}
 
===== <blockquote style="background-color:white; padding:1em; border:2px solid #8FBC8F">''' _IEclickSound() ~ Author - [http://www.autoitscript.com/forum/user/52303-djarlo/ Djarlo] '''</blockquote> =====


<syntaxhighlight lang="autoit">
{{Snippet Header|_IEclickSound|52303-djarlo|Djarlo|||1|AutoItCode=
$click = _IEclickSound() ;<= off
$click = _IEclickSound() ;<= off
_IEclickSound($click);<== restore original state
_IEclickSound($click);<== restore original state
Line 38: Line 37:
     Return $rc
     Return $rc
EndFunc  ;==>_IEclickSound
EndFunc  ;==>_IEclickSound
</syntaxhighlight>
}}
 
===== <blockquote style="background-color:white; padding:1em; border:2px solid #8FBC8F">''' _TalkOBJ() ~ Author - [http://www.autoitscript.com/forum/user/3581-erifash/ erifash] '''</blockquote> =====


<syntaxhighlight lang="autoit">
{{Snippet Header|_TalkOBJ|3581-erifash|erifash|||1|AutoItCode=
; Voice Read Text
; Voice Read Text


Line 53: Line 50:
     $o_speech = ""
     $o_speech = ""
EndFunc ;==>_TalkOBJ()
EndFunc ;==>_TalkOBJ()
</syntaxhighlight>
}}

Revision as of 00:54, 12 November 2012


Please always credit an author in your script if you use their code. It is only polite.


{{{AuthorName}}}








{{{AuthorName}}}








{{{AuthorName}}}