new to Ruby

D

Damien Covey

Hi,
I'm new to the Ruby programming language and have a question. Hope this
is the right list. Here is my problem.
I need to generate a keypress for some keycodes, namely 146, 153, 162,
163. These are used to controll my media player and I would like to be
able to generate them in my Ruby program/script. Can someone point me
in the right direction for how to mimic this keypress? I've been
searching for the last 3 hours without success.

Regards.
 
J

Josef 'Jupp' SCHUGT

Hi!

* Damien Covey; 2003-10-19, 19:50 UTC:
I need to generate a keypress for some keycodes, namely 146, 153,
162, 163. These are used to controll my media player and I would
like to be able to generate them in my Ruby program/script. Can
someone point me in the right direction for how to mimic this
keypress? I've been searching for the last 3 hours without success.

OS?

Please take notice of signature! / Bitte Signature beachten!

Josef 'Jupp' Schugt
 
D

Damien Covey

This is a multi-part message in MIME format.
--------------010707010804010004050408
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Hi!

* Damien Covey; 2003-10-19, 19:50 UTC:



OS?

Please take notice of signature! / Bitte Signature beachten!

Josef 'Jupp' Schugt
Ahh, why do I forget to include those sorts of details.

Fedora Linux.
Ruby 1.8

Cheers

--
Damien Covey
www.covey.net.au

--------------010707010804010004050408
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Josef 'Jupp' SCHUGT wrote:<br>
<blockquote type="cite" cite="mid20031019214941.GD3585@jupp%25gmx.de">
<pre wrap="">Hi!

* Damien Covey; 2003-10-19, 19:50 UTC:
</pre>
<blockquote type="cite">
<pre wrap="">I need to generate a keypress for some keycodes, namely 146, 153,
162, 163. These are used to controll my media player and I would
like to be able to generate them in my Ruby program/script. Can
someone point me in the right direction for how to mimic this
keypress? I've been searching for the last 3 hours without success.
</pre>
</blockquote>
<pre wrap=""><!---->
OS?

Please take notice of signature! / Bitte Signature beachten!

Josef 'Jupp' Schugt
</pre>
</blockquote>
Ahh, why do I forget to include those sorts of details.<br>
<br>
Fedora Linux.<br>
Ruby 1.8<br>
<br>
Cheers<br>
<br>
<div class="moz-signature">-- <br>
Damien Covey<br>
<a href="www.covey.net.au">www.covey.net.au</a>
</div>
</body>
</html>

--------------010707010804010004050408--
 

Ask a Question

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.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,138
Messages
2,570,803
Members
47,349
Latest member
jojonoy597

Latest Threads

Top