P
Pavel Pvl
is it possible to send virtual keycodes through ruby?
well i guess no one knew, or what not. but in this case, is there a
library that can do this?
I dont think all that information is necessary to help.
But I agree completely on one point - WHAT is a virtual key?
Is that a key used in an online game? Or one you would like to have on
your keyboard, but don't have?
Ben said:Sure it is.
Assuming either one is what he was asking, there's no way to give an
answer without knowing what platform you're trying to do it on.
Ben
sorry!
my internet went out, and didn't really notice because I haven't been
home. so I'm doing this off of my phone.
now first off, ill at least consider myself a newbie here, but:
when I was still toying with programming on XP, I remember VB or c++
using virtual key codes.
from my understanding, it's their system of quickly identifying and
sending key strokes. virtual there just saying whether the keys actually
exsist or not.
whell I need this towards a windows version of my app (linux ver ready)
of course unless theres a better way:
I need to tell XP to raise the volume as a system command, and possible
maybe even get the current volume.
-after long research previous, the closest thing I found was sndvol132
or something, which only loads the vol config gui. (i do have access to
XP)
http://win32utils.rubyforge.org/
It contains a library called win32-sound, which appears to be able to
set the wave output volume. It's not the master volume, but it might
help! Or you might be able to read the code and adapt it to your needs.
Cheers!
Ben
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.