Please login or register.

Login with username, password and session length

Author Topic: How to capture Key Press with using CM19A  (Read 6744 times)

kize37

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 9
How to capture Key Press with using CM19A
« on: June 17, 2011, 02:57:59 PM »

How can I use the CM19A and have it capture key press events using a remote KR19A.

Thanks,

Todd
Logged

Noam

  • Community Organizer
  • Hero Member
  • ***
  • Helpful Post Rating: 51
  • Posts: 2818
Re: How to capture Key Press with using CM19A
« Reply #1 on: June 17, 2011, 03:14:31 PM »

I suppose you could create a macro in AHP for each button press you want to capture, and have the macro run a batch file that appends that information to a text file.
Logged

kize37

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 9
Re: How to capture Key Press with using CM19A
« Reply #2 on: June 18, 2011, 08:42:02 AM »

Thank you!

Looking for z and /as a key press when I press one of the remote buttons. This would be running in the background while I run a flash program.  Do you have an example of how to accomplish this.

Todd
« Last Edit: June 18, 2011, 10:20:04 AM by kize37 »
Logged

Noam

  • Community Organizer
  • Hero Member
  • ***
  • Helpful Post Rating: 51
  • Posts: 2818
Re: How to capture Key Press with using CM19A
« Reply #3 on: June 18, 2011, 09:44:17 PM »

There are a number of free programs (AutoIt3 comes to mind right away) which can sned a keystroke to a specific program.
Logged

dbemowsk

  • Hero Member
  • *****
  • Helpful Post Rating: 21
  • Posts: 428
    • PHP Web Scripting
Re: How to capture Key Press with using CM19A
« Reply #4 on: June 18, 2011, 09:59:02 PM »

Another program that *might* fit the bill and is configurable for a whole host of other things is AutoHotKey.  You'll have to read up on it and see if there is a way you can capture the key press.
Logged
Dan Bemowski
Owner of PHP Web Scripting LLC
Programmer of RemoteWatch X10
User of any X10 products I can get my hands on.

Noam

  • Community Organizer
  • Hero Member
  • ***
  • Helpful Post Rating: 51
  • Posts: 2818
Re: How to capture Key Press with using CM19A
« Reply #5 on: June 18, 2011, 10:17:55 PM »

Another program that *might* fit the bill and is configurable for a whole host of other things is AutoHotKey.  You'll have to read up on it and see if there is a way you can capture the key press.
THAT was the other one! (I was drawing a blank on the name - I've used both, and they both are pretty powerful utilities in the right hands)
Logged

EL34

  • Hero Member
  • *****
  • Helpful Post Rating: 21
  • Posts: 278
    • My X-10 projects
Re: How to capture Key Press with using CM19A
« Reply #6 on: June 21, 2011, 01:08:50 PM »

Auto Hot key is great.

I use it to capture button presses on USB devices that you can customize the keystrokes for each button on the USB device
Like say, a extra button on a mouse that has been programmed to create the letter X when pressed

Logged
W10 - CM15A - AHP 3.301 - i Witness - MyHouse online - Smart Macros - SDK using Visual Basic express 2008
My X10 page-> http://www.el34world.com/Misc/home/X10_0.htm

kize37

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 9
Re: How to capture Key Press with using CM19A
« Reply #7 on: June 22, 2011, 04:09:45 PM »

Thanks for the help!

Todd
Logged
 

X10.com | About X10 | X10 Security Systems | Cameras| Package Deals
© Copyright 2014-2016 X10.com All rights reserved.