save text to another pc

Get help using Construct 2

Post » Mon Dec 30, 2013 6:26 pm

how can i save text to another pc using construct 2?. What i want to do is to create a voice activated alarm system. Whenever a certain word is recognized a text file should be created and sent to the other pc . something like when text is help/set text to "help me" , Send file to IP adress 196.".".". or http address.

Would something like this be possible using ajax?.
B
23
S
3
G
6
Posts: 1,356
Reputation: 7,176

Post » Tue Dec 31, 2013 5:44 pm

Anybody got any ideas on how this can be done . Made another app with c++ that seems to work the way i want , but i want to use construct 2 .
B
23
S
3
G
6
Posts: 1,356
Reputation: 7,176

Post » Tue Dec 31, 2013 6:00 pm

This is not a Construct2 question, is it?

I guess you'd have to use PHP on a server and make the ajax call to that. I don't know anything about PHP, but I know it should be able to send a file when getting the right call. So yes you could use Ajax to make the call from construct2, but you'd need to know PHP to do anything useful with that call.
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Tue Dec 31, 2013 6:02 pm

I'm not sure you'll be able to write directly to the file system of another box but what about exploring a mailto type solution and then implementing a "collector" on the other end?!
B
9
S
3
G
1
Posts: 112
Reputation: 1,827

Post » Tue Dec 31, 2013 6:08 pm

Or as LittleStain (lol to the username) says if the other box is a hosting server pass it a function call - sorry I assumed the other system was a standard workstation.

Cheers
B
9
S
3
G
1
Posts: 112
Reputation: 1,827

Post » Tue Dec 31, 2013 8:39 pm

I want to use construct 2 as a front end and for the voice commands . Will create a php file for this and see how it goes. Thanks for the help and a happy new year to everyone at scirra.
B
23
S
3
G
6
Posts: 1,356
Reputation: 7,176


Return to How do I....?

Who is online

Users browsing this forum: Alvaro2, Hadyurik and 8 guests