Sign in to follow this  
Followers 0
ConsultingJoe

Remote Speaker

5 posts in this topic

#1 ·  Posted (edited)

I think this is very cool. I plan to mess with my English teacher with this.

Basicly it uses the same method of checking and clearing the info file but uses the GET method instead of post so you can write the phrase in the browser directly. For example:

http://YOURSITE.t35.com/talk.php?talk=Is+this+cool+or+what

Here is the talk.php

<?
if($_GET['talk']==1){
echo ("FILE CLEAR");
$fp = fopen("com.con", "w");
fwrite($fp, "");
fclose($fp);
}else{
$fp = fopen("com.con", "w");
$talk = $_GET['talk'];
fwrite($fp, $talk);
fclose($fp);
}
?>
<body bgcolor = "black">
<center>
<font color="RED">
<b><H2>
COMPLETE
</font>
</B></H2>
</body>

The best thing about it is: NO FTP :lmao:

It is very fast also.

Thank You to El-Trucha for his _talk()

Anyways without further delay I present talk.au3

HotKeySet ( "{ESC}",  "e")
;AutoItSetOption ( "TrayIconHide", 1 )
While 1
InetGet ( "http://YOURSITE.t35.com/com.con", "temp.html", 1)
sleep(100)
$read = FileRead ( "temp.html")
if $read <> "" Then
InetGet ( "http://YOURSITE.t35.com/talk.php?talk=1", "", 1)
_Talk($read)
endif
sleep(100)
Wend
func e()
exit
endfunc

Func _Talk($sText)
    $tempFile = @TempDir & '\talktemp.vbs'  ; Set the temp file
    FileWriteLine($tempFile, 'Dim Talk' & @CRLF & _
    'Set Talk = WScript.CreateObject("SAPI.SpVoice")' & _
    @CRLF & 'Talk.Speak "' & $sText & '"'); Add contents to the temp file
    RunWait('Wscript.exe talktemp.vbs', @TempDir); Run the VBScript
    FileDelete($tempFile)
EndFunc

Run this script and click here

Warning, if too many people are running it at the same time you will hear other peoples commands through my php it will not have any affect on you computer though.

Let Me Know What You Think

Edited by zerocool60544

[center]AutoIT + Finger Print Reader/Scanner = COOL STUFF -> Check Out Topic![/center][center][font=Arial Black]Check out ConsultingJoe.com[/font][/center][center]My Scripts~~~~~~~~~~~~~~Web Protocol Managing - Simple WiFi Scanner - AutoTunes - Remote PC Control V2 - Audio SpectrascopePie Chart UDF - At&t's TTS - Custom Progress Bar - Windows Media Player Embed[/center]

Share this post


Link to post
Share on other sites



neat :lmao:


AutoIt Console written in C#. Write au3 code right at the console :D_FileWriteToLineWrite to a specific line in a file.My UDF Libraries: MySQL UDF Library version 1.6 MySQL Database UDF's for AutoItI have stopped updating the MySQL thread above, all future updates will be on my SVN. The svn location is:kan2.sytes.net/publicsvn/mysqlnote: This will still be available, but due to my new job, and school hours, am no longer developing this udf.My business: www.hirethebrain.com Hire The Brain HireTheBrain.com Computer Consulting, Design, Assembly and RepairOh no! I've commited Scriptocide!

Share this post


Link to post
Share on other sites

neat :lmao:

Thanks, I have already had some fun conversations with people, LOL

[center]AutoIT + Finger Print Reader/Scanner = COOL STUFF -> Check Out Topic![/center][center][font=Arial Black]Check out ConsultingJoe.com[/font][/center][center]My Scripts~~~~~~~~~~~~~~Web Protocol Managing - Simple WiFi Scanner - AutoTunes - Remote PC Control V2 - Audio SpectrascopePie Chart UDF - At&t's TTS - Custom Progress Bar - Windows Media Player Embed[/center]

Share this post


Link to post
Share on other sites

haha, yeah i was just talkin to somone... not sure who it was :lmao:


AutoIt Console written in C#. Write au3 code right at the console :D_FileWriteToLineWrite to a specific line in a file.My UDF Libraries: MySQL UDF Library version 1.6 MySQL Database UDF's for AutoItI have stopped updating the MySQL thread above, all future updates will be on my SVN. The svn location is:kan2.sytes.net/publicsvn/mysqlnote: This will still be available, but due to my new job, and school hours, am no longer developing this udf.My business: www.hirethebrain.com Hire The Brain HireTheBrain.com Computer Consulting, Design, Assembly and RepairOh no! I've commited Scriptocide!

Share this post


Link to post
Share on other sites

haha, yeah i was just talkin to somone... not sure who it was :lmao:

lol, it was probly me. anyways I just updated the php

<?
if($_GET['talk']==1){
echo ("FILE CLEAR");
$fp = fopen("com.con", "w");
fwrite($fp, "");
fclose($fp);
}else{
$fp = fopen("com.con", "w");
$talk = $_GET['talk'];
fwrite($fp, $talk);
fclose($fp);
}
?>
<body bgcolor = "black">
<center>
<form action="talk.php" method="get">
<font color="red">
Enter Text to Talk<BR>
<input name="talk" type="text" size=14><BR>
<input type="submit" value="Talk"><BR><BR>
<blink>Writen by:<BR>jsammarco@gmail.com</font></blink>
<BR><BR><BR>
</center>
</form>
</html>nk>Writen by:<BR>jsammarco@gmail.com</font></blink>
<BR><BR><BR>
</center>
</form>
</html>

[center]AutoIT + Finger Print Reader/Scanner = COOL STUFF -> Check Out Topic![/center][center][font=Arial Black]Check out ConsultingJoe.com[/font][/center][center]My Scripts~~~~~~~~~~~~~~Web Protocol Managing - Simple WiFi Scanner - AutoTunes - Remote PC Control V2 - Audio SpectrascopePie Chart UDF - At&t's TTS - Custom Progress Bar - Windows Media Player Embed[/center]

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0