/    Sign up×
Community /Pin to ProfileBookmark

Should be DEAD easy, but isn’t

It sounds so easy…

When one of my registered users visits one of my web pages, I need that web page to send a very short RS-232 command to their serial port. (i.e. The clients serial port)

This command will control a hardware device that I have supplied them. No other unauthorised visitors will see or use the page so there are no security issues. And the registered users will be fully aware that the serial command will be sent, and as such we can ask them to adjust their browser security settings, or install any software that I require them to have. – So it’s not a trick or gag – They will be expecting it.

But HOW CAN I DO IT?

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@JonaSep 29.2004 — [font=trebuchet ms]You probably ought to look into some ActiveX stuff -- it's a program that is downloaded and runs inside the web page, so when the web page is closed the applications exits and the hardware is no longer controlled. That I know of, JavaScript cannot do this -- at least, not without a lot of extra work. It gets out of JavaScript's scope.[/font]
Copy linkTweet thisAlerts:
@steven01authorSep 29.2004 — I tried to look for some ActiveX components that would support this, but unfortunately I could not find any. If anyone could reccomend anything I would be grateful.
×

Success!

Help @steven01 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...