Click to See Complete Forum and Search --> : Internet remote hardware control


domuk
08-18-2003, 07:19 AM
Hi all,

I was wondering is it was possible within Javascript to access usb, parallel, serial etc and send individual ports and signals to these ports?

I know it is possible to write a vb, c, etc program and call it from JS.

What I would like to do is read an email and with the data from the mail (with a text string) access a port (e.g. serial)and use that data to control hardware (possibly using a bank of transistors and some decoding electronics).

If this is possible, then i would be very great full if someone could give me example code or point me in the correct direction.

Thanks,

Dom..

AdamGundry
08-18-2003, 07:27 AM
Not in browser-based Javascript - any access of this kind would be an incredible security breach. You might be able to do so with code running under the Windows Scripting Host, i.e. executed directly on the computer, but I doubt it. Of course, you could probably write a program to do it and call that via WSH/JS, but it would be rather pointless.

Adam

domuk
08-18-2003, 07:40 AM
thanks again Adam,

Thaught so, just did not want to learn VB and javascript.