Oct 26, 2011, 7:47 AM
Post #1 of 3
[HELP] Perl script waiting for Key Input and sending URL until quit
I am trying to figure out how create a perl script that I can start with an argument (IP Address or Host Name) that then loops itself waiting for a Key Press.
An example would be vu [enter] and the vu would be part of a URL together with the 1st Argument.
vu for Volume up would point to a fixed string of VolumeUp.
vd for Volume down would point to a fixed string of VolumeDown.
I would define multiple of these.
The combined String would then be send from the Perl script as:
http:\\hostame or ip\VolumeUp
This should loop until a user's quits the script.
Are there any quick and dirty examples out there?