So I haven't posted in a while, but I'm working on a project at school.
Basically, the projector in our school theatre has a web interface that can control the main functions. (Shutter, inputs, power, etc). THe interface has image-links in the form of http://ip/$shutter=on or something similar. (they're CGI scripts)
Basically what I'm looking to do is create windows shortcuts on the desktop of the computer that hyperlink to the functions.
I have it working so far, but I'm running into two problems.
First off, it requires authentication, it opens up a standard login dialog box(like more wireless routers do).
And secondly, it opens up a blank browser window every time you open hit the link.
So I'm looking to request the page from the server, but not bother saving or showing it.
Thanks, guys.
On linux I remember I've done something similar by running wget on the link to either a temp directory or the "black hole" directory(forgot what it's called, it's been a while)
EDIT: I just figure out that I could probably do http://USERNAME:PASSWORD@ip/whatever to get past the first problem, I'll check later tonight when I go back to school.
Basically, the projector in our school theatre has a web interface that can control the main functions. (Shutter, inputs, power, etc). THe interface has image-links in the form of http://ip/$shutter=on or something similar. (they're CGI scripts)
Basically what I'm looking to do is create windows shortcuts on the desktop of the computer that hyperlink to the functions.
I have it working so far, but I'm running into two problems.
First off, it requires authentication, it opens up a standard login dialog box(like more wireless routers do).
And secondly, it opens up a blank browser window every time you open hit the link.
So I'm looking to request the page from the server, but not bother saving or showing it.
Thanks, guys.
On linux I remember I've done something similar by running wget on the link to either a temp directory or the "black hole" directory(forgot what it's called, it's been a while)
EDIT: I just figure out that I could probably do http://USERNAME:PASSWORD@ip/whatever to get past the first problem, I'll check later tonight when I go back to school.
Last edited by TheDonkey (2010-09-30 17:11:40)